Chaining Assistants from one to another?
# support
m
Is it possible to go from one assistant to another?
v
Hi @MaxKnox, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [List Assistants]() * [Create Assistant]() * [Call Ended Reason]() * [Inbound Support Example]() -----------------------------
### Answer Yes, it is possible to chain assistants in Vapi. You can transfer calls from one assistant to another using the
transferCall
function. When a
forwardingPhoneNumber
is present on an assistant, the assistant will have the capability to transfer the call to this number [(1)]() . Here's a basic example of how to set up the
transferCall
function:
Copy code
json
{
  "model": {
    "provider": "openai",
    "model": "gpt-3.5-turbo",
    "messages": [
      {
        "role": "system",
        "content": "You are an assistant at a law firm. When the user asks to be transferred, use the transferCall function."
      }
    ]
  },
  "forwardingPhoneNumber": "+16054440129"
}
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
Got it. Tagging @User for additional help.
2 Views