Actions21
- Add Chat State
- Close Chat
- Collect Input
- Go To Step
- Go To Substep
- Mark Read & Show Typing
- Register Disposition
- Register Transaction
- Request Human
- Send Button
- Send Catalog Message
- Send Document
- Send List
- Send Product Carousel
- Send Product List
- Send Single Product Message
- Send Text
- Send WhatsApp Flow
- Set Flow State
- Start Survey
- Transfer Department
Send Text
AI-generatedSummary
Send a text action to a RAW chat by POSTing it to the selected callback endpoint. Set the required Client ID, Chat ID, and Text; the IDs default to values from the incoming item’s meta object, and you can optionally include a Bot ID or update the session’s step and substep with Next Step and Next Sub Step.
Inputs
- Callback URL / Environment — For node version 1, provide the required Callback URL, which defaults to
{{$json.meta.callbackUrl}}. Version 2 defaults to Auto, which readsmeta.callbackUrlfrom each input item; alternatively select Homologação or Produção to use the corresponding RAW endpoint, or Custom and provide a required callback URL. - Client ID (required) — Identifies the RAW client; defaults to
{{$json.meta.clientId}}. - Chat ID (required) — Identifies the chat receiving the text; defaults to
{{$json.meta.chatId}}. - Bot ID — Optional bot identifier; defaults to
{{$json.meta.botId}}. When provided, the server uses that bot’s configuration. - Text (required) — Text content sent in the
SEND_TEXTaction’sfallbackTextfield. - Next Step — Optionally updates the session step alongside the action; it does not navigate to that step.
- Next Sub Step — Optionally updates the session substep alongside the action.
Output shape
One output item per input item, containing { "ok": true, "operation": "sendText", "response": ... } on success.
The node POSTs a JSON body with the client and chat IDs, optional bot ID and session updates, and a
SEND_TEXTaction. The response field contains the callback response ornullif none is returned. With Continue On Fail enabled, failed items return{ "error": ... }; otherwise an item error is thrown.