You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/assistants/assistant-hooks.mdx
+86Lines changed: 86 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,92 @@ Handle customer speech interruptions in a similar way:
164
164
- Handle customer or assistant interruptions gracefully
165
165
- Log errors or events for monitoring
166
166
167
+
## Slack Webhook on Call Failure
168
+
169
+
You can set up automatic Slack notifications when calls fail by combining assistant hooks with Slack webhooks. This is useful for monitoring call quality and getting immediate alerts when issues occur.
170
+
171
+
### Step 1: Generate a Slack webhook
172
+
173
+
Follow the [Slack webhook documentation](https://api.slack.com/messaging/webhooks) to create an incoming webhook:
174
+
175
+
1. Create a Slack app (if you don't have one already)
176
+
2. Enable incoming webhooks in your app settings
177
+
3. Create an incoming webhook for your desired channel
178
+
4. Copy the webhook URL (it will look like `https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX`)
179
+
180
+
### Step 2: Create a serverless function
181
+
182
+
Set up a serverless function (using a service like [val.town](https://val.town)) to convert Vapi tool call requests into Slack messages:
0 commit comments