@Kings_big💫 quick question, am i able
# general-english
h
@Kings_big💫 quick question, am i able to have one asistant for outbound and inbound calls? does vapi have that logic yet where it can tell the difference between inbound and outbound? if so how can i do that
k
Use a single assistant by attaching it to your phone number for inbound calls and referencing the same assistant ID in the vapi.calls.create() API for outbound calls, vapi automatically detects and handles the call type..
h
k
Use two assistants via squads or pass a custom variable like "direction": "outbound" in the outbound API call and handle it with conditional logic in your prompt.. https://docs.vapi.ai/squads-example
h
Alright thank you
I tried to make it easier and just have one asistant but nvm hahah
2 Views