Hi Victor,
You can try setting up a trigger for v2.detail.events.conversation.{id}.user.start and filter on queueId if its blank.
Then trigger a workflow that calls this endpoint:
patch
/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}
You can reference conversationId, participantId and communicationId (sessionId) from the event attributes itself in Architect.
The data action above to update the conversation must have this is the request body:
{
"state": "disconnected"
}
------------------------------
Niel Vicente
DAMAC Properties Co. LLC
------------------------------