1. Create the Slack app
- Go to api.slack.com/apps, click Create New App, choose From scratch, name it after your chatbot, and pick your workspace.
- Under OAuth & Permissions → Scopes → Bot Token Scopes, add
app_mentions:read,chat:write, andim:history. - Under App Home, turn on the Messages Tab and allow users to send messages from it.
- Click Install to Workspace and approve.
2. Connect it to CustomerGPT
- In CustomerGPT, select your chatbot, open Integrations, and click 🔌 Configure on Slack Connect.
- Paste the Bot User OAuth Access Token from OAuth & Permissions in Slack. It starts with
xoxb-. - Paste the Signing Secret from Basic Information → App Credentials in Slack.
- Copy Your Slack Event Webhook Link, then click Save Settings.
3. Send Slack’s events to CustomerGPT
- Back in your Slack app, open Event Subscriptions and turn on Enable Events.
- Paste the webhook link into Request URL. Slack checks it and shows Verified.
- Under Subscribe to bot events, add
app_mentionandmessage.im. - Click Save Changes. If Slack asks you to reinstall the app, do so.
Test it
Open a direct message with the app in Slack and ask a question, or invite the app to a channel with/invite @YourApp and @mention it. The answer arrives in a thread.
How it works
- One conversation per thread. Each Slack thread becomes a conversation in Chat History, tagged
slack. A new message outside a thread starts a new conversation, so ask follow-up questions in the thread where the chatbot answered. Every answer counts toward your monthly messages, as on your website. - Text only. The chatbot reads the text of messages and ignores messages from other bots.
- Sales Automation applies. If it’s on, the chatbot qualifies and collects contact details in Slack too. See Collect leads.
- You can reply yourself. Click Take Over Chat on the conversation in Chat History to pause the chatbot in that thread. The app posts 🎧 A team member has joined and will reply here., then posts each reply you send. Click Release Chat to AI to hand the thread back. See Take over a conversation.