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 ​

ActionKeyLabel
View and previewplatform.sms_template.viewSMS Template - View
Edit templates and manage custom templatesplatform.sms_template.updateSMS Template - Update

Fields ​

FieldDescription
SubjectE-mail only
TextThe message text, with variables such as , and
Approved WhatsApp templateThe 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 ​

  1. Choose the template. You can filter by Channel.
  2. 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).
  3. Select Save, or Save and preview to see the message with sample values.
  4. To drop your changes and go back to the standard text, select Use standard text.

Custom template ​

  1. Select New custom template.
  2. Enter the Key (it starts with custom., for example custom.offer) and both names. Choose the Category: Marketing (sent to consenting recipients only) or Transactional.
  3. Enter the allowed Variables, separated by commas.
  4. 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 ​

MessageCauseWhat to do
The template uses an unknown variable: {variable}.The variable isn't in the template's listUse the variables shown
The template text is not valid.Invalid syntax, such as an unclosed braceCorrect the text
Custom template keys start with "custom." followed by lower-case letters, digits or underscores.Invalid keyCorrect the key
The template is used by a trigger or a bulk send.You tried to delete a template that's in useChange the trigger first