Team,
Is there any way to get the wrap up selected by agent on a call from the survey invite flow ?
Regards
Deepak
Team,
Is there any way to get the wrap up selected by agent on a call from the survey invite flow ?
Regards
Deepak
Hello,
You will have to create a PureCloud Data Action - using the Conversation ID as input parameter (available via Architect built-in variable Survey.ConversationID) - to retrieve and extract the wrapup code (if it has been set) of a conversation.
And invoke this Data Action from your Survey Invite flow.
You could get the conversation details from analytics (GET /api/v2/analytics/conversations/{conversationId}/details) or the conversation (GET /api/v2/conversations/{conversationId})
Regards,
Thanks Jerome. We have retrieved the corresponding wrapup code, but unable to cast that value(df6b9342-8ab8-44b3-9b0d-00687dd8c916) to wrapup type. Please let us know if this is possible.
Hello,
In Routing Api, GET /api/v2/routing/wrapupcodes/{codeId} allows to get details of a wrap-up code details from its id.
https://developer.mypurecloud.com/api/rest/v2/routing/#get-api-v2-routing-wrapupcodes--codeId-
Regards,
Hi Jerome,
Thanks, I have the wrap up code details but not able do a typed comparison against another wrapup code. There is no variable type in architect for wrapup like they have for User. In my scenario i need to exclude the survey for 20 wrapup codes, we can do this by comparing the wrap up code values but it would be great if we have variable typed Wrapup. This will make the flow more readable and maintainable.
Regards
Deepak
I am sorry - I don't understand your comment.
A wrap-up is just a (code, name).
As a comment, when using GET /api/v2/conversations/{conversationId}, you will get both the code and the name of the wrap-up selected by the agent.
GET /api/v2/analytics/conversations/{conversationId}/details only brings back the code of the selected wrap-up.
You can request new features and share your use case at https://purecloud.ideas.aha.io/ideas
Regards,
Never mind, I was able to achieve the result by using the api's suggested above.Thanks for your support. I will raise this in the ideas section (A typed variable for Wrapup similar to User, Queue).
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.