Skip to main content
Workflows at /platform/{chatbotId}/workflows let you automate responses to conversation analysis patterns. When OpenBat detects specific signals — like negative sentiment, hallucination, or churn risk — a workflow can trigger an alert to Slack, Discord, or a custom webhook. The page has three tabs: Workflows, Runs, and Templates.

Templates

The Templates tab provides six pre-built workflows you can use as starting points:
Six workflow templates organized by category with source and category filters

Negative Sentiment Alert

Triggers when conversation sentiment drops below a threshold. Category: Alerting.

Escalation on Frustration

Escalates when a user is flagged as frustrated. Category: Escalation.

Topic Spike Monitor

Alerts when a specific topic sees unusual activity. Category: Reporting.

Chatbot Quality Gate

Flags conversations where assistant quality drops. Category: Moderation.

Hallucination Flag

Detects and alerts on assistant hallucination. Category: Moderation.

Positive Feedback Tracker

Tracks positive user feedback for reporting. Category: General.
You can filter templates by:
  • Source: All, Public, Your Org
  • Category: All, Alerting, Escalation, Reporting, Moderation, General

Create a workflow

From a template

1

Go to the Templates tab

Navigate to Workflows > Templates.
2

Select a template

Click on a template card to use it as a starting point.
3

Configure conditions and actions

Adjust the trigger conditions and action destinations (webhook endpoints) for your use case.
4

Save and activate

Save the workflow. It begins monitoring conversations immediately.

From scratch

1

Open the creation form

Click + Create workflow on the Workflows tab. An inline form appears with a name field.
Workflow creation form with name field and setup options
2

Name your workflow

Enter a descriptive name (e.g., “Alert on negative sentiment”).
3

Configure trigger conditions

Define what triggers the workflow. Available trigger signals include:
  • Sentiment score below a threshold
  • Specific user flags detected (e.g., Churn Risk, Frustrated User)
  • Specific assistant behaviors detected (e.g., Hallucinating, Dodging)
  • Topic matches or spikes
4

Set up actions

Choose a webhook destination for the alert. You can send to Discord, Slack, or a custom HTTP endpoint.
5

Save and activate

Click Create to save the workflow. It begins monitoring conversations immediately.
Workflows require at least one webhook destination configured in your chatbot settings before you can set up actions.

Workflow runs

The Runs tab shows the execution history of all workflows. Each run has a status:
Workflow runs tab with status filters
StatusDescription
PendingWorkflow triggered, awaiting execution
TriggeredActively executing
SuccessCompleted and alert delivered
FailedExecution failed (check webhook configuration)
SkippedConditions not met, no action taken
Use the status filter buttons to view runs by status: All, Pending, Triggered, Skipped, Success, or Failed.

Next steps

Set up alerts

Step-by-step guide to creating your first alert.

Webhooks

Configure Discord, Slack, or custom endpoints.

Analysis config

Control which signals trigger workflows.