WhatsApp message templates

Create, submit and manage WhatsApp templates so your business can start conversations, such as order updates, and send them from the dashboard, API or CLI.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

WhatsApp only lets a business start a conversation with an approved template. A template is a message with fixed text and numbered variables. Use templates for order updates, appointment reminders and follow-ups. After the customer replies, the agent can answer in free text.

Before you start

  • WhatsApp connected to the agent. See WhatsApp.
  • A clear purpose for each template, such as "Order shipped".

Create a template

  1. Open the agent and select Channels > WhatsApp.
  2. Select Templates and then Create template.
  3. Enter a Name in lowercase letters and underscores, such as order_update.
  4. Choose the Language.
  5. Choose the Category: Utility for updates about something the customer did, or Marketing for promotions.
  6. Write the Body and add variables with numbers in double braces.
  7. Add example values for each variable.
  8. Select Submit for approval.

A body can look like this.

Hi {{1}}, your order {{2}} has shipped. Reply here if you need help.

You should see the template in the list with the status Pending.

Template statuses

Status Meaning
Draft Saved but not submitted.
Pending Submitted and waiting for review.
Approved Ready to send.
Rejected Not approved. The reason is shown. Edit and submit again.

Only Approved templates can be sent. Review takes time, so create templates before you need them.

Write templates that get approved

  • Say what the message is about in the first line.
  • Use variables for names, order numbers and dates, not for whole sentences.
  • Keep marketing and utility content in separate templates.
  • Give realistic example values.

Send a template

  • From the dashboard, open a contact and choose Send template.
  • From a script, use the API. See WhatsApp API.
  • From a terminal, use octo whatsapp send. See octo whatsapp.

Note: Mission runs on WhatsApp also start with a template. Create one for each mission you plan. See Missions.

Troubleshooting

  • A template is rejected. Read the reason, simplify the text and submit a new version.
  • The template is missing from a send. Only Approved templates are listed. Check the status.
  • Variables show as braces. Pass one value for every variable number in the body.

Something unclear or missing? Tell us and we will fix the page.