Welcome to the new Home all.
I'm going to use this opportunity to ask a question and I'm looking for possible solutions with the least amount of API calls required to achieve the goal.
The Issue at hand. The customer built an Open Messaging Middleware application, everything is perfect, the only setback currently is not having the Agent name available to the Middleware via Open Messaging events/responses etc. See: ideas/OTB-I-578
Now the question part. What would be the simplest API call "cost" effective way using Trigger/Workflow/Data Action to on "event answer".
The Best event to trigger on seems to be, v2.detail.events.conversation.{id}.acd.end, since user.start did not seem to trigger. (EDIT: Based on below solution, its because I did not have Flow.userId mapped as input variable, no workflow start)
I then created a Data action to get the participant Ids for the Purpose=Agent participants.
In the workflow I can then isolate the current agent on the conversation as the last in array participant Id returned, then I can use that on Get Participant Data and define the Participant Id Data to return.
And this is where I am stuck now.
How do I access the said Participant Id Data in Architect (Feels like a i cant believe i missed that question)
Then, if anyone has dealt with this use case before, any insight suggestions or solutions is currently welcome :)
Thank you, and Wishing this new chapter a health collaborative future.
#Integrations
------------------------------
Dewald Smit
Systems Consultant (CX Engineer)
------------------------------