AI & RAG
Nightly re-index of Confluence + GitLab wikis into a vector store
Runs every night to pull changed Confluence pages and GitLab wiki pages, chunk and embed them.
How it runs
The automated pipeline, trigger to output.
- TriggerNightly schedule
- ActionFetch changed Confluence + GitLab pagesConfluence
- LogicSplit into upserts vs. deletes by change type
- ActionChunk and embed pages with OpenAIOpenAI
- OutputUpsert/prune vectors in Postgres pgvectorPostgres
What it does
Keeps your retrieval index current. On a nightly schedule it fetches pages updated since the last run from Confluence and GitLab wikis, splits them into chunks, generates embeddings, and upserts the vectors into a Postgres pgvector table. Deleted pages are pruned so stale answers don't resurface.
When to use it
Whenever you run any RAG answer bot over engineering docs and need retrieval to reflect edits made during the day. Run it on its own so the question-answering flows stay fast and never embed at query time.
How it works
- 1A nightly schedule trigger starts the run.
- 2The flow queries Confluence and GitLab for pages with an updated timestamp newer than the last successful run.
- 3A change filter splits results into upserts (new/edited) and deletes (removed pages).
- 4Each changed page is chunked and embedded via OpenAI.
- 5Vectors are upserted into the Postgres pgvector store; tombstoned pages are deleted.
- 6The run records its completion timestamp in Postgres for the next incremental pass.
Set it up
What you configure once, before turning it on.
- 1Connect ConfluenceSpaces, pages, blueprints.
- 2Connect GitLabRepos, MRs, pipelines, registry.
- 3Connect OpenAIModels, embeddings, files.
- 4Connect PostgresAny Postgres URL — query, write, migrate.
- 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.
