RAW Action icon

RAW Action

Envia actions de volta para o RAW via callbackUrl.

Send WhatsApp Flow

AI-generated

Summary

Sends a WhatsApp Flow message to the specified RAW chat by POSTing a SEND_WHATSAPP_FLOW action to the RAW callback endpoint. Configure the Flow details and, when needed, the action to run after completion; the node returns the callback response for each input item.

Inputs

  • Callback URL / Environment (required) — For node version 1, provide the callback URL, defaulting to {{$json.meta.callbackUrl}}. Version 2 defaults to Automatic, which reads meta.callbackUrl from each input item; alternatively choose Homologação or Produção, or provide a complete custom callback URL.
  • Client ID (required) — Identifies the RAW client; defaults to {{$json.meta.clientId}}.
  • Chat ID (required) — Identifies the chat receiving the Flow; defaults to {{$json.meta.chatId}}.
  • Bot ID — Defaults to {{$json.meta.botId}}. If supplied, the server uses that bot's configuration.
  • Body (required) — Message text shown before the Flow opens.
  • CTA Button Text (required) — Label for the button that opens the Flow; the UI description specifies a maximum of 30 characters.
  • Flow ID (required) — Flow ID from Meta Business Manager.
  • Flow Action — Choose Navigate for static screens (default) or Data Exchange for dynamic screens.
  • Data Exchange Webhook URL — Shown for Data Exchange. The node includes it in the action when provided.
  • Initial Screen — Optional name of the Flow's starting screen.
  • Initial Data (JSON) — Optional JSON data passed when the Flow opens; defaults to {}.
  • Header — Optional message header.
  • Footer — Optional message footer.
  • Mode — Select Published (default) or Draft.
  • Next Step — Optional session step to call after the user completes the Flow.
  • Next Sub Step — Optional session substep to set after completion.
  • Response State Key — State key for saving the Flow response; defaults to flowResponse. The node omits this field from the action when left at its default.
  • Next Step — Shared action setting that updates the session step when sending the action, without navigating to it.
  • Next Sub Step — Shared action setting that updates the session substep when sending the action.

Output shape

One output item per input item, each containing { ok: true, operation, response } on success.

response contains the callback endpoint's response, or null if it returns no value. If Continue On Fail is enabled, a failed item contains { error }; otherwise the node raises an item-indexed operation error. The Flow response is saved by RAW under the configured response state key.

Links

Discussion