Chat icon

Chat

Interact with the Chat API

Actions253

Conversation → Assign Agent

AI-generated

Summary

Assign an agent to a conversation within a selected account and inbox.

Inputs

  • accountId (required) — The account to use for the operation.
  • inboxId (required) — The inbox to use for the operation.
  • conversationId (required) — The conversation to which the agent will be assigned.
  • agentId (required) — The ID of the agent to assign; can be specified directly or via expression.

Output shape

a single conversation record reflecting the updated assignment

The returned object includes the conversation's updated fields; if the assignment fails, an error object is returned.

Examples

Example 1: Assign a specific agent to a conversation

Select account, inbox, and conversation from lists; set agentId to the desired agent ID or expression.

Example 2: Assign an agent using an expression

Set accountId, inboxId, conversationId via list selectors; use an expression like $json["agentId"] for agentId.

Example 3: Assign agent and verify success

Configure the node with the chosen resources and agent; after execution the node returns the updated conversation object.

Links

Discussion