What is the process for getting participant data out within an already popped script using a click button? Could someone please point me the way? All I seem to pick up is that you need to call a Data Action for the conversation but beyond that I"m not finding out how to pull out specific participant data items.
Documentation about the Genesys Cloud Data Actions Integration can be found here: https://help.mypurecloud.com/articles/about-genesys-cloud-data-actions-integration/
To get participant attributes from a conversation, use GET /api/v2/conversations/{conversationId} or similar.
Hi Tim
I'm using the conversations API and currently get that attribute value for all participants on the call - so in some cases it's a NULL value as this is only set for the customer participant.
In architect I can specify in/out variables to pass the conversation ID to the Data ACtion, and can use attribute[0] to get specifically the first one returned. However when linking a button to a Data Action I don't seem to get any further option to specify the input variable to the data action.
Assuming I get that part figured out, can I still use the attribute[0] approach to display the first item from the array of participants with that value set?
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.