For transfers we have staff use Agent Script buttons, and most transfers go through a flow and then on to a queue, avoiding the dummy queue requirement, but still have some staff who transfer direct to queue. So similar situation.
My current thinking is, since in all our flows, transfers or otherwise we assign a skill to every single call.
So the only calls without a skill will be the transfer direct to queue.
So in the In Queue flow, I can use the patch conversation attribute API, send it with no input, this will retrieve the skill and priority for the call currently as output.
From that I can then determine which calls were transferred directly to queue, (the ones with no skill, since as per above we assign a skill to every call), and then use the same API to update the priority and skill for those calls.
API link
https://developer.genesys.cloud/api/rest/v2/routing/#patch-api-v2-routing-conversations--conversationId-------------------------------
Anton Vroon
------------------------------