VaunMcCarthy | 2020-08-27 07:59:43 UTC | #1
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.
tim.smith | 2020-08-27 17:24:14 UTC | #2
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.
VaunMcCarthy | 2020-08-28 02:52:05 UTC | #3
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?
system | 2020-09-28 02:52:06 UTC | #4
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: 8674