Creating WhatsApp scenario messages
Once your template has successfully passed moderation, you can create a scenario message based on it. To do this, go to Mailings ➔ Messages and select “Create scenario message”.
In the scenario message wizard, you need to select a template, fill in the content variables and provide links to attachments.
When creating a message, fill in the three sections of the settings.
Message name
You can use any characters you like. The name is necessary so that you can find the desired message in the list or select it in the scenario.
Selecting a template
Only confirmed WhatsApp templates are available. After selection, you need to fill in the content variables if you used them when creating the template, as well as links to images, videos or document for media templates. In the variables you can substitute:
- any text
- personalisation tags (contact information, data field values)
To use personalisation tags in variables, open the dynamic content manager, click on the required field and the DC will be inserted in the place where your cursor was.
Tags
A WhatsApp channel scenario message is a message just like an email, text or push. You can attach tags to it to use them to filter your list of messages.
Testing messages
To check if dynamic content is displayed correctly, you can test your post:
- Send the test to the phone number your WhatsApp account is linked to
- Generate a preview using a phone number that is in the enKod database
The test is available only after selecting the template and filling in the variables
If you have problems with test sending, make sure that:
- the WhatsApp integration (under Settings ➔ EnKod Integrations) is active, the number is not blocked in WhatsApp Business Manager and is fully registered in 360dialog
- the required custom field values of the contact to whom you want to send the test message are filled in for output
WhatsApp in scenarios (sending messages)
After creating a WhatsApp message, you can select it in the message sending block in scenarios. Messages in “Active” and “Inactive” statuses are available for selection. Read more about scenarios in this section of the knowledge base.
Sending WhatsApp messages out of scenario
When your template has been successfully moderated, you can also send WhatsApp messages off-scenario. To do so, go to Mailings ➔ Messages and select “Create message”.
Currently available ways to send:
- instant messaging
- scheduled messaging
- by API (you can see the description of the method for sending in our API documentation
The process of completing the message is identical to the one described in section “Creating WhatsApp scenario messages”.
You can also send WhatsApp message templates to a specific contact:
- with whom you have already opened a dialog once, from Mailings → WhatsApp dialogs.
- whose phone number is stored in the enKod contact database: Mailings → WhatsApp dialogs → Find Contact. The phone number of a contact from the database is searched only by full match: to find a contact with whom a dialog has not yet been opened, enter the full phone number correctly. An incomplete match will find contacts with whom a dialog has already been opened. When you create a dialog, all events of messages sent to this contact up to the current moment (if any) will be displayed.
Please note, if there are buttons in the template you send - they will be displayed unclickable for you in the dialogs, only the recipient can click on them.