Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Message → Send Text

AI-generated

Summary

Send a WhatsApp text message to a phone number, PN JID, or LID JID through the wa-instance API. Choose one text or an ordered sequence, then optionally set send metadata, idempotency, or a preflight readiness check.

Inputs

  • To (required) — Recipient phone number, PN JID, or LID JID. The backend can resolve PN/LID when RECIPIENT_LOOKUP is enabled.
  • Content Mode (required) — Choose Single Text or Text Sequence. Sequences support up to 20 messages.
  • Text / Texts (required) — Provide one message in Single Text mode, or an ordered list in Text Sequence mode. Sequence entries are trimmed and blank entries are omitted.
  • Additional Options — Optionally set Client Ref; supply an Idempotency Key or control automatic per-item key generation (enabled by default); and enable a preflight readiness check. The check defaults to Dependencies Health, with Status also available.

Output shape

A single n8n item containing the backend response as JSON for each input item.

The operation sends a POST request to /send/text. An enabled preflight check runs before sending and can stop the operation if readiness fails. Errors fail the node unless Continue On Fail is enabled, in which case an error item is returned.

Links

Discussion