AI-powered Slack bot that sniffs out bug reports from a feedback channel and auto-creates Notion tickets — so your team can stop playing ticket secretary.
- Watches
#surface_product_feedbackin Slack (via Socket Mode — always on, no webhooks) - Sends each new message to Claude to classify: is it a bug? is there enough detail?
- If yes → creates a ticket in the Notion Bug Tracker with title, status, and a link back to the Slack thread
- Posts a
:bug:confirmation reply in-thread
Feature requests, design feedback, and vague "stuff is broken" messages get ignored.
- A Slack App with Socket Mode enabled (setup guide)
- Bot scopes:
channels:history,channels:read,chat:write - Event subscription:
message.channels - App-level token scope:
connections:write
- Bot scopes:
- A Notion integration with access to your bug tracker database (create one)
- An Anthropic API key (get one)
SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-...
NOTION_API_KEY=ntn_...
ANTHROPIC_API_KEY=sk-ant-...
cp .env.example .env # fill in your tokens
npm install
npm run dev- Push to GitHub
- Create a Railway project → Deploy from GitHub
- Add env vars in the Railway dashboard
- Done — it auto-deploys on push
TypeScript · Node.js · Slack Bolt · Notion SDK · Anthropic SDK · Railway
MIT