V2.detail.events.conversation.{id}.attributes

Can someone tell me when these events are fired. The below thread says that when there is an update to attribute to the conversation. I was testing it and normally when a conversation happens, these events are not fired. so i hope when someone update the conversation attribute, it gets fired.

please let me know how can I update an attribute of a conversation ? Is it a normal process and can a agent does it ?

Not used that topic in particular but they generally do fire as soon as the topic happens.

An agent does not directly create attributes but a script could create one under agent control (e.g. a button press)
The most common approach would be a Flow handling an interaction using set participant data.

Not sure how you are testing this?

Simon

i am exploring this data and needed a sample data. Can you please give me an example of attribute under conversation?

Going to be difficult if you not able to create attributes on a conversation, for example with a flow for an inbound call, as part of your effort.

The API explorer defines the schema for a successful API call (200 response).
GET /api/v2/conversations/{conversationId}
If you expand out the schema in API explorer you will see a participants object
image
Part of that object is the attributes array (if any exist).
image

The key/values pairs are what you create, an example could look like below:

  "attributes": {
    "FoundCustomer: "false",
    "AccountCode": "123456",
    "Contact": "Joe Bloggs" }

As mentioned though, not personally used these with the trigger topic so would recommend creating some participant data in a flow and capture the json in the trigger and review it.

Thanks @SimonBrown

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.