EzFlowEzFlow Docs
Node referenceMessaging

SEND_WHATSAPP

Send a WhatsApp message.

What it does

Send a WhatsApp message.

Inputs & outputs

Input handle
None
Output handle
None

Configuration

No configuration.

Example

How it works

SEND_WHATSAPP sends a pre-approved WhatsApp template message through your own WhatsApp Business integration (BYOK). The integration is selected statically on the node itself via whatsappIntegrationId — it is not wired through an input edge. The destination phone number (destinationNumber) and the template's resolved variables (template.id and template.variables) are piped from upstream nodes.

The node delegates to EzFlow's WhatsApp communication module, which routes the request through your configured provider (Gupshup, Twilio, or Meta). It returns internalCorrelationId for delivery tracking.

Example

Scenario: An order-confirmation Workflow sends a WhatsApp message every time a payment succeeds.

  1. A WEBHOOK_INBOUND node receives a payment_intent.succeeded event from your payment processor.
  2. A WHATSAPP_TEMPLATE_FILLER node resolves the approved template (e.g. "Order {{1}} confirmed. Total: {{2}}") with the order ID and amount from the webhook payload, and outputs a template object.
  3. Wire template into the SEND_WHATSAPP node's template input and the customer's phone number into destinationNumber.
  4. On the node, select the WhatsApp integration you have connected under Settings → Connections.
// Example data flowing into SEND_WHATSAPP
{
  "destinationNumber": "+5511999990000",
  "template": {
    "id": "order_confirmation_v1",
    "variables": ["ORD-4821", "R$ 149,90"]
  }
}

Each sent message produces an internalCorrelationId you can use to correlate delivery-status callbacks.

On this page