Explorium Agent for Slack
AI-powered Slack bot for business intelligence queries using Explorium API through MCP.
Prerequisites
- Slack workspace with admin access
- Anthropic API key (You can replace with other LLM Chat)
- Explorium API Key
1. Create Slack App
Create App
- Go to api.slack.com/apps
- Click Create New App → From scratch
- Give it name (e.g., "Explorium Agent") and select workspace
Bot Permissions (OAuth & Permissions)
Add these Bot Token Scopes:
app_mentions:read
channels:history
channels:read
chat:write
emoji:read
groups:history
groups:read
im:history
im:read
mpim:history
mpim:read
reactions:read
users:read
Enable Events
- Event Subscriptions → Enable
- Add Request URL (from n8n Slack Trigger node)
- Subscribe to bot events:
- app_mention
- message.channels
- message.groups
- message.im
- message.mpim
- reaction_added
Install App
- Install App → Install to Workspace
- Copy Bot User OAuth Token (xoxb-...)
2. Configure n8n
Import & Setup
-
Import this JSON template
-
Slack Trigger node:
- Add Slack credential with Bot Token
- Copy webhook URL
- Paste in Slack Event Subscriptions Request URL
-
Anthropic Chat Model node:
- Add Anthropic API credential
- Model: claude-haiku-4-5-20251001
(You can replace it with other chat models)
- MCP Client node:
Usage Examples
@ExploriumAgent find tech companies in SF with 50-200 employees
@ExploriumAgent show Microsoft's technology stack
@ExploriumAgent get CMO contacts at healthcare companies