Skip to content

Commit 40ac27a

Browse files
committed
feat(call-forwarding): update doc to incentivize use of dashboard
1 parent 6515261 commit 40ac27a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

fern/call-forwarding.mdx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,21 @@ Vapi's call forwarding functionality allows you to redirect calls to different p
1818

1919
## Setting Up Call Forwarding
2020

21-
### 1. Defining Destinations and Messages
21+
### 1. Create a Transfer Call Tool in the Dashboard
2222

23-
The `transferCall` tool includes a list of destinations and corresponding messages to notify the caller:
23+
The recommended approach is to create your transfer call tool in the Vapi dashboard:
24+
25+
1. Navigate to **Tools** in your Vapi dashboard
26+
2. Click **Create Tool**
27+
3. Select **Transfer Call** as the tool type
28+
4. Configure your destinations:
29+
- **Department A**: `+1234567890` with message "I am forwarding your call to Department A. Please stay on the line."
30+
- **Department B**: `+0987654321` with message "I am forwarding your call to Department B. Please stay on the line."
31+
- **Department C**: `+1122334455` with message "I am forwarding your call to Department C. Please stay on the line."
32+
33+
### 2. Alternative: API Configuration
34+
35+
You can also define the tool via API with destinations and corresponding messages:
2436

2537
```json
2638
{
@@ -112,7 +124,7 @@ You can also specify the `extension` parameter to forward the call to an extensi
112124
]
113125
```
114126

115-
### 2. Using the `transferCall` Function
127+
### 3. Using the `transferCall` Function
116128

117129
When the assistant needs to forward a call, it uses the `transferCall` function with the appropriate destination:
118130

@@ -127,7 +139,7 @@ When the assistant needs to forward a call, it uses the `transferCall` function
127139
}
128140
```
129141

130-
### 3. Customizing Messages
142+
### 4. Customizing Messages
131143

132144
Customize the messages for each destination to provide clear information to the caller:
133145

0 commit comments

Comments
 (0)