GoFlow WhatsApp icon

GoFlow WhatsApp

Send messages, media, mentions, typing indicator and read receipts via GoFlow WhatsApp

Send Text

AI-generated

Summary

Send a plain text message via the GoFlow WhatsApp API to a specified recipient phone number or group ID.

Inputs

  • API Key Override — An optional API key to override the default credential key for this message, useful for sending from one flow to many numbers. Leave empty to use the credential's API key.
  • To (required) — The recipient's phone number (e.g., '77009876543') or group ID (e.g., '120363...@g.us'). Typically derived from the incoming event's chat_id.
  • Text (required) — The text content of the message to send.

Output shape

a list of JSON objects, each representing the API response for the sent message, paired with the respective input item

Each item returns the API response JSON for the sent message. If the node is set to continue on failure, errors are included as JSON objects with an error message. This operation performs one HTTP POST request per input item to '/api/messages' with 'to' and 'text' in the body.

Examples

Example 1: Send a text message to a phone number

Set 'To' to the recipient's phone number string, and 'Text' to the message content string. Optionally provide 'API Key Override' per item if needed.

Links

Discussion