You can preview and test your bot by clicking on the Preview button in the editor and change the runtime to “WhatsApp”.
WhatsApp environment have some limitations that you need to keep in mind when building the bot:
GIF and SVG image files are not supported. They won’t be displayed.
Buttons content can’t be longer than 20 characters. If the content is longer, it will be truncated.
WhatsApp only allows to display 3 buttons at a time. So we work around that by adding ”…” messages to display more buttons.
Incompatible blocks, if present, they will be skipped:
- Payment input block
- Chatwoot block
- Script block
- Google Analytics block
- Meta Pixel blocks
- Cal.com block
You can automatically assign contact name and phone number to a variable in your bot using a Set variable block with the dedicated system values:
Deploy on your phone number
Head over to the Share tab of your bot and click on the WhatsApp button to get the integration instructions of your bot.
You can customize how your bot behaves on WhatsApp in the
Configure integration section
Session expiration timeout: A number from 0 to 48 which is the number of hours after which the session will expire. If the user doesn’t interact with the bot for more than the timeout, the session will expire and if user sends a new message, it will start a new chat. The default is 4 hours.
Start bot condition: A condition that will be evaluated when a user starts a conversation with your bot. If the condition is not met, the bot will not be triggered.