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 AiX > 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 toLeft menu > Settings > More system settings
, then go toAccounts > WhatsApp accounts > Settings
and clickWhatsApp Manager
. - In
Template languages
enter all the language codes supported by your template, separated by commas. If a language is not found the fist language code is used instead. Language codes list here (copy only the language code, e.g. it, es, en_US). - In
Header parameters
andBody parameters
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.
Send template messages to a user who has not contacted you before
- In
AiX > Settings > WhatsApp > Cloud API settings > Business Account ID
enter yourBusiness Account ID
. Provide yourBusiness Account ID
, which can be obtained from https://developers.facebook.com. Choose your app and go toLeft menu > WhatsApp > API Setup
. - To send the template to specific users, go to the AiX Users section and choose the intended recipients. Then, click on the WhatsApp icon located at the top right corner.
- If you are utilizing Twilio and have parameters in your template, please input the parameter values separated by commas in the
Body
section. - For more details click here.
Twilio
Enter the template code into AiX > Settings > WhatsApp > Template fallback
If you’re using the Twilio sandbox for testing you can use pre-approved templates like Your{{1}}
code is {{2}}
, you can replace the variables with the AiX ones like {recipient_name}
, for example, Your{recipient_name}
code is{recipient_email}
. More details here.
PREVIOUS < 360Dialog Account Setup
NEXT > Language Codes