WhatsApp notification templates can be sent directly from the bot. This can done either with an API call or by means of a special syntax directly in the bot-answer.
Syntax
__NOTIFICATION
template_name
__BODY_VARIABLES
bodyvar1_value
bodyvar2_value
__BUTTON_VARIABLE
buttonvar_value
__LANGUAGE
notification_languagecode
Please keep in mind the following aspects:
- __NOTIFICATION and __LANGUAGE are required parameters
- Should you wish to send a template that includes a placeholder for a media file, upload the media directly in the bot-dialogue (see example below)
- You can find a list of language codes here
Here is an example
