Communication

Slack Integration

Connect Chatsby to Slack for real-time conversation notifications, team alerts, and human takeover. Monitor your AI agent directly from your workspace.

Slack Integration

The Chatsby Slack integration brings your AI agent's activity directly into the tool your team already lives in. Receive real-time notifications when new conversations start, get alerted when a visitor gives a low rating, monitor lead captures as they happen, and enable human agents to take over conversations without leaving Slack. This guide covers the complete setup process, notification configuration, human handoff workflows, and troubleshooting.

What the Slack Integration Does

CapabilityDescription
Real-time notificationsGet Slack messages when key events occur in your Chatsby agent --- new conversations, escalations, low ratings, and lead captures
Channel routingSend different notification types to different Slack channels for organized monitoring
Human takeoverYour team can respond to escalated conversations directly from Slack, seamlessly continuing where the AI left off
Conversation contextEvery Slack notification includes the full conversation history so your team has the context they need to respond effectively

Prerequisites

RequirementDetails
Slack workspaceAn active Slack workspace where you want to receive notifications
Slack admin or installer permissionsYou need permission to install apps in your Slack workspace (or your workspace admin must approve the installation)
Chatsby agentA trained, active agent with the Public toggle enabled

Setup

Open Integrations Settings in Chatsby

Log in to your Chatsby dashboard. Navigate to the agent you want to connect, then go to the Settings tab and find the Integrations section.

Click Connect to Slack

Click the "Add to Slack" button. You will be redirected to Slack's OAuth authorization page.

Authorize the Chatsby App

On the Slack authorization page, review the permissions Chatsby is requesting. These include the ability to post messages to channels and read basic workspace information. Select the Slack workspace you want to connect and click Allow.

Select a Default Notification Channel

After authorization, you will be returned to the Chatsby dashboard. Select the Slack channel where you want notifications to be sent by default. You can choose an existing channel or create a new one (e.g., #chatsby-notifications or #customer-support).

Configure Notification Events

Choose which events should trigger Slack notifications. Toggle each event on or off based on your team's needs. See the Notification Events section below for details on each event type.

Save the Configuration

Click Save to finalize the integration. Chatsby will immediately begin sending notifications to your selected Slack channel.

Notification Events

You can configure which events trigger Slack notifications. Each event can be independently enabled or disabled, and can optionally be routed to a different Slack channel.

EventDescriptionWhen It Fires
New ConversationA visitor starts a new chat with your agentImmediately when the first message is sent
Escalation RequestedThe visitor or the AI requests a human agentWhen a conversation is flagged for human review
Low Rating ReceivedA visitor rates the conversation poorlyWhen a thumbs-down or low star rating is submitted
Lead CapturedThe agent successfully collects contact informationWhen an email, phone number, or other contact detail is captured via an Action
Action TriggeredA custom Action defined in your agent firesWhenever the specified Action executes during a conversation

We recommend starting with Escalation Requested and Low Rating Received enabled. These are the highest-signal events that warrant immediate human attention. You can always expand to other events as your team's workflow evolves.

Notification Message Format

When an event fires, Chatsby sends a formatted Slack message to your configured channel. The message includes:

  • Event type --- Clearly labeled at the top of the message (e.g., "New Conversation" or "Escalation Requested")
  • Visitor information --- Name and email if captured, or "Anonymous Visitor" if unknown
  • Conversation summary --- The last several messages exchanged between the visitor and the AI agent
  • Direct link --- A clickable link to the full conversation in your Chatsby dashboard
  • Action buttons --- For escalation events, a "Take Over" button that initiates the human handoff flow

Channel Selection and Routing Rules

For teams that want more granular control, you can route different event types to different Slack channels:

  • #support-escalations --- Receive only escalation and low-rating notifications for your support team to act on immediately.
  • #leads --- Receive only lead capture notifications so your sales team can follow up.
  • #chatsby-all --- A catch-all channel for all events, useful for general monitoring and auditing.

To configure per-event channel routing, go to the Integrations > Slack section of your agent's settings and use the channel dropdown next to each event type.

Human Takeover Flow

When your AI agent encounters a question it cannot answer or a visitor explicitly asks for a human, the escalation flow works as follows:

  1. The AI flags the conversation --- The agent recognizes it cannot resolve the issue and informs the visitor that a team member will be connected.
  2. Slack notification is sent --- A notification appears in the configured Slack channel with the full conversation history and a "Take Over" button.
  3. A team member claims the conversation --- A human agent clicks "Take Over" in Slack. The Chatsby dashboard marks the conversation as human-handled.
  4. The human responds from the Chatsby dashboard --- The agent opens the conversation in the Chatsby dashboard and types their response, which is delivered to the visitor in real time via the chat widget.

Human takeover responses are currently managed through the Chatsby dashboard, not directly in Slack. The Slack notification serves as the alert mechanism and provides a direct link to the conversation.

Managing the Integration

Changing the Notification Channel

To change which Slack channel receives notifications, go to Settings > Integrations > Slack in your agent dashboard and select a different channel from the dropdown. Changes take effect immediately.

Disconnecting Slack

To disconnect the Slack integration entirely:

  1. Go to Settings > Integrations > Slack in your agent dashboard.
  2. Click Disconnect.
  3. Confirm the disconnection.

This stops all Slack notifications immediately. Your Slack workspace will no longer have the Chatsby app authorized. You can reconnect at any time by repeating the setup process.

Troubleshooting

Missing Notifications

Possible CauseSolution
Event not enabledGo to Integrations > Slack and confirm the event type is toggled on
Channel was deleted or archivedVerify the configured channel still exists and is active in Slack
Slack permissions changedRe-authorize the integration by disconnecting and reconnecting
Chatsby agent paused or privateEnsure your agent is active and set to Public

Permissions Issues

If you see a "missing_scope" or "not_authorized" error during setup:

  • Ensure you have permission to install apps in your Slack workspace. Some workspaces restrict app installations to administrators.
  • Ask your Slack workspace admin to approve the Chatsby app from Slack Admin > Manage Apps.
  • If your workspace uses Slack Enterprise Grid, the app may need to be approved at the organization level before individual workspaces can install it.

Duplicate Notifications

If you receive the same notification multiple times, check that you do not have the same event routed to multiple channels. Also verify that you have not connected the same Slack workspace to multiple Chatsby agents without intending to.

Security and Data Sharing

The Chatsby Slack integration shares the following data with your Slack workspace:

  • Conversation messages --- The text content of messages exchanged between visitors and your AI agent (included in notification messages).
  • Visitor information --- Name, email, and any other contact details captured during the conversation.
  • Metadata --- Conversation timestamps, ratings, and agent identifiers.

Data is transmitted over encrypted HTTPS connections. Chatsby does not store Slack user tokens beyond what is necessary to send notifications. You can revoke access at any time by disconnecting the integration.

If your organization has strict data handling policies, consider routing notifications to a private Slack channel with restricted membership to limit who can see conversation data.