OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Message → Send Text

AI-generated

Summary

Send a text message from the selected WhatsApp session to a chat. Optionally quote an earlier message, control URL previews, attach a custom preview card on Baileys, and @mention recipients.

Inputs

  • Session Name or ID (required) — Session to send from; select one or provide its ID with an expression.
  • Chat Name or ID (required) — Recipient chat ID, such as a personal chat ending in @c.us or a group ending in @g.us. The picker lists up to 1,000 chats; use an expression for others.
  • Message (required) — Text to send. Leading and trailing whitespace are preserved; object values are rejected.
  • Quoted Message ID — Optionally quote an earlier message. If the engine cannot resolve the ID, the send fails rather than going out without a quote; Baileys can quote only messages it has stored.
  • Link Preview — Choose the engine default, request a URL preview, or suppress one. Defaults differ by engine; on Baileys, requesting a preview fetches every URL in the message before sending and may delay the send.
  • Custom Link Preview — Baileys only: supply a preview URL and title, with an optional description. Both URL and title are required, and the URL must also appear in the message text. whatsapp-web.js returns 501 when this option is used.
  • Mentions — WhatsApp IDs to mention, as a comma-separated list, JSON array, or expression resolving to an array. The message must include a matching @-mention token for it to render.

Output shape

A single n8n item containing the send endpoint's response.

The node's output item shape depends on the endpoint response. The source does not specify a fixed response schema for Send Text.

Links

Discussion