Skip to main content
This guide walks you through setting up an automated alert that notifies your team whenever OpenBat detects negative sentiment in a chatbot conversation.

Prerequisites

  • A chatbot with conversations being analyzed
  • A Slack or Discord channel where you want to receive alerts

Set up the alert

1

Configure a webhook destination

First, set up the webhook that will receive alerts.
  1. Navigate to your chatbot’s Settings > Webhooks tab
  2. Click + Add webhook
  3. Enter your Slack incoming webhook URL or Discord webhook URL
  4. Select the type (Slack or Discord)
  5. Save
See Webhooks for detailed setup instructions for each platform.
2

Go to workflow templates

Navigate to Workflows > Templates tab at /platform/{chatbotId}/workflows.
3

Select Negative Sentiment Alert

Find the Negative Sentiment Alert template in the Alerting category and click on it.
4

Configure the trigger

Set the sentiment threshold that triggers the alert. For example, trigger when the conversation sentiment score drops below a certain value.
5

Set the action destination

Select the webhook you configured in step 1 as the action destination.
6

Save and activate

Save the workflow. It starts monitoring conversations immediately. When a conversation matches the trigger conditions, an alert is sent to your configured channel.

Verify it works

Go to the Workflows > Runs tab to monitor execution history. Successful alerts show a Success status. If you see Failed runs, check your webhook URL and destination configuration.

Other useful templates

Once you have sentiment alerts working, consider these additional templates:
TemplateUse case
Escalation on FrustrationAlert when a user is flagged as frustrated
Hallucination FlagAlert when the assistant hallucinates
Chatbot Quality GateAlert when assistant quality drops
Topic Spike MonitorAlert when a topic sees unusual activity

Next steps

Workflows

Explore all workflow capabilities and templates.

Investigate users

Drill into the conversations that triggered alerts.