DOCUMENT OPS
Scan the contract index nightly and alert on upcoming renewals
Runs on a nightly schedule, queries the Postgres contract index for agreements with renewal or expiry dates inside a configurable window.
How it runs
The automated pipeline, trigger to output.
- TriggerNightly schedule fires
- ActionQuery Postgres index for upcoming renewals/expiriesPostgres
- LogicBucket by urgency and owning team; skip if empty
- OutputPost grouped renewal digest to SlackSlack
What it does
This workflow keeps your contract index honest by acting on it. Each night it queries Postgres for contracts whose renewal or expiration date falls inside a lookahead window, groups them by owning team, and posts a clean digest to Slack so nothing auto-renews or lapses unnoticed.
When to use it
Use it once you already have an indexed contract repository and want proactive renewal management. Ideal for finance and ops teams that have been burned by silent auto-renewals or missed cancellation windows.
How it works
- 1A nightly schedule triggers the run.
- 2The workflow queries the Postgres contract index for renewal or expiry dates within the configured window (e.g. next 60 days).
- 3A logic step buckets results by urgency — cancellation-deadline-soon versus renews-soon — and by owning team.
- 4If no contracts fall in the window, the run ends quietly with no noise.
- 5Otherwise a grouped digest, with counterparty, dates, value, owner, and source link, is posted to the relevant Slack channel.
Set it up
What you configure once, before turning it on.
- 1Connect PostgresAny Postgres URL — query, write, migrate.
- 2Connect SlackChannels, DMs, threads, mentions.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Document Ops workflows
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.
Flag redline deviations when a contract lands in Drive
Watches a Google Drive folder for incoming counterparty contracts, diffs each clause against your approved template library.
Triage emailed contract redlines and route by risk
When a counterparty emails a redlined contract, extracts the attachment, diffs clauses against approved templates.
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.
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.
