Slack Integration
Overview
Connect your team’s Slack workspace to receive production deploy notifications, error alerts, and direct coaching from SupaSherpa - all in the tool you already use daily. Fiftyknots routes communication to the channel that fits your geography: founders in the US, Canada, and UK default to Slack, while other regions default to WhatsApp. You can override this preference anytime.Step-by-Step Guide
Receiving Deploy Notifications
- Configure your webhook URL - Add
SLACK_WEBHOOK_URL_DEPLOYSto your environment variables with your Slack incoming webhook URL - Deploy your application - When the deploy-production workflow completes, a formatted message appears in your configured Slack channel
- Review the deploy summary - The message includes version string, commit SHA, job statuses, deployment URLs, and total pipeline duration
- Check for failures - Failed deploys show a red sidebar, include the failure reason, and tag the commit author
Getting SupaSherpa Messages in Slack
- Verify your location - If your profile country is US, CA, or GB, Slack becomes your default channel
- Connect your Slack account - Visit the SupaSherpa settings and link your Slack user ID to your Fiftyknots profile
- Send a DM to the Fiftyknots bot - Start a conversation directly in Slack
- Receive formatted responses - SupaSherpa replies appear as Block Kit messages with four beats (route, momentum, next cairn, savings) and action buttons for next steps
- Override if needed - Use
PUT /api/v1/supasherpa/channel-preferencewith{ "channel": "slack" }to force Slack as your preferred channel regardless of location
Setting Up Claude Code Integration
- Configure your bot token - Add
SLACK_BOT_TOKENto your environment variables - Register the MCP server - Add the Slack MCP server to
.claude/settings.local.json - Restart Claude Code - Four tools become available:
post_message,post_session_summary,post_changelog, andlist_channels - Post session summaries - Invoke
post_session_summarywith summary text and channel name to share code changes with your team - Review the formatted message - The tool posts a Block Kit message with session date, summary, files changed count, and a divider
Monitoring Sentry Errors in Slack
- Configure the same webhook URL - Use the
SLACK_WEBHOOK_URL_DEPLOYSvariable set for deploy notifications - Trigger a Sentry event - When errors occur in production, Sentry webhooks fire automatically
- Check your Slack channel - Error alerts appear with severity color coding (red, orange, yellow, blue), error title, project name, occurrence count, users affected, and a “View in Sentry” button
Common Questions
Q: What happens if I’m not in the US, Canada, or UK?A: The system defaults to WhatsApp for founders in South Africa, Brazil, and India. If you prefer Slack anyway, set your explicit channel preference to override the geographic default. Q: Can I still receive messages in multiple channels?
A: Yes. Deploy notifications and error alerts go to configured Slack webhooks regardless of your SupaSherpa channel preference. Your personal coaching messages follow your channel preference setting. Q: What if my Slack webhook fails?
A: Deploy and error notification failures are logged but don’t affect other channels. Teams and email notifications continue working. Check your webhook URL configuration if messages stop arriving. Q: Do I need to configure anything for SupaSherpa to work in Slack?
A: You need a verified Slack channel mapping in the
supasherpa_channel_mappings table. If you send a DM to the Fiftyknots bot without this, you’ll receive an onboarding message with a link to connect your account at https://platform.fiftyknots.com.
Q: Can I disable Slack for SupaSherpa but keep deploy notifications?A: Yes. Set
SLACK_SUPASHERPA_ENABLED to false. The webhook still accepts and acknowledges events but doesn’t process SupaSherpa messages. Deploy and error notifications work independently.
Troubleshooting
Issue: Claude Code tools return “SLACK_BOT_TOKEN not configured”Solution: Add
SLACK_BOT_TOKEN to your environment variables. The MCP server requires this token to authenticate with Slack’s API. Restart Claude Code after adding the variable.
Issue: SupaSherpa responds with an onboarding message instead of answeringSolution: Your Slack user ID isn’t linked to your Fiftyknots profile. Visit
https://platform.fiftyknots.com and complete the Slack account connection flow in SupaSherpa settings.
Issue: Deploy notifications aren’t appearing in SlackSolution: Verify
SLACK_WEBHOOK_URL_DEPLOYS is set correctly. Test the webhook URL manually with a curl command. Check that the workflow summary job completed successfully in GitHub Actions.
Issue: Messages appear as plain text instead of formatted blocksSolution: Slack’s Block Kit requires the message payload to use the correct structure. If you’re seeing plain text, the adapter may be falling back to legacy formatting. Check logs for Block Kit validation errors and verify your bot token has the necessary scopes.