On this page
Message templates
Purpose
Every message has an Arabic and an English template for each channel. You can edit the text of any standard template, and add custom templates for bulk sends (MS3).
Open the screen
- Menu: Messaging → Message templates.
- Route:
/msg/templates
Required permissions
| Action | Key | Label |
|---|---|---|
| View and preview | platform.sms_template.view | SMS Template - View |
| Edit templates and manage custom templates | platform.sms_template.update | SMS Template - Update |
Fields
| Field | Description |
|---|---|
| Subject | E-mail only |
| Text | The message text, with variables such as , and |
| Approved WhatsApp template | The name of the template approved at Meta. Required for WhatsApp messages the company starts more than 24 hours after the customer's last message |
| Text type (column) | Standard, Changed or Custom |
The variables allowed in each template appear at the top of the edit dialog. You can't save text that contains an unknown variable or invalid syntax.
Work with templates
Edit a template's text
- Choose the template. You can filter by Channel.
- Edit the Text. For SMS, the character count and the number of message parts are shown. An Arabic message fits 70 characters in a single part (67 per part when split); an English message fits 160 (153).
- Select Save, or Save and preview to see the message with sample values.
- To drop your changes and go back to the standard text, select Use standard text.
Custom template
- Select New custom template.
- Enter the Key (it starts with
custom., for examplecustom.offer) and both names. Choose the Category: Marketing (sent to consenting recipients only) or Transactional. - Enter the allowed Variables, separated by commas.
- Enter the text for each channel and language you need (empty fields aren't saved), then select Save.
You can't delete a template that's used by a trigger or a bulk send.
Common error messages
| Message | Cause | What to do |
|---|---|---|
| The template uses an unknown variable: {variable}. | The variable isn't in the template's list | Use the variables shown |
| The template text is not valid. | Invalid syntax, such as an unclosed brace | Correct the text |
| Custom template keys start with "custom." followed by lower-case letters, digits or underscores. | Invalid key | Correct the key |
| The template is used by a trigger or a bulk send. | You tried to delete a template that's in use | Change the trigger first |