WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Message → Forward

AI-generated

Summary

Forward a message to another chat

Inputs

  • sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
  • chatId (required) — The chat ID that contains the message
  • messageId (required) — Unique WhatsApp identifier for the message
  • destinationChatId (required) — The chat ID to forward the message to

Output shape

a single record (object) representing the forwarded message result

Typically includes a success flag and may contain the forwarded message's ID; errors are propagated as exceptions and not wrapped in a payload

Examples

Example 1: Forward a message that was retrieved from an earlier step

Choose a session, set Chat ID, insert Message ID from the previous node's output, and set Destination Chat ID of the target chat

Example 2: Forward a known message by its ID directly

Provide Session ID, Chat ID where the message resides, Message ID, and Destination Chat ID manually

Example 3: Forward using an expression for the session ID

Enter an expression like $node["PreviousNode"].json.sessionId for Session ID, fill Chat ID, Message ID, and Destination Chat ID

Links

Discussion