Junzhe
Junzhe2d ago

Sending WhatsApp messages from AI agents – is it possible?

I’m currently building an AI agent in Voiceflow and I want it to be able to send messages directly to phone numbers on WhatsApp (for example, to confirm bookings or send reminders). I’m not sure if this is possible natively in Voiceflow or if I need to connect to an external service like Twilio, WhatsApp Business API, or another integration platform (Make.com, n8n, etc.). Do I need to connect WhatsApp Business API, Twilio, or something like Make/n8n? Has anyone set this up before who can share how they did it?
1 Reply
Tico | Voiceflow Assistant
At the moment Voiceflow does not ship a built-in “WhatsApp” channel.
What you can do instead: • Use an external provider that already exposes the WhatsApp Business API (Twilio, 360Dialog, Vonage, etc.) and call their Send-Message endpoint from a Function or API Step inside your Voiceflow flow.
• Or, keep the logic in your Voiceflow agent and let an automation platform (Make/Integromat, n8n, Zapier) listen to Voiceflow events and relay them to WhatsApp. This is the same pattern described in the docs for connecting Voiceflow with third-party services. Typical setup with Twilio WhatsApp 1️⃣ Get your WhatsApp Business number approved in Twilio.
2️⃣ Copy the Twilio Account SID / Auth Token (same credentials you would use for the Telephony or SMS integration).
3️⃣ Inside your Voiceflow project add a Function / API Step that does:
POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json
Body (x-www-form-urlencoded)
From=whatsapp:+14155238886 # your Twilio WhatsApp number
To=whatsapp:{{user_phone}}
Body=Your confirmation text
POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json
Body (x-www-form-urlencoded)
From=whatsapp:+14155238886 # your Twilio WhatsApp number
To=whatsapp:{{user_phone}}
Body=Your confirmation text
4️⃣ Map Voiceflow variables (e.g. booking date) to the Body field.
5️⃣ Test—the user will receive the WhatsApp message even though the conversation itself is happening in web-chat/voice/etc. If you prefer no code, create a scenario in Make/n8n that is triggered by a Voiceflow webhook → “Send WhatsApp Message” action. Related docs
• Twilio SMS integration (same auth-flow you’ll reuse for the WhatsApp endpoint): https://docs.voiceflow.com/update/docs/integrations#twilio
• Using workflow platforms like Make/n8n with Voiceflow: (integration overview) https://docs.voiceflow.com/update/docs/integrations#workflow
• Voiceflow Dialog Manager API for custom channels: https://developer.voiceflow.com/reference/overview Hope that clarifies how to add WhatsApp messaging to your agent! 🎉

Did you find this page helpful?