DOCUMENT OPS

Validate vendor price-list uploads against business rules before Postgres sync

When a vendor price-list spreadsheet is uploaded, it checks SKUs against your Postgres catalog and enforces price-sanity rules, syncs valid rows to the pricing table.

CategoryDocument Ops
Enginesim
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVendor price-list uploaded to DriveGoogle DriveGoogle Drive
  • ActionLook up each SKU in Postgres catalogPostgreSQLPostgres
  • LogicApply price-sanity rules; split valid vs. rejected
  • ActionUpsert valid rows into pricing tablePostgreSQLPostgres
  • OutputEmail rejection report to vendorGmailGmail

What it does

This workflow validates a specific high-stakes document: a vendor price list. It parses the uploaded sheet, looks up each SKU against your Postgres product catalog to confirm it exists, and enforces business rules like positive prices and bounded percentage changes versus the current price. Valid rows are upserted into the pricing table; invalid rows are compiled into a report emailed back to the vendor.

When to use it

Use it when vendors send periodic price updates and a single bad row — an unknown SKU or a fat-fingered price — could push wrong pricing into your store. It enforces catalog membership and sanity bounds before anything touches the database.

How it works

  1. 1A new price-list spreadsheet upload triggers the run.
  2. 2Each row's SKU is looked up against the Postgres catalog.
  3. 3Price-sanity and required-field rules are applied; rows are split into valid and rejected.
  4. 4Valid rows are upserted into the Postgres pricing table.
  5. 5Rejected rows are compiled into a report and emailed to the vendor contact.

Set it up

What you configure once, before turning it on.

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