RoiChat icon

RoiChat

Integração com a API do RoiChat

Fluxo → Enviar Para Contato

AI-generated

Summary

Send a specific flow to a chosen contact (subscriber) in RoiChat by specifying the contact's unique identifier and the flow's name or ID.

Inputs

  • subsPage — Page number to navigate contacts, with 10 contacts per page (used for loading subscriber options).
  • subsSearch — Filter contacts by name, phone, or email (if supported) to find the target subscriber.
  • userNs (required) — Unique identifier (user_ns) of the contact to whom the flow will be sent. Can be selected from a list or specified via expression.
  • flowsPage — Page number to navigate available flows, 10 per page (used for loading flow options).
  • flowsSearch — Filter flows by name to select the desired flow.
  • flowName (required) — Name or ID of the flow to send. Can be selected from a list or specified via expression.

Output shape

a single JSON object representing the API response confirming the flow was sent, or an error object if the send failed.

Returns the API response from the RoiChat endpoint for sending a sub-flow to a subscriber. Any errors during the operation can be optionally included in the output if the node is configured to continue on failure.

Examples

Example 1: Send flow to a subscriber

Set 'User NS Name or ID' to select contact and 'Nome Ou ID Do Fluxo Name or ID' to select the flow to send.

Discussion