AI & RAG
Slack /askdocs slash command over Confluence + GitLab wikis
Lets engineers run a /askdocs slash command in Slack and get an instant, source-cited answer pulled from Confluence and GitLab wikis.
How it runs
The automated pipeline, trigger to output.
- TriggerSlack /askdocs slash command webhookSlack
- ActionRetrieve Confluence + GitLab wiki passagesConfluence
- ActionSynthesize answer with OpenAIOpenAI
- LogicCitation guard: does answer reference a source?
- OutputEphemeral Slack reply with sourcesSlack
What it does
Exposes an /askdocs slash command in Slack. When invoked, it retrieves relevant content from Confluence and GitLab wikis, generates a concise answer with OpenAI, and returns it as an ephemeral reply visible only to the person who asked, including links to every source used.
When to use it
When you want self-serve documentation lookup inside Slack without a dedicated bot watching every channel. Ideal for teams that prefer on-demand queries over passive monitoring, and for keeping answers from spamming busy channels.
How it works
- 1A Slack slash command (/askdocs) sends the query to a webhook trigger.
- 2The flow acknowledges immediately, then embeds the query text.
- 3It retrieves top-ranked passages from Confluence and merges them with GitLab wiki matches.
- 4OpenAI synthesizes a short answer strictly from the retrieved passages and lists citations.
- 5A guard checks the answer actually cites a source; uncited answers are replaced with a "no documentation found" message.
- 6The result is posted back to Slack as an ephemeral message to the requester with clickable source links.
Set it up
What you configure once, before turning it on.
- 1Connect SlackChannels, DMs, threads, mentions.
- 2Connect ConfluenceSpaces, pages, blueprints.
- 3Connect GitLabRepos, MRs, pipelines, registry.
- 4Connect OpenAIModels, embeddings, files.
- 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 AI & RAG workflows
Coda-grounded sales answer bot with citations in Slack
Reps ask product, pricing, or competitive questions in Slack and get an answer drawn only from your Coda knowledge hub, with links to the exact docs and rows it pulled from.
Weekly knowledge-gap digest from unanswered rep questions
Each week, scans rep questions the answer bot couldn't ground in Coda, clusters the recurring gaps.
Pre-meeting prep brief grounded in Coda and CRM
Before each booked sales meeting, builds a one-page prep brief by combining the account's HubSpot context with grounded talking points and objection responses pulled from your…
Publish a Grounded API FAQ Page to Confluence Weekly
Each week, clusters the top unanswered or repeated API questions, generates spec-grounded answers with citations.
Detect Breaking API Changes from Spec Diffs and Alert Owners
Compares the new OpenAPI spec against the previous version on each GitLab merge, uses retrieval over the changelog to classify whether changes are breaking.
Re-Index API Specs on GitLab Merge to Keep the Answer Bot Fresh
Watches GitLab merges to your API repo, detects changed OpenAPI specs and changelog files, re-chunks and re-embeds only what changed.
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.
