In this article, we will create a chatbot that uses a WhatsApp API template to send interactive messages within the 24-hour window. Outside that window, you can use a backup template to ensure continuity of communication.
1 - Go to Chatbot
2 - Set the name, trigger (if any), and click Open Builder
3 - In the builder add:
Action: Send question using template. This action is used in the case of an expected response.
In this block configure:
The response type: List Items
Condition: Positive exit from the question, set the condition “Response value” containing the list items and actions for each of the choices.
On the negative exit, in case the lead does not respond to this question within the 3-hour period, an action was added to notify an employee.
If the user responds outside the 24-hour window, configure sending a backup message using a template approved by the WhatsApp API for out-of-window communications. This can be a confirmation message, a next-step alert, or another relevant action. Learn more about message templates by clicking here.