Transform your thoughts into organized, actionable knowledge without writing a single line of code.
A fully automated Second Brain system that captures your thoughts from Slack, intelligently classifies them using AI (Google Gemini), and organizes them into structured Notion databases. This system works for you 24/7, turning scattered ideas into compounding knowledge.
We have moved the deep-dive setup guides to separate documents to keep this README clean:
- 1. Notion Setup Guide (Critical: Start here to build your database backend)
- 2. n8n Workflow Setup (Importing and configuring the engine)
- 3. Configuration & Tuning (Adjusting confidence scores and prompts)
Your brain wasn't designed to be a storage systemβit was designed to think. Every time you force your brain to remember something instead of letting it think, you pay an invisible tax:
- Relationships cool off because you forgot what mattered to someone
- Projects fail in ways you predicted but forgot to document
- Constant anxiety from open loops and untracked commitments
- Lost opportunities from ideas that never got captured
For 500,000 years, humans have had the same cognitive limitations:
- Working memory: 4-7 items
- Poor retrieval without external systems
- Great at pattern recognition, but only when patterns are visible
2026 is different. For the first time in human history, we have AI systems that don't just passively store informationβthey actively work on it while you sleep.
- Intelligent Capture - Drop thoughts into a Slack channel, one per message
- AI Classification - Google Gemini 2.5 Pro automatically categorizes into:
- π₯ People - Contacts, relationships, follow-ups
- π Projects - Active work with status tracking
- π‘ Ideas - Concepts, insights, future possibilities
- π Admin - Tasks, deadlines, to-dos
- Automatic Routing - Each thought goes to the right Notion database
- Confidence Scoring - Low-confidence items flagged for review
- Audit Trail - Every capture logged with timestamp and metadata
- Daily Digest - Automated morning summary delivered to Slack at 9 AM
- Lighter cognitive load - Close all those mental open loops
- Better continuity - Show up prepared for people and projects
- Compounding insights - Patterns emerge over time
- Reduced anxiety - Turn background hum into actionable next steps
- Restart-friendly - Life happens; the system waits for you
graph LR
A[Slack Channel] -->|Webhook| B[n8n Workflow]
B -->|Extract Text| C[Google Gemini AI]
C -->|JSON Response| D{Confidence Check}
D -->|>0.6| E[Inbox Log]
D -->|β€0.6| F[Needs Review]
E --> G{Type Router}
G -->|people| H[People DB]
G -->|projects| I[Projects DB]
G -->|ideas| J[Ideas DB]
G -->|admin| K[Admin DB]
F --> L[Manual Review Queue]
graph LR
A[Schedule Trigger<br/>9 AM Daily] --> B[People DB]
A --> C[Projects DB]
A --> D[Ideas DB]
A --> E[Admin DB]
B --> F[Merge Data]
C --> F
D --> F
E --> F
F --> G[JavaScript Aggregator]
G --> H[Google Gemini AI]
H -->|Plain Text Summary| I[Slack Channel]
- Capture Interface: Slack (private channel)
- Automation Engine: n8n (workflow automation)
- AI Classification: Google Gemini 2.5 Pro
- Storage: Notion (5 databases)
- Integration: Webhooks + REST APIs
| Field | Type | Purpose |
|---|---|---|
| Name | Title | Person's name |
| Context | Rich Text | How you know them, background |
| Follow-ups | Rich Text | Things to remember/do |
| Last Touched | Date | Last interaction |
| Tags | Multi-select | Categories |
| Field | Type | Purpose |
|---|---|---|
| Name | Title | Project name |
| Status | Select | Active / Waiting / Blocked / Someday / Done |
| Next Action | Rich Text | Immediate next step |
| Notes | Rich Text | Context and details |
| Tags | Multi-select | Categories |
| Field | Type | Purpose |
|---|---|---|
| Name | Title | Idea name |
| One-liner | Rich Text | Quick summary |
| Notes | Rich Text | Full description |
| Tags | Multi-select | Categories |
| Field | Type | Purpose |
|---|---|---|
| Name | Title | Task name |
| Due Date | Date | Deadline |
| Status | Select | Open / Done |
| Field | Type | Purpose |
|---|---|---|
| Captured Text | Title | Original message |
| Filed To | Select | Destination database |
| Record ID | Rich Text | Execution ID |
| Confidence | Number | AI confidence score (0-1) |
| Timestamp | Date | When captured |
| Needs Review | Rich Text | Flag for low confidence |
For detailed, step-by-step instructions (including how to create the databases securely), please see the Notion Setup Guide.
- Slack workspace (free tier works)
- n8n instance (cloud or self-hosted)
- Notion account (free tier works)
- Google Gemini API key
- Create a new Slack channel (e.g.,
#second-brain-inbox) - Make it private if desired
- Pin a message: "Drop one thought per message. The AI will file it automatically."
β οΈ Go to docs/notion-setup.md for the critical security steps.
- Create a new Notion page called "Second Brain"
- Create 5 database tables using the schemas above
- Note the database IDs (you'll need them for n8n)
- Import
second-brain.jsoninto your n8n instance - Update credentials:
- Slack Webhook: Configure webhook URL
- Google Gemini API: Add your API key
- Notion API: Connect your Notion workspace
- Update database IDs in each Notion node
- Activate the workflow
Send a test message to your Slack channel:
Met Sarah at the conference. She's working on climate tech.
Follow up about potential collaboration.
Check your Notion - it should appear in the People database!
-
Capture - Throughout the day, drop thoughts into Slack
- One thought per message
- No formatting needed
- Don't overthink it
-
Trust - The AI classifies and routes automatically
- High confidence (>0.6) β Auto-filed
- Low confidence (β€0.6) β Review queue
-
Review - Check your Inbox Log periodically
- Verify low-confidence items
- Move to correct database if needed
-
Act - Use your databases as your source of truth
- People: Before meetings/calls
- Projects: Weekly planning
- Ideas: Creative sessions
- Admin: Daily task list
β DO:
- Capture immediately when thoughts occur
- Keep messages concise and clear
- Review weekly to spot patterns
- Restart without guilt if you miss days
β DON'T:
- Try to catch up on backlog (just restart)
- Over-organize (let the AI do it)
- Batch capture (real-time is better)
- Stress about perfect classification
This system is built on 12 core principles for scalable personal automation:
- Design for capture friction, not organization friction
- Automate the boring, preserve the human judgment
- Build for the 80% case, handle the 20% manually
- Make the system legible to non-technical users
- Optimize for restart, not perfection
- Use confidence scores to route edge cases
- Log everything for debugging and trust
- Separate capture from processing
- Start simple, add sophistication only when needed
- Build for restart, not perfection
- Build one workflow, then attach modules
- Optimize for maintainability over cleverness
second-brain/
βββ second-brain.json # n8n workflow definition
βββ docs/ # Detailed setup guides
βββ README.md # This file
The system uses a strict JSON schema for classification:
You are a strict JSON generator for a Second Brain system.
Your task:
1. Classify the input into ONE of these types:
- people
- projects
- ideas
- admin
2. Based on the type, output JSON that matches the EXACT schema for that type.
You MUST output valid JSON only.
No markdown. No explanation. No extra keys. No missing keys.
Confidence Scoring:
>0.6= Auto-file with confidenceβ€0.6= Flag for manual review- Ensures quality without blocking automation
The system includes an automated daily digest that runs every morning at 9 AM:
- Schedule Trigger - Activates daily at 9:00 AM
- Data Collection - Fetches records from all 4 databases (People, Projects, Ideas, Admin)
- Filters: Records edited on or before today
- Aggregation - JavaScript code combines all records into a single dataset
- AI Summary - Google Gemini generates a concise executive summary:
- Max 150 words
- Plain text (no markdown)
- Calm, direct, practical tone
- Delivery - Posted to your Slack
#sb-inboxchannel
The AI creates a structured summary with:
- Today's focus - Top 3 priority items
- Overdue/risky items - Anything requiring immediate attention
- Progress notes - Small wins or recent updates
You can adjust:
- Timing: Change
triggerAtHourin the Schedule Trigger node (default: 9 AM) - Tone: Modify the system prompt in the "Message a model" node
- Length: Adjust max word count in the prompt (default: 150 words)
- Filters: Change date filters to show different time ranges
Once your core loop is working, you can extend with:
- Voice Capture - Integrate with voice memos
- Meeting Prep - Pull relevant people/projects before meetings
- Email Forwarding - Forward important emails to Slack
- Birthday Reminders - Auto-surface from People database
- Weekly Review - Automated rollup of the week
- Custom Digest Times - Add evening or weekend summaries
Remember: Build the core loop first. Add modules only when you have evidence they're needed.
- Check Slack webhook URL is correct
- Verify webhook is active in n8n
- Test with a simple message
- Review confidence scores in Inbox Log
- Adjust prompt if consistent misclassification
- Use manual review queue for edge cases
- Verify API token hasn't expired
- Check database permissions
- Reconnect integration if needed
- Make Slack messages more explicit
- Add context to ambiguous thoughts
- Review and reclassify in Notion
You'll know the system is working when:
- β You feel lighter - fewer open loops in your head
- β You show up with more continuity for people and projects
- β You can restart easily after missing days
- β Patterns emerge from your captured thoughts
- β Anxiety shifts from "what am I forgetting?" to "what's next?"
This isn't about productivity theater. It's about giving your brain the support system it deserves.
This system is based on the Second Brain methodology and modern AI automation principles. It's designed for 2026 and beyond, where AI doesn't just storeβit actively works on your behalf.
"For the first time in human history, you have access to systems that will work for you while you sleep. That classify your thoughts without you deciding, that surface the right information without you searching, that nudge you toward the goals and priorities you've set without you having to remember them."
This project is open source and available for personal and commercial use. Feel free to adapt, extend, and share!
- Clone this repository
- Follow the setup guide above
- Start capturing thoughts
- Watch your second brain come alive
The best time to build a second brain was yesterday. The second best time is now.
Built with β€οΈ for humans who think too much and remember too little.