Integration steps for Vapi
Create tools
SendContextToProtegee
and GetContextFromProtegee
tools in order to let your agent interact with Protegee. Don’t worry, all this requires from you is to press a button.You’ll want to grab your VAPI private api key. It will look like:my_protegee_api_token
and my_vapi_private_key
with the correct keys)Setup forwarding phone number + Enable SendContextFromProtegee
SendContextFromProtegee
is selected from the dropdown and the forwarding phone number is set to Protegee’s number (you can this at settings).Prompt your agent to call SendContextToProtegee tool + transfer the call
Give it a shot
callback
field, Protegee will transfer the caller back to this number once the payment process is complete. In order to continue the call, you’ll want to make a webhook to get details on how the call went. The following are instructions on how to do that.
Setup a callback agent
GetContextFromProtegee
on the agent’s Functions page.Enable GetContextFromProtegee tool call for the agent
SendContextFromProtegee
is selected from the dropdown and the forwarding phone number is set to Protegee’s number (you can this at settings).Prompt your agent to check the status
Try it out!