WhatsApp — inbound messages

SETUP: point a Meta WhatsApp Business webhook at this workflow's deployed URL — customer messages become runs. Test simulates one.

What’s inside

4 nodes — every type links to its full reference page.

StepNodeType
WhatsApp inbound WhatsApp Trigger input.whatsapp
Opt-out? IF logic.if
Opt-out Console utility.console
Support queue Console utility.console

Import it

  1. Studio → Import — paste the JSON below (or the URL /docs/templates/whatsapp-inbound-messages.json).
  2. Or ask the AI Copilot with the JSON pasted after the phrase:
    import this workflow json into a new workflow named "WhatsApp — inbound messages"
  3. Any credentials the nodes need are ${credential.…} references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "WhatsApp — inbound messages",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "wa",
      "type": "input.whatsapp",
      "label": "WhatsApp inbound",
      "category": "trigger",
      "config": {},
      "position": {
        "x": 0,
        "y": 23
      }
    },
    {
      "id": "optout",
      "type": "logic.if",
      "label": "Opt-out?",
      "category": "flow",
      "config": {
        "path": "text",
        "operator": "equals",
        "value": "STOP"
      },
      "position": {
        "x": 530,
        "y": 23
      }
    },
    {
      "id": "stop",
      "type": "utility.console",
      "label": "Opt-out",
      "category": "utility",
      "config": {
        "message": "🛑 {{ $json.from }} opted out — update the consent list"
      },
      "position": {
        "x": 1060,
        "y": 0
      }
    },
    {
      "id": "route",
      "type": "utility.console",
      "label": "Support queue",
      "category": "utility",
      "config": {
        "message": "→ support queue: {{ $json.text }}"
      },
      "position": {
        "x": 1060,
        "y": 178
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "wa",
      "sourcePort": "output",
      "targetNodeId": "optout",
      "targetPort": "input"
    },
    {
      "id": "e1",
      "sourceNodeId": "optout",
      "sourcePort": "true",
      "targetNodeId": "stop",
      "targetPort": "input"
    },
    {
      "id": "e2",
      "sourceNodeId": "optout",
      "sourcePort": "false",
      "targetNodeId": "route",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "wa"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "SETUP: point a Meta WhatsApp Business webhook at this workflow's deployed URL — customer messages become runs. Test simulates one."
  }
}

Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: whatsapp-inbound-messages.json.