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 Single Product Message
AI-generatedSummary
Sends a single product message to the RAW chat by POSTing a SEND_SINGLE_PRODUCT_MESSAGE action to the selected callback endpoint. Include the product’s catalog retailer ID and message body; the action targets the supplied chat and can optionally update the session step or substep.
Inputs
- Callback URL / Environment (required) — For node version 1, provide the callback URL (defaults to
meta.callbackUrlfrom the input item). For version 2 or later, choose Automatic (uses the input item’smeta.callbackUrl), Homologação, Produção, or Custom; Custom requires a callback URL. - Client ID (required) — Defaults to
meta.clientIdfrom the input item. - Chat ID (required) — Defaults to
meta.chatIdfrom the input item; the action is sent to this chat. - Bot ID — Defaults to
meta.botId; when non-empty, it is included in the callback request. - Body (required) — Text included in the single-product message.
- Footer — Optional footer text; blank values are omitted.
- Product Retailer ID (required) — The product’s catalog retailer ID.
- Next Step — If provided, updates the session step along with the action without navigating to it.
- Next Sub Step — If provided, updates the session substep along with the action.
Output shape
One output item per input item, containing { ok: true, operation, response } on success.
The node POSTs the action to the resolved callback URL. If Continue On Fail is enabled, a failed item returns
{ error }; otherwise the node throws an item-indexed operation error. The operation sends a product message and does not define routes.
Examples
Example 1: Send a catalog product in response to a customer message
Set Body and Product Retailer ID, and use the incoming payload defaults for Client ID, Chat ID, and callback routing.