Run an Omni-Channel flow using the Service Cloud Voice Telephony Integration REST
API.
To learn more, see Execute OmniFlow in the Service Cloud Voice Implementation
Guide.
Executing an Omni-Channel Flow for incoming calls
(by calling /telephony/v1/voiceCalls/{CALL_ID}/omniFlow) creates a PendingServiceRouting (PSR) record in
Salesforce which stays in the queue until the voice call is routed to the agent
and the agent accepts the Agent Work. If the voice call is never routed to the
agent or the agent declines the Agent Work, the PSR record stays in Salesforce.
In order to clean up a PSR record associated with an abandoned or declined voice
call, call the Clear Routing API (/telephony/v1/voiceCalls/{CALL_ID}/clearRouting) to clean it
up.