Creating Message Templates

Message Templates are created in the WhatsApp Manager, which is part of your WhatsApp Account in the Facebook Business Manager. Your Message Templates will be reviewed to ensure they do not violate WhatsApp policies. Once approved, your business will have its own namespace where the Message Templates will live.

This document covers:

Creation

When creating a Message Template, you must have the following:

  1. Message Template name — Can only contain lowercase alphanumeric characters and underscores ( _ ). No other characters or white space are allowed.
  2. Message Template in the correct format — Should be a string where the variables are replaced with {{#}} where the number represents the variable index. Note: Variables must begin at {{1}}.
  3. All other translations your business desires

See Set up Message Templates for your WhatsApp Account for more detailed steps for creating Message Templates.

Examples

Creating a welcome message where the Message Template name is welcome and the message is

  "Welcome {{1}}. We look forward to serving you on WhatsApp." 

Creating an order confirmation message where the Message Template name is order_confirmation and the message is

  "Your order {{1}} for a total of {{2}} is confirmed. The expected delivery is {{3}}." 

Translations

WhatsApp will not do any translations for your business. All Message Template translations must be entered by you in the same format as above. The element name will be the same for all translations. When sending a Message Template from the WhatsApp Business API, you will specify the language you would like the Message Template to display by using the language field. See the Sending Message Templates — Lanugages documentation for more information.

If you are planning to support more than one language, you need to provide translations for all supported languages for all elements.