AI & RAG
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.
How it runs
The automated pipeline, trigger to output.
- TriggerGitLab merge to default branchGitLab
- ActionFetch diff and list changed spec/changelog filesGitLab
- LogicFilter to spec and changelog paths only
- ActionChunk per operation and embed changed filesOpenAI
- ActionUpsert vectors and purge stale chunksPostgres
- OutputPost re-index summary to SlackSlack
What it does
On every merge to the default branch of your API repository, this pipeline finds which OpenAPI spec or changelog files changed, re-chunks and re-embeds just those files, and upserts the new vectors into Postgres while deleting stale chunks. The knowledge base stays current without a full re-index.
When to use it
Use it as the indexing backbone behind any API answer bot. Run it whenever specs change frequently and you can't afford the bot citing an endpoint that was renamed or deprecated last sprint.
How it works
- 1A GitLab merge event on the default branch triggers the flow.
- 2The diff is fetched to list changed `.yaml`/`.json` spec and changelog paths.
- 3A filter drops files outside the spec/changelog directories.
- 4Each changed file is chunked per operation and embedded with OpenAI.
- 5Vectors are upserted into Postgres, and chunks from deleted files are purged.
- 6A summary of what was re-indexed is posted to Slack for visibility.
Set it up
What you configure once, before turning it on.
- 1Connect GitLabRepos, MRs, pipelines, registry.
- 2Connect OpenAIModels, embeddings, files.
- 3Connect PostgresAny Postgres URL — query, write, migrate.
- 4Connect SlackChannels, DMs, threads, mentions.
- 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
RFP and security questionnaire drafter grounded in Coda
Drafts answers to inbound RFP and security questionnaire questions by retrieving approved language from your Coda hub, then files the cited draft for review before a rep sends it.
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.
Grounded reply suggestions for inbound sales email
Reads inbound prospect emails, retrieves the matching answers from your Coda hub.
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.
On-Call Spec Answerer from Dropbox Engineering Corpus
Answers on-call questions posted in a Slack channel by retrieving the most relevant Dropbox engineering specs and replying with a grounded, source-cited answer in the thread.
Agentic Deep-Dive API Researcher for Hard Spec Questions
An agent fielded via webhook that answers multi-part API questions by iteratively searching OpenAPI specs, changelogs, and Confluence runbooks.
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.
