🟢 Handling WhatsApp Messaging and Templates in OmniChat

šŸ“š This tutorial covers WhatsApp’s policy on messaging, including response times, sending templates, and fallback options. Learn to configure message templates, manage notifications, and comply with WhatsApp’s business regulations.

šŸ’” PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

Navigate WhatsAppā€™s messaging policies and template management in OmniChat with this comprehensive guide. Learn how to send compliant messages, set up text message fallbacks, manage templates through WhatsApp Cloud API, and configure integrations with Twilio and 360dialog.

As forĀ WhatsApp Business Policy, you cannot send outbound marketing and solicitation messages to end users. End user users must reach out to you first. You have 24 hours from when the end user’s message was sent from WhatsApp to reply to the message. To communicate with a user who has not contacted you before or has not been in touch for more than 24 hours, you must opt for the text message fallback or the WhatsApp message template.

Text message fallback

To enable the text message fallback you must set up the SMS inĀ Settings > Notifications > Text message notifications.
More detailsĀ here.

WhatsApp message templates

A WhatsApp message template is a message format that you can use over and over again to message users once they have opted-in and given your app permission to send them messages. You can not Enter the original message into the template, you must use it to notify the user of a new message and instruct him on how to view it, for example by providing a link to your website where the chat is shown.

WhatsApp Cloud API

  • To get theĀ Template nameĀ and manage the templates visitĀ https://business.facebook.comĀ and go toĀ Left menu > Settings > More system settings, then go toĀ Accounts > WhatsApp accounts > SettingsĀ and clickĀ WhatsApp Manager.
  • InĀ Template languagesĀ enter all the language codes supported by your template, separated by commas. Language codes listĀ hereĀ (copy only the language code, e.g. it, es, en_US). If you use a template that supports multiple languages, the matching language for the user will be automatically selected. Otherwise, the default template language will be used.
  • InĀ Header variablesĀ andĀ Body variablesĀ enter the supported merge fields separated by commas, e.g. {recipient_name}, {conversation_url_parameter}. The number of parameters entered here must match the number of parameters of the template. Use this feature if your template uses dynamic values. Order is important, the first merge field will be used as the first template parameter.
  • InĀ Button variablesĀ enter the link of your custom buttons, or the text of the quick replies with prefixĀ quick_reply_, e.g. quick_reply_abcde. Each value must be separated by a comma.

Template fallback

Set the WhatsApp template sent as fallback fromĀ Settings > WhatsApp > Cloud API template fallback.

Send template messages to a user who has not contacted you before

  • InĀ Settings > WhatsApp > Cloud API settings > Business Account IDĀ enter youĀ Business Account ID. Provide yourĀ Business Account ID, which can be obtained fromĀ https://developers.facebook.com. Choose your app and go toĀ Left menu > WhatsApp > API Setup.
  • To send the template to specific users, go to the OmniChatĀ UsersĀ section and choose the intended recipients. Then, click on the WhatsApp icon located at the top right corner.
  • If you are using the WhatsApp Cloud API with a template that supports multiple languages, the matching language for the user will be automatically selected. Otherwise, the default template language will be used.
  • If you are using Twilio and have parameters in your template, input the parameter values separated by commas in theĀ BodyĀ section.
  • For more details clickĀ here.

Twilio

Enter theĀ Template SIDĀ and the template attributes separated by commas intoĀ OmniChat > Settings > Twilio template.

360dialog

  • Get theĀ NamespaceĀ value fromĀ Left menu > WhatsApp accounts > Details.
  • GetĀ Template nameĀ andĀ Template default languageĀ from your 360dialog templates area.
  • InĀ Custom parametersĀ Enter the supported merge fields separated by commas, example: {recipient_name}, {conversation_url_parameter}. Use this feature if your template uses dynamic values. Order is important, the first merge field will be used as the first template dynamic value.
  • OmniChat will try to use the template with the same language as the user, if it is not available, it will use the template with the default language. The following template languages are not compatible: en_GB(use en_US), pt_PT(use pt_BR), zh_HK and zh_TW(use zh_CN), es_AR and es_MX(use es_ES).

For more details, you can ask the AI here.

If you have additional doubts, remember that you can always contact us.