---
description: Get Slack messages in any channel for various user events
---

# Slack

Rep.ai integration with Slack creates a bot that will post messages whenever a user interacts with the Rep.ai widget, or [triggers a custom alert](https://docs.getservicebell.com/controlling-the-widget#servicebell-alert-options). Messages will include quick links to view the visitor's session or start a call, and will update when sessions are joined or missed.

### Installing the Slack App

To add Rep.ai bot to your Slack channel, go to the [Integrations page](https://app.rep.ai/settings/integrations) in your Rep.ai settings, find the Slack card, and click the toggle to enable it. You'll be redirected to Intercom to authorize the application and select which channel to have it post in.

![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2FP7DZyXRRL9ndJULKPioG%2Fslack-1.png?alt=media\&token=43a36812-c92d-448b-830a-0692b1ea10b7) ![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2F8WdyrbGeigAJZp6drL8q%2Fslack-2.png?alt=media\&token=a9f9b371-d830-41c6-9ce1-b6c95c50f92a)

### Configuring the Slack App

You can change which channel the bot posts in, and which events will cause it to post by clicking the "Configure" button in the Integrations section after installing it.

![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2F86h6vxcXtA8IvSKIZzOB%2Fslack-3.png?alt=media\&token=2b2c760d-0692-43bf-b2e7-2c8497d06d39) ![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2FVlGgwo4GFKrRBGJSC7rD%2Fslack-4.png?alt=media\&token=79a49ff9-a58d-4c81-920a-0e85bb422f30)

### Bot Messages

When a user dials or triggers an alert, a message will be posted with action buttons for immediately joining their session.

![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRrdcXUz0ewZ6h-36nQ%2F-MbcCHnDxC8PL7jIEAcb%2F-MbcFKHggE7PZxukQfud%2FFrame%204.png?alt=media\&token=d6576b17-2baa-492c-956b-443d596ac9da)

Once an admin joins the session, the buttons will be replaced with a note saying who joined.

![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRrdcXUz0ewZ6h-36nQ%2F-MbcCHnDxC8PL7jIEAcb%2F-MbcFTr8B1LmNS-NSUjx%2FScreen%20Shot%202021-06-07%20at%203.52.46%20PM.png?alt=media\&token=582f8a27-e06b-4784-b129-40a423e3f4df)

### Permissions

![](https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2FMLDBJ1Ty0lYICKy3n2b2%2FScreen%20Shot%202022-03-16%20at%2012.53.48%20AM.png?alt=media\&token=472cbab0-a857-4e2c-a8a3-d945e2c2c88c)
