A frictionless "second brain" pipeline that captures insights from Slack and stores them in Salesforce using AI classification.
- 💬 Post a message to a private Slack channel
- 🤖 Claude classifies it (People, Projects, Ideas, or Admin)
- ☁️ It's automatically committed to Salesforce
No tagging. No deciding where things go. No friction.
Inspired by Nate Channel's approach using Zapier, adapted for enterprise environments using Slack, Workato, Claude, and Salesforce.
Full Post on Medium -- including Step-by-Step
- Node.js 20+, Python 3.11+, Salesforce CLI, Workato Platform CLI
- UV (Fast Replacement for pip)
- Salesforce CLI
- Workato Developer Sandbox (Free Developer sandbox)
- Salesforce Developer Org (Free Developer Edition)
- Slack (Create a free new slack just for this)
- Get an Anthropic API Key ($5 Credit when you first sign up)
Assumptions: UV is installed, Salesforce CLI is installed.
- Free Workato Developer Sandbox
- Free Salesforce Developer Org
- Free Slack Workspace dedicated for Enterprise Second Brain
- Have created Anthropic API Key
git clone https://github.com/agentgill/enterprise-second-brain.git
cd enterprise-second-brain- Authenticate to your Salesforce Developer Org
sf org login web -a esb-dev - Deploy metadata
sf project deploy start -d salesforce/force-app -o esb-dev - Assign permission set
sf org assign permset -n Second_Brain_Access -o esb-dev
Install Workato Platform CLI using UV
uv sync --python 3.12Note: We use UV instead of pip for faster dependency management. The
uv runprefix automatically executes commands within the virtual environment without needing to activate it.
- Log in to your Workato Sandbox
https://app.trial.workato.com - Navigate to
Workspace admin>API clients - Create a new
Client rolefor simplicity when in Developer sandbox, just select all breaking the least privilege principle - Create a new
API clientSelect Client role from above and save changes - Copy the API token somewhere so you can copy/paste when setting up Workato Platform CLI
- Activate venv & Workato Init
uv run workato init - Create a new profile
esb - Select Workato region Developer Sandbox
https://app.trial.workato.com - Copy/paste token generated from
Configure Workato API Token - Create a new project called
src
As we intend to install the source in a new Workato Developer Sandbox, we need
copy the source to our new folder src before we can push into the workspace
- Copy workato source
cp -r workato/* src/and powershellCopy-Item -Path workato\* -Destination src -Recurse - Deploy workato src
uv run workato push
- Login into your Workato Developer Sandbox
- Login into Slack Workspace (the one you signed up for, not your work one)
- Navigate to connections for project
- Then Projects -> src -> esb -> connections
- Connect Slack - Allow the ‘Workato Trial’ app to access Slack
- Connect Salesforce - Login to your Salesforce Developer Org & Allow App
- Connect Anthropic - Update Anthropic API Key with your Key
Only do this after you have connected your apps
- Create a new app
https://docs.slack.dev/app-management/quickstart-app-settings - Create an app
From a manifest - Pick a workspace to develop your app in - should be your new Slack workspace (not your work one)
- Open
slack/manifest.jsonand copy intoCreate app from Manifest - To get the
Request URLfrom theIngressRecipe - Click
New event in Slackand copy theRequest URL - Replace
UPDATE_HEREwith theRequest URL, then next - Click
Createon the Review summary & create your app - Within the
Slack App > Features > Event SubscriptionsclickRetryon the Request URL andSave Changes - Within the
Slack App > Settings > Install App - Click
Install to YOUR_WORKSPACE_NAME - Allow
Allow the ‘App Name’ app to access Slack - View app(s) via here
https://api.slack.com/apps
Start all recipes uv run workato recipes start --all
├── salesforce/ # Salesforce metadata (Second_Brain__c object)
├── workato/ # Workato recipes and connections
├── slack/ # Slack app manifest
├── docs/ # Reference documentation
├── .claude/ # Claude Code skills and commands
└── src/ # Your local Workato project (created during setup)
We've included some extras for Claude Code users:
- Claude Skills - Custom skills for Salesforce admin and Workato development (
.claude/skills/) - Claude Commands - Deploy Salesforce metadata with
/deploy-salesforce(.claude/commands/) - Salesforce Plan - Reference implementation plan (
docs/salesforce-plan.md)