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.

CategoryAI & RAG
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSlack /askdocs slash command webhookSlack
  • ActionRetrieve Confluence + GitLab wiki passagesConfluenceConfluence
  • 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

  1. 1A Slack slash command (/askdocs) sends the query to a webhook trigger.
  2. 2The flow acknowledges immediately, then embeds the query text.
  3. 3It retrieves top-ranked passages from Confluence and merges them with GitLab wiki matches.
  4. 4OpenAI synthesizes a short answer strictly from the retrieved passages and lists citations.
  5. 5A guard checks the answer actually cites a source; uncited answers are replaced with a "no documentation found" message.
  6. 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.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect ConfluenceSpaces, pages, blueprints.
  3. 3
    Connect GitLabRepos, MRs, pipelines, registry.
  4. 4
    Connect OpenAIModels, embeddings, files.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.