DOCUMENT OPS
On-demand bulk backfill of a contract archive into the register
Triggered manually to sweep an existing archive of signed PDFs in cloud storage, extract terms from each, deduplicate against the register.
How it runs
The automated pipeline, trigger to output.
- TriggerOperator starts backfill manually
- ActionList all PDFs in the Google Drive archive folderGoogle Drive
- ActionExtract terms from each PDF with OpenAIOpenAI
- LogicDedup against existing register rows in Postgres
- OutputBulk-insert missing contracts and report run summaryPostgres
What it does
Backfills a register that started late. Pointed at a folder of historical executed agreements, it processes every PDF, extracts parties and dates, checks each against what is already in the register, and inserts only the ones that are missing so you get full history without duplicates.
When to use it
Use it once, or occasionally, when you stand up a contract register and need to load years of existing signed PDFs sitting in Google Drive. The ongoing intake workflows handle new files; this handles the back catalog.
How it works
- 1An operator starts the run manually.
- 2The workflow lists every PDF in the target Google Drive archive folder and iterates over them.
- 3Each file's text is extracted and OpenAI pulls counterparty, effective date, term, and renewal terms.
- 4A dedup check queries Postgres by counterparty plus effective date to skip contracts already registered.
- 5Missing contracts are bulk-inserted into the Postgres register, and a run summary reports how many were added, skipped, or failed to parse.
Set it up
What you configure once, before turning it on.
- 1Connect Google DriveDocs, sheets, slides, files.
- 2Connect OpenAIModels, embeddings, files.
- 3Connect PostgresAny Postgres URL — query, write, migrate.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Document Ops workflows
Narrate new Dropbox PDFs into MP3 audio versions
When a PDF lands in a watched Dropbox folder, extract its text and generate an ElevenLabs voice narration.
On-demand PDF narration via webhook with emailed audio link
Accepts a PDF URL through a webhook, generates an ElevenLabs narration with the requested voice, stores the MP3, and emails the requester a download link.
Triage emailed contract redlines and route by risk
When a counterparty emails a redlined contract, extracts the attachment, diffs clauses against approved templates.
Batch-narrate a Google Drive PDF folder in multiple languages
On a schedule, finds PDFs in a Google Drive folder that lack audio, then generates ElevenLabs narrations in each configured language and files them into per-language subfolders…
Executed Contract Exhibit & Initials Completeness Gate
When a signed contract lands in a Dropbox intake folder, verify every required exhibit, schedule, and initialed page is present.
Draft a negotiation brief from contract clause deviations
An agent reviews a contract against approved templates, researches each deviation.
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.
