Slack Integration
Connect Sophic to your Slack workspace to capture operational knowledge from thread conversations.
Install the bot
- Open Settings > Integrations in your Sophic dashboard
- Click Connect Slack
- Authorize the Sophic bot in your Slack workspace
The bot requests the following OAuth scopes:
app_mentions:read— Receive@sophicmentionschannels:history/groups:history— Read thread messages (public and private channels) for capturechannels:read/groups:read— Resolve channel metadatachat:write— Post capture confirmationsusers:read— Resolve message authors
Commands
Sophic responds to mentions in threads. There are no slash commands — you interact with the bot by mentioning @sophic followed by a command:
| Command | Description |
|---|---|
@sophic start | Begin an incremental capture session for the current thread. New messages posted after this point will be captured when you stop. |
@sophic stop | Stop the active capture session and ingest all messages posted since @sophic start. |
@sophic capture | Immediately capture the entire thread in one shot. No need to start/stop. |
Incremental capture (start / stop)
Use this to capture a conversation as it happens:
- Mention
@sophic startin the thread to begin a session. - Continue your discussion naturally.
- Mention
@sophic stopwhen finished to trigger the ingestion.
Sophic saves the messages posted between your start and stop commands, providing a precise record of the specific knowledge shared.
One-shot capture (capture)
Use this to save a thread that is already complete:
- Mention
@sophic captureanywhere in the thread. - Sophic immediately ingests all messages in the thread.
- To update the captured document after more messages are added, simply mention
@sophic captureagain.
How it works
When Sophic receives a mention, it:
- Verifies the request signature (HMAC-SHA256, using
SLACK_SIGNING_SECRETand thex-slack-signature/x-slack-request-timestampheaders) - Resolves the workspace from the Slack team ID
- Fetches thread messages via the Slack API
- Sends the thread to Sophic's ingestion pipeline, where a librarian sweep consolidates it into the knowledge base
- Posts a confirmation back into the thread
Next steps
- GitHub Integration — Capture PR discussions
- Quickstart — Query your knowledge base over the API