DOCUMENT OPS

Auto-Triage Inbound Counterparty Contracts from Email

When a contract attachment arrives by email, it diffs the clauses against the approved template and routes the deal: clean drafts get an auto-approve reply.

CategoryDocument Ops
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerEmail with contract attachment receivedGmailGmail
  • ActionParse attachment and split into clausesOpenAI
  • ActionDiff clauses against approved templateOpenAI
  • LogicBranch on whether any deviation is material
  • OutputAuto-approve reply or escalate to counsel by emailGmailGmail

What it does

Intercepts inbound emails carrying contract attachments, extracts and diffs each clause against your approved master template, then makes a routing decision. Drafts that match the template trigger a polite "approved as written" reply to the sender, while drafts with material deviations are forwarded to the assigned counsel with a concise list of the offending clauses.

When to use it

Use it when contracts come in over email and you want clean papers to clear automatically while only the genuinely changed ones consume a lawyer's attention.

How it works

  1. 1An email with a contract attachment arrives and triggers the run.
  2. 2The attachment text is parsed and broken into clauses.
  3. 3OpenAI compares each clause against the approved template and flags material deviations.
  4. 4A logic branch checks whether any deviation is material.
  5. 5If clean, an auto-approve reply goes back to the sender; if not, the contract and a flagged-clause summary are forwarded to counsel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GmailRead, draft, send, label.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.