Legacy Dev Forum Posts

 View Only

Sign Up

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

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

    Posted 06-05-2025 19:24

    charlsjoseph | 2023-08-17 15:05:40 UTC | #1

    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 ?

    https://developer.genesys.cloud/forum/t/attribute-object-for-topic-v2-detail-events-conversation-id-attributes-for-process-automation/17068


    SimonBrown | 2023-08-17 16:02:47 UTC | #2

    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


    charlsjoseph | 2023-08-17 20:53:29 UTC | #3

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


    SimonBrown | 2023-08-17 22:24:44 UTC | #4

    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:

    "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.


    charlsjoseph | 2023-08-18 13:48:42 UTC | #5

    Thanks @SimonBrown


    system | 2023-09-18 13:49:26 UTC | #6

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


    This post was migrated from the old Developer Forum.

    ref: 21572