CHATBOTS
Slack /docs command: cited answer from ReadMe knowledge base
A Slack slash command that searches your ReadMe docs, answers the question in the channel with inline source links, and quietly logs a suggestion when the matched docs were thin.
How it runs
The automated pipeline, trigger to output.
- TriggerSlack /docs slash command receivedSlack
- ActionSearch ReadMe knowledge base for matching pagesReadMe
- ActionCompose grounded, cited answer with OpenAIOpenAI
- LogicScore retrieval confidence; flag weak coverage
- OutputPost answer with source links to Slack threadSlack
What it does
Gives your team a `/docs` slash command in Slack. Someone types a question, an LLM searches your ReadMe knowledge base, and the bot replies in-thread with a concise answer plus links to the exact doc pages it used. If the retrieved pages weakly cover the question, it appends a short "this doc could be clearer" note so writers know what to improve.
When to use it
When support, sales, or engineering keep asking the same product questions and the answers already live in ReadMe but nobody finds them. Turns your published docs into a self-serve answer engine without standing up a separate chat UI.
How it works
- 1Slack sends the `/docs` slash-command payload to the gateway webhook.
- 2The flow pulls the matching pages from ReadMe via search.
- 3OpenAI composes a grounded answer using only the retrieved page text, with citations.
- 4A logic step scores retrieval confidence; low confidence flags a doc-gap suggestion.
- 5The bot posts the answer and source links back to the Slack channel as a threaded reply.
Set it up
What you configure once, before turning it on.
- 1Connect SlackChannels, DMs, threads, mentions.
- 2Connect ReadMeAPI docs, changelog, auth.
- 3Connect OpenAIModels, embeddings, files.
- 4Connect HTTP webhookTrigger any URL on agent actions.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
Discord WAF False-Positive Triage from Ray ID
When a user posts a Cloudflare ray ID in a Discord support channel, the bot looks up the blocked request's WAF event, classifies whether it looks like a genuine false positive.
Agentic WAF Investigator with Discord Approval Gate
An autonomous agent investigates a Discord-reported WAF block end to end: pulls Cloudflare logs, correlates with PagerDuty incidents, decides if an allowlist is safe.
Discord Onboarding Completion to CRM Sync
The moment a member finishes Discord onboarding, captures their submitted profile answers, creates or updates a contact in HubSpot.
Draft WAF Allowlist Proposal to Linear from Discord Report
Lets a support engineer confirm a Discord WAF report is a false positive, then auto-drafts a scoped Cloudflare allowlist rule proposal and files it as a Linear ticket…
Discord FAQ Free-Text Answer Grader
When a member submits a free-text answer in their onboarding thread, an agent grades it against the canonical FAQ knowledge base, replies with targeted feedback.
Discord FAQ-Gated Role Concierge
Greets each new Discord member in a private onboarding thread, walks them through required FAQ steps one at a time.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
