Send Whatsapp
Overview
The Send WhatsApp node lets you send WhatsApp messages to users directly from your workflow using your connected Twilio account. It is ideal for automatic alerts, updates, or personalized notifications.
Description
Send WhatsApp messages via Twilio.
This node integrates with Twilio’s WhatsApp API to send approved template messages.
Business Alerts
Send order confirmations or appointment reminders.
Customer Support
Automate welcome messages or status updates.
Prerequisites:
- Connected Twilio account.
- Approved WhatsApp Template (Content SID).
Input Parameters
Configure the WhatsApp message.
From NumberstringRequired"+14151234567"To NumberstringRequired"+919876543210"Conversation TypestringRequiredContent SIDstringRequired"HX12345..."Content VariablesobjectOptional{ "1": "John", "2": "Order #123" }Output Parameters
The node returns the message status.
statusstringOptionalmessage_idstringOptionalresponseobjectOptionalOutput Type
Output Type: JSON
Returns a JSON object with status and details.
Example Usage
Example 1: Order Confirmation
Send a template message with variables.
{ "From Number": "+14151234567", "To Number": "+919876543210", "Conversation Type": "Business-Initiated Conversation", "Content SID": "HX12345abcdef", "Content Variables": { "1": "Neha", "2": "12345" }}
{ "status": "success", "message_id": "SMc25f4b...", "response": { "body": "Hello Neha, your order 12345 is confirmed!" }}
How to Use in a No-Code Workflow
Add the Node
Add the Send WhatsApp node to your workflow.
Configure Numbers
Set the From Number and To Number.
Select Template
Enter the Content SID of your approved Twilio template.
Map Variables
Provide values for Content Variables (e.g., names, dates) if your template uses them.
Best Practices
- Verify your Twilio account connection.
- Use approved templates for business-initiated chats.
Do / Don’t
- ✔️ Use correct country codes for phone numbers.
- ✔️ Test templates with your own number first.
- ❌ Don’t send unapproved content (it will fail).
- ❌ Don’t spam users; respect opt-in rules.
Common Errors
Invalid phone numberErrorOptionalUnapproved templateErrorOptionalTwilio not connectedErrorOptionalExample Workflow Integration
Use Case: Order Confirmation
Notify customer when order is placed.
- Order Placed: Trigger on new order.
- Send WhatsApp: Use template "Order
{{1}}Confirmed". - Map Variables: Set
{{1}}to Order ID.
Workflow Data Flow:
{{order.phone}} → {{whatsapp.To Number}}
{{order.id}} → {{whatsapp.Content Variables.1}}
