Reference
Article MarkdownReport an error

Action get_client_by_chat_room_id

System ID: action_get_client_by_chat_room_id

Description

Finds the client participant of a chat room and stores their data, contact channels, and participant in constants. You can then use placeholders such as {{client.first_name}}, {{primary_channel}}.

Stored among others: participant, client, client_channels, primary_channel, primary_chat_id, client_chat_id, channels_count.

Events (scenario branches)

Event When it occurs
success Client data retrieved and stored
error Missing chat_room_id, no participant/client/channels, or other failure

Parameters

Parameter Type Required Default Description
chat_room_id number / string yes Chat room ID. Supports placeholders

Configuration example

{
  "chat_room_id": "{{chat_room_id}}"
}
Using your own AI agent?Install the open skill so your AI agent can work with current official ConnectiveOne documentation.Get the skillNeed support?Couldn’t find the answer or need help from the ConnectiveOne team? Create a request in Client Portal.Create a request