CHATBOTS
Discord /ask command grounded in a Notion knowledge base
Powers a Discord slash command that answers members from your Notion knowledge base, citing the source pages, and replies privately so the channel stays clean.
How it runs
The automated pipeline, trigger to output.
- Trigger/ask slash command invoked in DiscordDiscord
- ActionSearch Notion knowledge base for matching pagesNotion
- ActionCompose cited answer from retrieved pagesOpenAI
- LogicBranch on whether relevant pages were found
- OutputReply ephemerally in Discord with citationsDiscord
- OutputFile Linear issue for missing topicLinear
What it does
This turns a Discord `/ask` slash command into a knowledge-base assistant. When a member runs `/ask <question>`, the workflow searches your Notion KB, builds an answer from the matching pages, and replies as an ephemeral message visible only to the asker. Each answer links the Notion pages it used. If the KB has nothing relevant, it files a Linear issue so the gap gets documented.
When to use it
Ideal for product or developer communities that maintain their docs in Notion and want answers on demand without flooding channels. The ephemeral reply keeps conversations uncluttered, and the Linear fallback turns every unanswerable question into a tracked content task instead of a dead end.
How it works
- 1A member invokes the `/ask` slash command, firing the trigger with their question.
- 2The workflow searches the Notion knowledge base for pages matching the question.
- 3An LLM composes an answer using only the retrieved pages and lists the citations.
- 4A branch checks whether any page cleared the relevance bar.
- 5If yes: an ephemeral Discord reply returns the cited answer to the asker.
- 6If no: a Linear issue is created flagging the missing topic for the docs team.
Set it up
What you configure once, before turning it on.
- 1Connect DiscordCommunity channels + voice + bots.
- 2Connect NotionPages, databases, comments.
- 3Connect OpenAIModels, embeddings, files.
- 4Connect LinearIssues, projects, cycles, triage.
- 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.
