DOCUMENT OPS

Sync new contract renewal dates to Google Calendar and a Postgres register

On each new signed contract in Dropbox, extracts the effective date, renewal date, and notice deadline, upserts the contract into a Postgres obligations table.

CategoryDocument Ops
Enginesim
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew signed contract added to Dropbox folderDropboxDropbox
  • ActionExtract dates and obligations with OpenAIOpenAI
  • LogicCompute notice deadline; skip calendar if no renewal date
  • ActionUpsert contract and obligations into Postgres registerPostgreSQLPostgres
  • OutputCreate Google Calendar reminder before notice deadlineGoogle CalendarGoogle Calendar

What it does

Gives renewal management a system of record plus a calendar nudge. It captures the date trio from each contract, stores the contract and its obligations in a Postgres register your other systems can query, and books a calendar event before the notice window closes.

When to use it

Use it when your obligations data needs to live in your own database (for dashboards or downstream automation) and you want renewal deadlines to show up on a shared team calendar automatically.

How it works

  1. 1A new file in the Dropbox `/Signed Contracts` folder triggers the run.
  2. 2The PDF text is extracted and OpenAI returns the parties, obligations, effective date, renewal date, and notice-period length.
  3. 3A logic step computes the notice deadline (renewal date minus notice period) and skips calendar creation if no renewal date was found.
  4. 4The contract and its obligations are upserted into the Postgres obligations register.
  5. 5A Google Calendar event is created a configurable buffer before the notice deadline, titled with the contract and counterparty.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect DropboxFiles and folders.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  4. 4
    Connect Google CalendarEvents, attendees, availability.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.