RAW Action icon

RAW Action

Envia actions de volta para o RAW via callbackUrl.

Request Human

AI-generated

Summary

Sends a REQUEST_HUMAN action to RAW for the specified chat, optionally including a message, department, and escalation reason. Posts the action to RAW’s callback endpoint and returns the callback response with an ok status.

Inputs

  • Callback URL / Environment (required) — For version 1, provide the callback URL (defaults to meta.callbackUrl from the input item). For version 2+, choose Automatic to use the input item’s meta.callbackUrl, Homologação or Produção to use RAW’s corresponding callback endpoint, or Custom and provide a callback URL.
  • Client ID (required) — Client identifier; defaults to meta.clientId from the input item.
  • Chat ID (required) — Chat identifier; defaults to meta.chatId from the input item.
  • Bot ID — Optional bot identifier; defaults to meta.botId. When supplied, RAW uses that bot’s configuration.
  • Next Step — Optional step value sent alongside the action to update the session without navigating to that step.
  • Next Sub Step — Optional sub-step value sent alongside the action to update the session.
  • Message — Optional message sent to the contact during the transfer.
  • Department ID — Optional department identifier. Leave blank to use the default department.
  • Escalation Reason Code — Optional code for a configured escalation reason, such as cliente_solicitou.

Output shape

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

response contains the callback response, or null if the callback returns no value. If Continue On Fail is enabled, a failed item contains { error }; otherwise the node raises an error.

Links

Discussion