Skip to main content

WhatsApp & Social Nodes

Automate WhatsApp messaging and multi-platform social communication.

Available Nodes

WhatsApp Send and WhatsApp DB are dual-purpose: they work as standalone workflow nodes and as AI Agent tools when connected to an agent’s tools handle.

Setup Requirements

  1. WhatsApp service running (optional - it spawns on demand the first time you open the WhatsApp pairing panel or run a WhatsApp node)
  2. WhatsApp account for pairing
  3. Scan QR code to link device

Connecting

There is no “connect” workflow node. Pairing is managed from the Credentials panel:
  1. Open the Credentials modal and select the WhatsApp panel
  2. Scan the displayed QR code with your WhatsApp mobile app
  3. Go to WhatsApp > Settings > Linked Devices > Link a Device

WhatsApp Receive

Trigger node that fires when messages arrive.

Parameters

select
default:"all"
Filter by message type: all, text, image, video, audio, document, location, contact
select
default:"all"
Sender filter mode: all, self, any_contact, contact, group, channel, keywords
string
Specific phone number, digits only, no + prefix (when filter = contact)
select
Specific group JID (when filter = group)
string
Optional: filter group messages to a specific member (when filter = group)
select
Newsletter channel JID; leave empty to match any channel (when filter = channel)
string
Comma-separated keywords, case-insensitive (when filter = keywords)
select
default:"all"
Forwarded message handling: all, only_forwarded, ignore_forwarded
boolean
default:"true"
Skip messages sent by yourself
boolean
default:"false"
Download base64 media data with the event

Filter Options

Output

Group Message Output

When is_group is true:

Example: Reply to Specific Keywords


WhatsApp Send

Send messages to yourself, individual contacts, groups, or newsletter channels. Works as a workflow node or an AI Agent tool.

Parameters

select
default:"self"
Where to send: self (connected phone), phone (individual), group, or channel (newsletter)
string
Recipient phone number, digits only, no + prefix (when recipient_type = phone)
select
Group JID, format 123456789@g.us (when recipient_type = group)
select
Newsletter channel JID, format 120363…@newsletter; admin/owner role required (when recipient_type = channel)
select
default:"text"
Type of message: text, image, video, audio, document, sticker, location, contact. Channels only support text, image, video, audio, document.
string
Text content (when message_type = text). Supports template variables.
boolean
default:"true"
Convert markdown (bold, italic, code, lists) to WhatsApp-native formatting (when message_type = text)
select
default:"base64"
Source of media data: base64, file, or url (for image / video / audio / document / sticker)
string
HTTPS URL to download media from (when media_source = url)
string
Optional caption for image, video, or document
Location messages use latitude / longitude / location_name / address. Contact messages use contact_name / vcard. Quote a message with is_reply + reply_message_id.

Output

Example: Auto-Reply

Example: Forward to Admin


WhatsApp DB

Query the WhatsApp database: chat history, contacts, groups, and newsletter channels. Works as a workflow node or an AI Agent tool.

Parameters

select
default:"chat_history"
Operation to perform (see table below)
The remaining fields depend on the selected operation (e.g. phone, group_id, query, channel_jid, limit, offset, include_media_data).

Operations

Example: Look Up a Contact


Common Workflows

Auto-Responder

AI Agent Prompt:
Send Config:

Group Monitor

Filter Config:

Keyword Bot

Python Code:

Tips

Use {{whatsappReceive.sender_phone}} to reply to the sender automatically.
Combine with Simple Memory for context-aware conversations per contact.
Set Session ID: {{whatsappReceive.sender_phone}} in Simple Memory for per-user history.
Respect WhatsApp’s terms of service. Don’t send spam or bulk unsolicited messages.

Troubleshooting

The WhatsApp service (whatsapp-rpc) is optional and spawns on demand — opening the pairing panel starts it (port 5683). If the QR code doesn’t appear, close and reopen the pairing panel; as a last resort restart:
  • Verify workflow is deployed (not just saved)
  • Check filter settings aren’t too restrictive
  • Confirm ignoreOwnMessages setting
  • Include country code in phone number
  • Check WhatsApp connection status
  • Verify recipient hasn’t blocked you
  • Check internet connectivity
  • Ensure phone stays online
  • Don’t use WhatsApp Web simultaneously

Social Nodes

Unified messaging nodes for multi-platform communication. Social Send currently routes to WhatsApp (personal and Business) and Discord; the other platforms it lists are not yet wired. Social Receive normalizes messages from any connected platform trigger.

Social Receive

Normalizes messages from any platform trigger into a unified format. Output Fields:
  • channel - Platform name
  • message_id, sender_id, sender_name
  • text, message_type, timestamp
  • media - Platform-specific media data

Social Send (Dual-Purpose)

Send messages to any supported platform. Works as workflow node OR AI Agent tool. Message Types: text, image, video, audio, document, sticker, location, contact, poll, buttons, list

WhatsApp Tutorial

Step-by-step guide

AI Agent

Add AI-powered responses