I have a working demo site that has Genesys Messenger configured. I'm sending dynamic participant data to the chat interaction and I can see it inside the Interaction detail (see screenshot attached). I'm having difficulty understanding the getExternalContact API call and have no idea how to parse it or allow me to use it inside the flow in any way.
I want to search for an external contact using the participant data I sent over (customerID) and once matched (if there's a match) check for other attributes inside that external contact to set different routing strategies.
How can do I this? I've tried using GetExternalContact but I haven't found any examples on the proper usage of this nor how to then save that search and use it in my flow.
Please, any guidance would be greatly appreciated.