WhatsApp and notifications
The platform sends messages to families, leads and staff by WhatsApp or email. Every message has an editable text (a template), and every send is recorded. This page shows how to connect WhatsApp, choose the channel for each kind of message, and edit the texts.
Before you start
- Initial setup is done, especially the academy details and the mail accounts.
- You need the settings permissions (Admin). Editing message texts needs the template permissions (Admin by default).
- WhatsApp goes through the academy's WhatsApp bot server. You need its address and API key.
Connect the WhatsApp bot
System → WhatsApp settings
- Base URL: the bot server's address (starts with
http://orhttps://). - API key: the key of the bot server, if it has one.
- Default group admin: the phone number that sends to WhatsApp groups (digits, with or without
+). - Save, then press Bot status.
System → WhatsApp status shows one of: not configured, server unreachable, not linked, or connected.
- Not linked: scan the QR code shown on the page with the WhatsApp phone (WhatsApp → Linked devices). Only users who may change settings see the QR code.
- Connected: the page lists the WhatsApp groups the bot can see, with each group's ID. You can copy an ID from here into a family's settings.
- Send test message sends a message right away to a number or a group.
- Log out unlinks the phone. Messages stop until someone scans a new QR code.
TIP
The saved API key and admin number are never shown again. Leave the field empty to keep them. Changing the Base URL clears the API key, so type it again.
Senders and rotation
System → WhatsApp senders keeps the list of sending accounts in order, and which one is Current.
- Add a sender with its label, Instance ID, Client ID, secret and Admin number. The first one becomes current.
- Use now makes a sender current. Rotate now moves to the next one in order.
- In WhatsApp settings, the rotation setting can move to the next sender automatically every hour, every day (00:00 UTC) or every week (Sunday 00:00 UTC), or never.
WARNING
For now the platform sends through the bot set in WhatsApp settings; the sender list only keeps the rotation order. Sending through each sender's own account comes when the bot connection is finalised.
Choose the channel for each message
By default, a family gets messages on the channel chosen in its own settings (WhatsApp or email), and staff get email.
System → Notification channels lets you override this per kind of message:
| Choice | Effect |
|---|---|
| Family preference | use the family's (or lead's) own channel; email for staff |
| always WhatsApp | |
| always email | |
| Disabled | do not send this message at all |
Edit the message texts
Communication → Notification templates lists every message, once per channel (WhatsApp and email).
- Open a template.
- Change the Text (and the subject, for email). The list of variables on the page shows what you can insert, for example
{family_name}or{set_password_url}; click one to copy it. - Press Preview to see the message filled with sample data, as typed, even before saving. The preview shows the English message and, under it, the Arabic one; when the Arabic text is empty, the Arabic part says that Arabic recipients get the English text.
- Save. Only the listed variables are accepted.
The Arabic text. Every template also has an Arabic text section, sent to recipients whose language is Arabic. Every message the platform sends comes with a ready-made Arabic text, with the same variables as the English one; you only need to change it if you want other wording. If you clear it on purpose, the platform does not fill it again.
- Open the template. While the Arabic text is empty, the section shows The Arabic text is missing, and the Arabic column of the list shows a warning sign for that template.
- Write the Arabic text (and the Arabic subject, for email), with the same variables as the English text.
- Save. The warning disappears, and recipients whose language is Arabic now get this text.
WARNING
An Arabic email text needs an Arabic subject, and the Arabic text accepts only the listed variables, like the English one. Until you write it, Arabic recipients get the English text.
To stop a message on one channel, deactivate its template. Nothing is sent on that channel until you activate it again.
Messages the platform sends today
| Message | When | To | Channel |
|---|---|---|---|
| Staff invitation | a staff member is created, or Resend invite is pressed | the staff member | |
| Lead welcome | Send welcome email on a lead | the lead | email, or WhatsApp if the channel setting says so |
| Family account created | a new family is saved | the family | the family's channel |
| Family status changes (made regular, suspended, unsuspended, on leave, back from leave, deactivated, reactivated) | a status change with Notify family ticked | the family | the family's channel |
| Follow-up due today | each morning, for follow-ups due that day | the follow-up's author (or the family's account manager) | the bell in the admin panel |
| Referral received | a guardian refers a friend | staff who see all leads | the bell in the admin panel |
| Schedule request | a schedule request is sent | each candidate teacher | the teacher's channel |
| New teacher schedule | a teacher is chosen on a schedule request | the chosen teacher | the teacher's channel |
| Session activated | the teacher activates a class, for families with Notify when a class starts on; holds the join link | the family | the family's channel |
| Teacher late alert | a class started and the teacher has not activated it after Teacher late alert after minutes (once per class) | the teacher | the teacher's channel |
| Waiting reminder | the class time started, the teacher is waiting and the student has not joined (once per class); holds the join link | the family | the family's channel |
| Student absent | the teacher marks the student Absent | the family | the family's channel |
| Lesson summary | the teacher completes a class | the family | the family's channel |
| Reschedule request received | a teacher asks to move a class | staff who may decide change requests | the bell in the admin panel |
| Reschedule request decided | staff approve or reject a teacher's request, or move the class directly | the teacher | the teacher's channel |
| Session dispute resolved | staff accept or reject a guardian's dispute | the family | the family's channel |
| New invoice | a monthly invoice is generated, or staff send an invoice with the Invoice message | the family | the New invoice channel setting, else the family's channel |
| Payment link | staff send an invoice with the Payment link message | the family | the channel staff pick, else the Payment link channel setting, else the family's channel |
| Invoice reminder | staff send a reminder for an unpaid invoice | the family | the Invoice reminder channel setting, else the family's channel |
| Hour package used up | a family's hour package is used up; holds the invoice of the next package | the family | the family's channel |
| Progress report awaiting approval | a teacher sends a monthly report | staff who may approve reports | the bell in the admin panel |
| Progress report approved | staff approve a report | the family | the family's channel |
| Progress report rejected | staff reject a report, with a note | the teacher | the teacher's channel |
| Test result | the examiner saves the marks of a test | the family | the family's channel |
| Certificate | staff press Send to family on a certificate | the family | the channel staff pick, else the family's channel |
| Leave request | a member of staff asks for leave | staff who may decide it (HR, admins, the person's manager) | the bell in the admin panel |
| Leave request decided | staff approve or reject a leave request | the staff member | the staff member's channel |
| Complaint answered | staff close a complaint with their reply | the family | the Complaint answered channel setting, else the family's channel |
| New task, reply on a task | a task is assigned to you, or the other side replies | the person the task waits for | the bell in the admin panel (teachers: their portal) |
| New teacher note, reply to your note | a teacher writes a note, or staff reply to it | the note's addressee, or the teacher | the bell in the admin panel (teachers: their portal) |
The two class reminders can be switched off in Operations settings. The link in the invoice messages opens a payment page where the family can pay without signing in (Pay from a message link). When a payment is confirmed, the family gets a Payment received message.
Rules to know
- WhatsApp messages to a family go to the family's WhatsApp group; email goes to the family's email address.
- WhatsApp messages to a teacher go to the WhatsApp group set on the teacher's staff record; email goes to the teacher's account email.
- If a message cannot be delivered (no address, bot offline), it is recorded as failed and can be resent from the message log. The action that triggered it still completes.
- A switched-off template sends nothing and records nothing.
- All messages are sent in the background, a few seconds after the action.
- Staff and teachers can also send a message to a family by hand (Send a message to a family). It goes on the channel the sender picks; the template switches and channel settings do not apply to it.
- Every message goes out in the recipient's language: a user in their own language, a family in its Language of notifications, or, when that is empty, the guardian's portal language (Create a family), and a lead in the Default language. With no language set, the Default language is used. A template without an Arabic text sends the English text.
- In an Arabic message, the dates and the values the platform fills in (lesson summary, test marks, schedule) are in Arabic too, and an Arabic email reads right to left.
- The notifications inside the admin panel (a new task, a note, a leave request, a change request …) arrive in the language of the staff member who receives them.
Not available yet
- There is no screen to add new kinds of messages; they come with the parts of the platform that need them.