Call forwarding rule
# support
s
Is it possible to use different numbers during call forwarding based on the criteria? I.e if they want a call now and we initiate the call, can we connect it to Number 1 if loan amount<20000, Number 2 if loan amount 20000-30000 etc?
v
@Sioux Absolutely! You can use the
forwardingPhoneNumbers
array to route calls to different destinations based on criteria such as the loan amount. You can set up multiple forwarding options with conditions that check the loan amount and forward the call to the appropriate number. Would you like to proceed with setting this up? If so, please provide the criteria and the corresponding phone numbers for each range.
You can continue this conversation by mentioning me in the message.
s
can we directly set this up in the call endpoint? cuz im not seeing that setting in the JSON
s
check this for using multiple destinations and using prompting you can decide which number to forward the call. https://docs.vapi.ai/call-forwarding
s
before the call forwarding, I want to to do an API call to get the loan amount and based on that I want to make a decision where to forward the call. like loan is > 1000 go to number 1, loan is > goes to number 2
s
checkout server event request-assistant and assistant overrides.