Call handoff from VAPI to Twilio Flex
# support
k
Hey, I'm currently using dialogflow to answer my incoming calls and if it is not able to handle it then i'm passing it on to the human agent using twilio flex, everything is done using the Twilio's studio flow. I'm migrating from Dialogflow to VAPI, so i wanted to know how we can achieve this in the VAPI, where if the vapi assistant is not able to handle the call, then pass it on to the Flex.
s
What's the exact issue that you are getting?
k
Basically i want to handoff the call to Flex in certain cases, when the assistant is not able to handle call or its not in the boundary of the assistant. So in that case i want to transfer the call to flex, with all the parameters. The way it is setup with Google Dialog flow is that, when the calls comes in it goes to twilio studio flow, gets the information regarding the patient and transfers it to G-Dialogflow from there if it is not able to handle the call then it hands off to a agent (flex)
s
can you send a call_id or something?
k
this is a call id
184b582e-9a25-44ed-964c-1a66cdcee530
so atleast i want to pass on the context variables from VAPI to twilio while forwarding the call, so that i don't need to fetch the details again in twilio
s
Actually, you won't be able to pass any context from forwarding the call
although we have warm call
you can take a look into that
check the api-updates
k
ok, is there a way to:- 1. get call to twilio number. 2. pass it to studio flow. 3. get the parameters loaded [Optional] 4. create/hand off the call to vapi. 5. if assistant fails to handle the call, pass it on to the flex so that human can cater the need.
s
Nope.
s
you have to manage all using twilio flex.
5 Views