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 Catalog Message
AI-generatedSummary
Sends a catalog message to the specified RAW chat by POSTing a SEND_CATALOG_MESSAGE action to the callback endpoint. Set the required message body and optionally include a footer and a product retailer ID to feature as the thumbnail.
Inputs
- Callback URL / Environment (required) — For node version 1, provide the required Callback URL, defaulting to
meta.callbackUrlfrom the input item. For version 2, choose Auto (usesmeta.callbackUrl), Homologation, Production, or Custom (requires a full callback URL). Homologation and Production use the node's configured RAW callback endpoints. - Client ID (required) — Identifies the RAW client; defaults to
meta.clientIdfrom the input item. - Chat ID (required) — Identifies the chat receiving the message; defaults to
meta.chatIdfrom the input item. - Bot ID — Optional bot identifier; defaults to
meta.botIdand is omitted from the request if empty. - Body (required) — Text for the catalog message.
- Footer — Optional footer text; omitted from the action if blank.
- Thumbnail Product Retailer ID — Optional catalog product code to use as the featured thumbnail; omitted if blank.
- Next Step — Optional step value sent with the action to update the session without navigating to that step.
- Next Sub Step — Optional substep value sent with the action to update the session.
Output shape
One output item per input item, containing { ok: true, operation, response } on success.
The request is sent as a JSON POST with a
SEND_CATALOG_MESSAGEaction containing the chat ID, body, and any nonblank optional catalog fields. With Continue On Fail enabled, a failed item returns{ error }; otherwise the node throws an item-indexed error. The node passes through the RAW endpoint response inresponse, ornullif none is returned.
Examples
Example 1: send a catalog message with a short intro and a featured product
Use the callback URL from the RAW webhook payload, set clientId and chatId from that payload, enter the message body, and optionally set the footer and thumbnail product retailer ID.