Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Message → Forward

AI-generated

Summary

Forwards a persisted message to another WhatsApp recipient by message ID. Sends a POST request to the wa-instance API; use the optional Force setting when needed and configure an idempotency key to control duplicate request handling.

Inputs

  • Message ID (required) — ID of the persisted message to forward.
  • Forward To (required) — Recipient phone number or WhatsApp JID, such as 34600111222 or 34600111222@s.whatsapp.net.
  • Force — When enabled, sends force: true in the request; defaults to false.
  • Generate Automatically — Generates a unique idempotency key per n8n item when no manual key is provided; defaults to true.
  • Idempotency Key — Manual key sent as X-Idempotency-Key. If supplied, it takes precedence over automatic generation.

Output shape

A single n8n item containing the API response as JSON.

The operation runs once per incoming item. With Continue On Fail enabled, failures are returned as an item with an error field.

Examples

Example 1: Forward a message

Provide the persisted message ID and destination phone number or WhatsApp JID. Optionally enable Force or set an idempotency key.

Links

Discussion