AI & RAG

Answer contract questions in Slack with grounded clause citations

Lets the team ask plain-English contract questions in Slack and replies with an answer that quotes the relevant clauses and links the exact source document and version they came…

CategoryAI & RAG
Enginesim
Difficultybeginner
Triggerchat
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSlack question via slash command or mentionSlack
  • ActionEmbed question and retrieve top clausesSupabaseSupabase
  • LogicBranch on retrieval confidence
  • ActionCompose answer grounded in retrieved clausesOpenAI
  • OutputPost cited answer to Slack threadSlack

What it does

Turns the versioned clause store into a self-serve Slack assistant. Someone asks "What is the termination-for-convenience notice period in the Acme MSA?" and the workflow retrieves the matching clauses, drafts a concise answer, and posts it back with verbatim quotes plus a link to the source file and version — so nobody acts on a paraphrase.

When to use it

When sales, support, or ops constantly ping legal with the same contract lookups. This deflects the routine questions while keeping answers defensible because every claim is tied to a cited clause.

How it works

  1. 1A Slack slash command or mention with a question fires the trigger.
  2. 2OpenAI embeds the question and Supabase returns the top matching clauses with their version metadata.
  3. 3A logic step checks retrieval confidence; weak matches are flagged rather than answered.
  4. 4OpenAI composes an answer constrained to the retrieved clauses, including inline quotes.
  5. 5The reply is posted to the Slack thread with the answer, quoted clauses, and a source-and-version citation link.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect SupabaseTables, auth, storage, edge functions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.