WhatsApp Nodes
WhatsApp nodes handle outbound communication with customers through the WhatsApp channel. They send messages, deliver pre-approved templates, and escalate conversations to human agents.wa.send_message
Send a free-form text message to the customer. This node sends a text message back through WhatsApp. It supports dynamic variables from the workflow context, allowing you to personalize messages.Configuration
Variable Substitution
Use double curly braces to inject dynamic values:{{contact.name}}— The customer’s WhatsApp profile name{{contact.phone}}— The customer’s phone number{{contact.fields.*}}— Any custom fields set on the contact viastate.set_field{{conversation.fields.*}}— Any custom fields set on the conversation
Outputs
Connections
- Inputs: Single input handle from the previous node (typically an AI Respond node)
- Outputs: Single output handle for chaining additional actions
Example Use Case
After an AI Respond node generates a support answer, connect it to a Send Message node to deliver the response. The message body can include the AI’s generated text along with a personalized greeting.WhatsApp has a 4,096 character limit per message. If the AI generates a longer response, Tedro automatically splits it into multiple messages (splitting at paragraph boundaries, then sentence boundaries, then word boundaries).
wa.send_template
Send a pre-approved WhatsApp message template. Template messages are required for outbound communication when the 24-hour customer service window has expired. Templates must be created and approved in Meta Business Suite before use.Configuration
Outputs
Connections
- Inputs: Single input handle from the previous node
- Outputs: Single output handle for chaining additional actions
Example Use Case
Send an order confirmation template 2 hours after a purchase: template nameorder_confirmation, with parameters for the customer name and order number. Since this is outside the 24-hour window, a template is required.
Template approval is managed by Meta, not Tedro. Create and submit templates in the Meta Business Suite. Approval typically takes minutes to a few hours.
wa.handoff
Escalate the conversation to a human agent. The Handoff node moves the conversation from automated workflow processing to the human agent inbox. The conversation appears in the Inbox with a “handoff” status, where a team member can pick it up and respond directly.Configuration
Outputs
Connections
- Inputs: Single input handle from the previous node
- Outputs: Single output handle (typically connected to a
logic.endnode or left unconnected)