New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceCore BlocksCommunication & Chat
Block

WhatsApp Block

Send WhatsApp messages

The WhatsApp block sends messages to WhatsApp users through the WhatsApp Business API. Reach for it when a workflow needs to notify or reply to a user on WhatsApp, and pair it with the built-in webhook trigger to react to incoming messages.

Overview

PropertyValue
Typewhatsapp
CategoryTools
Color#25D366

When to Use

  • Send transactional notifications (order updates, alerts, reminders) to a WhatsApp user
  • Reply to an inbound WhatsApp message captured by the WhatsApp webhook trigger
  • Deliver workflow results or summaries straight to a customer's phone
  • Build conversational automations that respond to user messages in real time
  • Route AI-generated responses to a recipient via the WhatsApp Business API

Configuration

Recipient Phone Number (phoneNumber)

The destination number in full international format, including country code (e.g., +1234567890). Required.

Message (message)

The text body to send to the recipient. Supports {{block.field}} references so you can inject dynamic content from earlier blocks. Required.

WhatsApp Phone Number ID (phoneNumberId)

Your WhatsApp Business Phone Number ID used to authenticate and route the outbound message. Required.

Access Token (accessToken)

Your WhatsApp Business API access token. Stored as a password field. Required. Provide via {{WHATSAPP_ACCESS_TOKEN}} to avoid embedding credentials in plaintext.

Trigger Configuration (triggerConfig)

Configures the whatsapp_webhook trigger so the block can also receive inbound WhatsApp messages and start a workflow. When enabled, the block exposes the from, to, text, timestamp, and type outputs that carry the payload of the incoming message.

Inputs & Outputs

  • Inputs:

    • phoneNumber (string) — Recipient phone number with country code
    • message (string) — Message text to send
    • phoneNumberId (string) — WhatsApp Business Phone Number ID
    • accessToken (string) — WhatsApp Business API access token
  • Outputs:

    • success (boolean) — Send success status
    • messageId (string) — WhatsApp message identifier returned by the API
    • error (string) — Error information if sending fails
    • from (string) — Sender phone number (webhook trigger output)
    • to (string) — Recipient phone number (webhook trigger output)
    • text (string) — Message text content (webhook trigger output)
    • timestamp (string) — Message timestamp (webhook trigger output)
    • type (string) — Message type, e.g. text, image (webhook trigger output)

Tools

  • WhatsApp (whatsapp_send_message) — Sends a text message to a WhatsApp user via the WhatsApp Business API (graph.facebook.com/v22.0). Requires phoneNumber, message, phoneNumberId, and accessToken. Returns success, messageId, phoneNumber, status, and timestamp.

YAML Example

whatsapp_1:
  type: whatsapp
  name: "WhatsApp"
  inputs:
    phoneNumber: "+1234567890"
    message: "{{start.input}}"
    phoneNumberId: "123456789012345"
    accessToken: "{{WHATSAPP_ACCESS_TOKEN}}"
  connections:
    outgoing:
      - target: next-block-id