Skip to content

My workflow 5

A simple WhatsApp messaging workflow that receives webhook data and sends a WhatsApp response using Twilio's messaging service.

Purpose

No business context provided yet — add a context.md to enrich this documentation.

How It Works

  1. Webhook receives data - The workflow starts when a POST request is made to the webhook endpoint
  2. Send WhatsApp message - A WhatsApp message is sent via Twilio using phone numbers and message content from the webhook data

Workflow Diagram

graph TD
    A[Webhook] --> B[Send WhatsApp response E!BA2]

Trigger

Webhook - POST endpoint at path 33898c22-f5f0-45f0-9983-3fd19c2daebb

The workflow activates when an external system sends a POST request to the webhook URL.

Nodes Used

Node Type Purpose
Webhook n8n-nodes-base.webhook Receives incoming HTTP POST requests to trigger the workflow
Send WhatsApp response E!BA2 n8n-nodes-base.twilio Sends WhatsApp messages using Twilio's messaging API

External Services & Credentials Required

Twilio

  • Purpose: WhatsApp message delivery
  • Credentials needed: Twilio API credentials (Account SID, Auth Token)
  • Credential name: "Waringa"

Environment Variables

No specific environment variables are configured for this workflow.

Data Flow

Input (Webhook)

The webhook expects a POST request with: - body.WaId - WhatsApp ID of the recipient - phoneNumber - Source phone number for sending - output - Message content to send

Output

WhatsApp message sent via Twilio to the specified recipient.

Error Handling

No explicit error handling is implemented in this workflow. The workflow relies on n8n's default error handling and Twilio's API error responses.

Known Limitations

  • No error handling for failed message delivery
  • No validation of input data format
  • Workflow is currently inactive (not deployed)

No related workflows identified.

Setup Instructions

  1. Import the workflow

    • Copy the workflow JSON
    • Import into your n8n instance
  2. Configure Twilio credentials

    • Create a new Twilio API credential in n8n
    • Name it "Waringa" or update the node to use your credential name
    • Add your Twilio Account SID and Auth Token
  3. Test the webhook

    • Note the webhook URL from the Webhook node
    • Send a test POST request with the required data structure:
      1
      2
      3
      4
      5
      6
      7
      {
        "body": {
          "WaId": "recipient_whatsapp_id"
        },
        "phoneNumber": "your_twilio_phone_number",
        "output": "Your message content"
      }
      
  4. Activate the workflow

    • Enable the workflow to make it live
    • The webhook endpoint will become active and ready to receive requests