DOCUMENT OPS
Draft counter-language for off-standard clauses from emailed contracts
When a contract arrives as a Gmail attachment, it diffs each clause against the standard library and drafts suggested counter-language for deviations.
How it runs
The automated pipeline, trigger to output.
- TriggerContract arrives as Gmail attachmentGmail
- ActionParse attachment and segment clauses
- ActionDiff clauses and draft counter-languageOpenAI
- LogicSkip on-standard clauses
- OutputEmail negotiation memo to deal ownerGmail
What it does
This workflow handles contracts that show up in the inbox. It pulls the attachment, compares each clause to your approved language, and for every deviation drafts proposed counter-language that pulls the term back toward the standard. The result is a ready-to-send negotiation memo.
When to use it
Use it when counterparties email redlines and your team wants a head start on the response rather than a bare list of problems. It is most useful for deal owners who negotiate directly and need defensible fallback wording fast.
How it works
- 1An inbound Gmail message with a contract attachment triggers the run.
- 2The attachment is parsed and segmented into clauses.
- 3OpenAI diffs each clause against the standard clause library and drafts counter-language for any deviation.
- 4A logic step skips clauses already on-standard so the memo stays focused.
- 5The compiled memo, with proposed wording per clause, is emailed back to the deal owner.
Set it up
What you configure once, before turning it on.
- 1Connect GmailRead, draft, send, label.
- 2Connect OpenAIModels, embeddings, files.
- 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.
