Slack Integration Setup Guide
Connect AskVerdict to Slack to run AI debates and receive verdicts directly in any channel using slash commands.
Bring structured AI decision-making into Slack. Once connected, any team member can trigger a debate from any channel using a slash command and receive the verdict as a formatted message — no need to open AskVerdict separately.
Prerequisites
- An AskVerdict account (any plan)
- A Slack workspace where you have permission to install apps
- At least one credit or a BYOK subscription (debates cost credits)
How It Works
User types: /askverdict Should we migrate to a microservices architecture?
↓
AskVerdict runs a multi-agent debate (balanced mode by default)
↓
Verdict posted to the channel as a threaded replyThe integration uses Slack's OAuth flow to securely connect your workspace. AskVerdict receives only the permissions it needs — it cannot read existing channel history.
Step 1: Connect Slack
- Go to Settings → Integrations in the AskVerdict web app
- Click Connect Slack
- You will be redirected to Slack's OAuth consent screen
- Review the requested permissions:
commands— to register the/askverdictslash commandchat:write— to post verdict messages to channelschat:write.public— to post in public channels without being a member
- Click Allow
- You will be redirected back to AskVerdict with a success confirmation
If you see "Slack integration is not configured", your workspace administrator may need to pre-approve the AskVerdict app. Share this page with your Slack admin.
Step 2: Choose a Default Channel
After connecting, configure a default channel for automated notifications (optional — slash commands work in any channel regardless of this setting).
- In Settings → Integrations, find the Slack card
- Click Configure
- Enter the channel name or ID (e.g.
#decisionsorC04XYZ...) - Click Save
The API endpoint for updating configuration:
PATCH /api/integrations/slack
Authorization: Bearer vrd_your_api_key
Content-Type: application/json
{
"channelId": "C04XYZ12345",
"channelName": "decisions",
"postOnComplete": true,
"dmOnOutcome": false
}| Field | Type | Description |
|---|---|---|
channelId | string | Slack channel ID (max 32 chars) |
channelName | string | Human-readable channel name for display |
postOnComplete | boolean | Post to channel when debate completes (default: true) |
dmOnOutcome | boolean | DM the debate creator when an outcome is recorded (default: false) |
Step 3: Use the Slash Command
In any Slack channel or DM, type:
/askverdict <your question>Examples
/askverdict Should we hire a contractor or full-time for the backend role?
/askverdict Is it worth rewriting the mobile app in React Native?
/askverdict Should we raise prices by 20% this quarter?AskVerdict responds with an immediate acknowledgement, then posts the verdict when the debate completes (typically 30–90 seconds depending on mode).
Sample Verdict Response
AskVerdict [APP]
Verdict: Should we hire a contractor or full-time?
Recommendation: Hire a contractor for the immediate project, then reassess full-time headcount in Q3.
Confidence: 72% | Mode: Balanced | 3 rounds
Pros
• Immediate capacity without 6-month hiring timeline
• Project scope is well-defined and time-bounded
• Preserves headcount budget for product hires
Cons
• Knowledge transfer risk at project end
• Contractor rates 40% higher than equivalent full-time cost
View full debate → askverdict.ai/debates/dbt_abc123Configuration Options
Access your integration status programmatically:
GET /api/integrations/slack
Authorization: Bearer vrd_your_api_key{
"connected": true,
"integration": {
"id": "int_abc123",
"active": true,
"config": {
"teamName": "Acme Corp",
"teamId": "T01ABC...",
"channelId": "C04XYZ12345",
"channelName": "decisions",
"postOnComplete": true,
"dmOnOutcome": false,
"botUserId": "U05BOT..."
},
"createdAt": "2026-02-01T10:00:00Z",
"updatedAt": "2026-02-10T14:30:00Z"
}
}| Config Field | Description |
|---|---|
teamName | Your Slack workspace name |
teamId | Slack workspace ID |
channelId | Default notification channel ID |
channelName | Default notification channel name |
postOnComplete | Auto-post verdicts to the default channel |
dmOnOutcome | DM creator when an outcome is recorded |
botUserId | The bot's Slack user ID |
Disconnecting
To remove the Slack integration:
- Go to Settings → Integrations
- Click Disconnect on the Slack card
- Confirm the disconnection
Or via the API:
DELETE /api/integrations/slack
Authorization: Bearer vrd_your_api_keyThis removes AskVerdict's access token from Slack. The /askverdict command will stop working in your workspace. Your debate history in AskVerdict is not affected.
Troubleshooting
| Issue | Solution |
|---|---|
| "Request verification failed" | Slack sends signed requests — ensure SLACK_SIGNING_SECRET is current in AskVerdict settings |
| Command not appearing in Slack | The app may need to be reinstalled — click Connect Slack again |
| Verdict not posted to channel | Check that the bot has chat:write permission and is a member of the channel |
| "AskVerdict is not properly configured" | Contact support — a server-side environment variable may be missing |
| Redirect to error page after OAuth | Authorization was denied or an OAuth state mismatch occurred — try connecting again |
Slash commands run debates using your AskVerdict account's credits. Every team member who uses /askverdict in your workspace will consume credits from your account. Monitor usage at Developer Portal → Usage.
Was this page helpful?