Slack Integration Guide
This guide will help you quickly configure and use FormAgent.ai's Slack integration to automatically sync visitor conversations to Slack, allowing your customer service team to view and respond to visitor inquiries within Slack.
✨ Features
- 🚀 One-Click Authorization - Quickly connect your Slack workspace via OAuth
- 🎯 Visual Selection - Select message receiving channels directly from the interface after authorization
- 📊 Auto-Sync Conversations - All visitor conversations automatically sync to Slack
- 👤 Visitor Profile Display - Threads include detailed visitor information (location, device, source, etc.)
- 💬 Bidirectional Message Sync - Visitor messages and agent replies sync in real-time
- 🔄 Human Takeover - Support one-click enable/disable human service in Slack
Prerequisites
- Slack workspace account
- FormAgent.ai account with created Agent
- Administrator has completed Slack App configuration (if not configured, contact your system administrator)
Quick Start
Step 1: Navigate to Integration Settings
- Log in to FormAgent.ai admin dashboard
- Select your Agent
- Navigate to "Settings" → "Integrations" → "Slack"
Step 2: Connect to Slack
- Click the "Connect to Slack" button on the page
- Your browser will redirect to the Slack authorization page
- Select the Workspace you want to authorize
- Review the permissions list and click "Allow" to authorize
After successful authorization, the page will automatically return to FormAgent.ai.
Step 3: Invite Bot to Channel
⚠️ Important: Only channels with the FormAgent.ai Bot added will appear in the next step's channel list.
Open or create a channel in Slack, then use either method to add the Bot:
Method 1: Using Command (Recommended)
Enter the command in the channel:
/invite @FormAgent.ai
Method 2: Add via Channel Settings (Suitable for users unfamiliar with commands)
- In the Slack channel, click the channel name to open channel details
- Select the "Integrations" tab
- Click "Add apps"
- Search for
FormAgent.ai - Click the "Add" button to add the Bot to the channel
Once the Bot successfully joins the channel, you can select that channel in FormAgent.ai.
Step 4: Select Message Receiving Channel
Return to the FormAgent.ai integration settings page:
- Select the message receiving channel from the dropdown (the channel where you just added the Bot)
- Click "Save" to save the configuration
- Enable the "Enable Integration" toggle
💡 Tips:
- The dropdown list only shows channels with FormAgent.ai Bot added
- If you don't see a channel, first add the Bot to that channel in Slack
- You can change channels at any time without re-authorizing
Using the Features
View Visitor Conversations
When a visitor sends a message on your website:
- A new Thread will be automatically created in the Slack channel
- The Thread header contains visitor profile information:
- Visitor location (city, country)
- Device information (browser, operating system)
- Source page URL
- Access time
- The Thread displays visitor messages and AI auto-replies
- The Thread footer has a "🚀 Start Human Service" button
Human Takeover
When you need human intervention:
- In the Slack Thread, click the "🚀 Start Human Service" button
- The system will display a prompt: "Human service enabled"
- AI auto-replies will pause
- Reply to the visitor in the Thread, and they will receive your message in real-time
- The visitor's subsequent replies will also sync to this Thread in real-time
End Human Service
When the conversation ends or you want AI to resume auto-replies:
- Click the "End Human Service" button in the Slack Thread
- The button status will revert to "🚀 Start Human Service"
- AI will resume auto-replying to the visitor's new messages
FAQ
How to change channels?
- In Slack, add the FormAgent.ai Bot to the new channel (using
/invite @FormAgent.aicommand or through channel settings) - Navigate to the FormAgent.ai integration settings page
- Select the new channel from the dropdown
- Click "Save"
💡 After changing channels, new conversations will be pushed to the new channel, while old conversation Threads remain in the original channel
How to revoke authorization?
Method 1: Revoke in FormAgent.ai
- Navigate to the integration settings page
- Click the "Disconnect" button
- Confirm revocation
Method 2: Revoke in Slack
- Go to Slack Workspace Settings
- Select "Apps" → "Installed Apps"
- Find FormAgent.ai and click "Remove"
Can multiple Agents share one authorization?
Yes, but not recommended.
- ✅ Recommended: Each Agent authorizes separately and can select different channels
- ⚠️ Shared authorization: All Agents' messages will be sent to the same channel, which may cause confusion
What if the channel list is empty?
Possible causes:
- You haven't added the FormAgent.ai Bot to any channels yet
- You haven't joined any channels in Slack
- OAuth Scopes missing required permissions (contact administrator)
Solutions:
- First, create or join a channel in Slack
- Then, add the FormAgent.ai Bot to that channel (see Step 3)
- Finally, refresh the FormAgent.ai page, and the channel will appear in the dropdown
💡 Tip: The dropdown only shows channels with FormAgent.ai Bot added, not all channels you've joined
What if authorization redirect fails?
Possible causes:
- Redirect URL configuration error
- Environment variables not properly configured
Solution: Contact your system administrator to check the configuration
Support
For questions, please contact:
- 📧 Support Email: [email protected]
- 📖 Documentation: FormAgent.ai Docs
Document Version: v1.1 Last Updated: 2025-11-26 Update Notes: Adjusted step order, added GUI method for adding Bot