Skip to content

Commit 8c7caa8

Browse files
authored
Updated warm-transfer with assistant doc (#605)
1 parent ddf1ba5 commit 8c7caa8

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

fern/calls/assistant-based-warm-transfer.mdx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The `function.name` property identifies your transfer tool. Use this name when i
4747
"destinations": [
4848
{
4949
"type": "number",
50-
"number": "+16509606568",
50+
"number": "+14155551234",
5151
"message": "I am forwarding your call to customer support. Please stay on the line.",
5252
"transferPlan": {
5353
"mode": "warm-transfer-experimental",
@@ -67,6 +67,12 @@ The `function.name` property identifies your transfer tool. Use this name when i
6767
}
6868
}
6969
}
70+
],
71+
"messages": [
72+
{
73+
"type": "request-start",
74+
"content": "I am forwarding your call to customer support. Please stay on the line."
75+
}
7076
]
7177
}
7278
```
@@ -151,6 +157,12 @@ The transfer assistant can be configured to handle various operator responses:
151157
}
152158
}
153159
}
160+
],
161+
"messages": [
162+
{
163+
"type": "request-start",
164+
"content": "Transferring you to our specialist. Please hold."
165+
}
154166
]
155167
}
156168
```
@@ -174,8 +186,10 @@ Configure different transfer assistants for different departments:
174186
"description": "Sales Department",
175187
"transferPlan": {
176188
"mode": "warm-transfer-experimental",
189+
"holdAudioUrl": "https://assets.example.com/hold-music.mp3",
177190
"fallbackPlan": {
178-
"message": "Sorry, none of our account executives are available right now. Our team get back to you later"
191+
"message": "Sorry, none of our account executives are available right now. Our team get back to you later",
192+
"endCallEnabled": false
179193
},
180194
"transferAssistant": {
181195
"firstMessage": "Hey there, I have a potential customer interested in our enterprise plans. Are you available to pick up the call?",
@@ -199,6 +213,7 @@ Configure different transfer assistants for different departments:
199213
"description": "Technical Support",
200214
"transferPlan": {
201215
"mode": "warm-transfer-experimental",
216+
"holdAudioUrl": "https://assets.example.com/hold-music.mp3",
202217
"transferAssistant": {
203218
"firstMessage": "Hey there, I have a customer experiencing issues with API integration. Can you help?",
204219
"maxDurationSeconds": 90,

0 commit comments

Comments
 (0)