Hi Team
I am looking to setup Preferred agent routing for one of our customers. The user id's and Agent score is being calculated using a Lambda function ( Lambda Data action that passes Queue id and Skill Name in real time ) with the below output from Lambda:
{
"agentsScores.userId": [
"id1",
"id2",
"id3",
"id4",
"id5"
],
"agentsScores.score": [
100,
100,
0,
100,
100
]
}
What I am struggling with now is how to iterate the user id's and scores from this output into my Preferred agent routing MakeListAgentScorePair function. I tried doing all the translation in Lambda and getting a fully ready string as output to feed as input to Preferred agent routing but it does not accept it either. Any ideas team here how this could be accomplished ? The agent and score pairs need to fetched in real time because the Architect flow is based on Generic data tables and not specific to one queue/line of business.
#Routing(ACD/IVR)------------------------------
Ankur Sharma
Nexon Asia Pacific Pty. Ltd.
------------------------------