Start a WhatsApp conversation proactively
Proactively start a WhatsApp conversation with a specific user.
You will need:
WhatsApp only allows proactively sending messages if they’re created from a template. You can create a template from your WhatsApp Manager dashboard.
After WhatsApp reviews and approves your template, follow the steps in this guide.
Setup
Add the Start Conversation Card
In Studio, add a Start Conversation Card to any Node:
Fill in the required fields
Fill in the fields:
Your bot is ready to proactively start a conversation with your user!
Access the Conversation ID
You can access the proactively started conversation’s ID in Studio by storing the Start Conversation Card’s output in a variable. Just select a variable to store the value in:
The output value of this action will be an object with the following structure:
Create the conversation from code
You can also call actions.whatsapp.startConversation
in an Execute Code Card to start a conversation: