AI & RAG

Ingest new manual revisions from Drive and rebuild the citation index

Watches a Google Drive folder for new manual PDF revisions, chunks and embeds each page.

CategoryAI & RAG
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew or updated manual PDF in Google Drive folderGoogle DriveGoogle Drive
  • ActionDownload PDF and split into per-page chunks with page numbersGoogle DriveGoogle Drive
  • LogicCheck Supabase for existing manual+version to insert or supersedeSupabaseSupabase
  • ActionGenerate embeddings for each page chunkOpenAI
  • OutputUpsert versioned chunks and metadata into Supabase vector storeSupabaseSupabase

What it does

Keeps the equipment-manual knowledge base current. When a manufacturer publishes a new revision PDF, it splits the document by page, generates embeddings, and stores each chunk with its document version and page number so downstream answers can cite exactly.

When to use it

Run this as the foundation for any manual Q&A workflow. Use it whenever manuals are updated on a cadence and you need retrieval to know which revision a passage belongs to rather than blending old and new specs.

How it works

  1. 1A new or updated PDF lands in the watched Google Drive manuals folder, firing the trigger.
  2. 2The file is downloaded and split into per-page text chunks, preserving page numbers.
  3. 3The flow checks Supabase for an existing record of this manual and version to decide insert versus supersede.
  4. 4OpenAI generates embeddings for each page chunk.
  5. 5Chunks, embeddings, version tag, and page metadata are upserted into the Supabase vector store, marking the prior revision as superseded.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect Google DriveDocs, sheets, slides, files.
  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.