AI & RAG

Serve a cited answer-bank lookup over a webhook search API

Exposes an HTTP webhook that embeds an incoming question, runs vector search over the Postgres answer bank.

CategoryAI & RAG
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHTTP webhook: question receivedHTTP webhook
  • ActionEmbed incoming questionOpenAI
  • ActionVector search non-quarantined answer_bankPostgreSQLPostgres
  • LogicReturn fallback if below confidence threshold
  • ActionLLM composes answer + attaches Confluence citationsOpenAI
  • OutputRespond with answer, confidence, citations JSONHTTP webhook

What it does

Makes your grounded answer bank callable from anywhere. Send a question to the webhook and get back a concise answer assembled strictly from your vetted entries, along with a confidence score and the source Confluence links each fact came from. This is the retrieval endpoint other tools (a Slack bot, an internal portal) build on.

When to use it

When you want one canonical, citation-backed answer service instead of wiring retrieval into every app separately. Useful for embedding self-serve answers into internal dashboards or chat tools.

How it works

  1. 1An HTTP webhook receives a question payload.
  2. 2The question is embedded with OpenAI.
  3. 3A vector similarity search retrieves the top non-quarantined entries from the Postgres answer bank.
  4. 4A logic step returns a low-confidence fallback if no entry clears the threshold, so callers never get a hallucinated answer.
  5. 5An LLM composes a tight answer from the retrieved snippets and attaches each entry's Confluence citation URL.
  6. 6The webhook responds with the answer, confidence score, and citation list as JSON.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  4. 4
    Connect ConfluenceSpaces, pages, blueprints.
  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.