diff --git a/fern/call-forwarding.mdx b/fern/call-forwarding.mdx index 15c14143..7403a69e 100644 --- a/fern/call-forwarding.mdx +++ b/fern/call-forwarding.mdx @@ -18,9 +18,21 @@ Vapi's call forwarding functionality allows you to redirect calls to different p ## Setting Up Call Forwarding -### 1. Defining Destinations and Messages +### 1. Create a Transfer Call Tool in the Dashboard -The `transferCall` tool includes a list of destinations and corresponding messages to notify the caller: +The recommended approach is to create your transfer call tool in the Vapi dashboard: + +1. Navigate to **Tools** in your Vapi dashboard +2. Click **Create Tool** +3. Select **Transfer Call** as the tool type +4. Configure your destinations: + - **Department A**: `+1234567890` with message "I am forwarding your call to Department A. Please stay on the line." + - **Department B**: `+0987654321` with message "I am forwarding your call to Department B. Please stay on the line." + - **Department C**: `+1122334455` with message "I am forwarding your call to Department C. Please stay on the line." + +### 2. Alternative: API Configuration + +You can also define the tool via API with destinations and corresponding messages: ```json { @@ -112,7 +124,7 @@ You can also specify the `extension` parameter to forward the call to an extensi ] ``` -### 2. Using the `transferCall` Function +### 3. Using the `transferCall` Function When the assistant needs to forward a call, it uses the `transferCall` function with the appropriate destination: @@ -127,7 +139,7 @@ When the assistant needs to forward a call, it uses the `transferCall` function } ``` -### 3. Customizing Messages +### 4. Customizing Messages Customize the messages for each destination to provide clear information to the caller: diff --git a/fern/docs.yml b/fern/docs.yml index ba111a1b..19e539b9 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -116,12 +116,6 @@ navigation: - page: Inbound support path: examples/inbound-support.mdx icon: fa-light fa-phone-volume - - page: Outbound sales - path: examples/outbound-sales.mdx - icon: fa-light fa-money-bill-wave - - page: Pizza website - path: examples/pizza-website.mdx - icon: fa-light fa-pizza-slice - page: Voice widget path: examples/voice-widget.mdx icon: fa-light fa-window-maximize @@ -129,6 +123,30 @@ navigation: path: examples/docs-agent.mdx icon: fa-light fa-microphone + - section: Workflows + contents: + - page: Quickstart + path: workflows/quickstart.mdx + icon: fa-light fa-bolt-lightning + - page: Overview + path: workflows/overview.mdx + icon: fa-light fa-book + - section: Examples + icon: fa-light fa-code + contents: + - page: Appointment scheduling + path: workflows/examples/appointment-scheduling.mdx + icon: fa-light fa-calendar-check + - page: Outbound sales + path: workflows/examples/outbound-sales.mdx + icon: fa-light fa-money-bill-wave + - page: Medical triage + path: workflows/examples/clinic-triage-scheduling.mdx + icon: fa-light fa-stethoscope + - page: Order management + path: workflows/examples/ecommerce-order-management.mdx + icon: fa-light fa-shopping-cart + - section: Assistant customization contents: - section: Conversation behaviour @@ -719,7 +737,9 @@ redirects: - source: "/technical_support" destination: "/examples/inbound-support" - source: "/pizza_website" - destination: "/examples/pizza-website" + destination: "/examples/inbound-support" + - source: "/examples/pizza-website" + destination: "/examples/inbound-support" - source: "/outbound_call_python" destination: "/examples/outbound-call-python" - source: "/voice_widget" diff --git a/fern/examples/inbound-support.mdx b/fern/examples/inbound-support.mdx index 2264655e..df3a751e 100644 --- a/fern/examples/inbound-support.mdx +++ b/fern/examples/inbound-support.mdx @@ -51,7 +51,7 @@ We will be creating a customer support agent for VapiBank, a bank that wants to -