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.
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
Part of that object is the attributes array (if any exist).
The key/values pairs are what you create, an example could look like below:
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.