RAW Action icon

RAW Action

Envia actions de volta para o RAW via callbackUrl.

Send Product List

AI-generated

Summary

Sends a SEND_PRODUCT_LIST action to RAW for the specified chat through a callback URL. Provide the message body and JSON sections containing catalog product retailer IDs; the catalog must be registered in Meta Commerce Manager and linked to the bot.

Inputs

  • Callback URL / Environment (required) — For node version 1, provide the callback URL, which defaults to {{$json.meta.callbackUrl}}. Version 2 defaults to Automatic and reads meta.callbackUrl from the input item; you can instead select Homologation, Production, or Custom URL. Custom requires a full callback endpoint URL.
  • Client ID (required) — Identifies the RAW client; defaults to {{$json.meta.clientId}}.
  • Chat ID (required) — Identifies the chat receiving the product list; defaults to {{$json.meta.chatId}}.
  • Bot ID — Optional bot identifier; defaults to {{$json.meta.botId}}. When supplied, RAW uses that bot's configuration.
  • Body (required) — Text in the product list message.
  • Sections (JSON) (required) — JSON array of sections, each with a title and productItems array containing objects with productRetailerId values, such as catalog SKUs. Invalid JSON is treated as an empty array.
  • Header — Optional message header; omitted from the action when blank.
  • Footer — Optional message footer; omitted from the action when blank.
  • Next Step — Optional session step value included with the callback action; it updates the session step without navigating to it.
  • Next Sub Step — Optional session sub-step value included with the callback 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. With Continue On Fail enabled, a failed item instead contains { error }; otherwise the node raises an operation error.

Links

Discussion