INVOICE PROCESSING

Monthly Vendor Statement Tie-Out Against the Snowflake AP Ledger

On a monthly schedule, this pulls each vendor's latest statement from Google Drive, reconciles every invoice against the AP ledger in Snowflake.

CategoryInvoice Processing
Enginesim
Difficultyadvanced
Triggerschedule
Steps7
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMonthly close schedule fires
  • ActionList and read new statement files in DriveGoogle DriveGoogle Drive
  • ActionParse statements into structured invoice rowsOpenAI
  • ActionQuery AP ledger entries from SnowflakeSnowflakeSnowflake
  • LogicDiff statement vs. ledger and tag exceptions
  • ActionWrite exception rows to Snowflake tableSnowflakeSnowflake
  • OutputPost per-vendor exception digest to SlackSlack

What it does

Automates the recurring close-the-books tie-out. For every vendor statement dropped into a Drive folder, it extracts the invoice lines and compares them against the authoritative AP ledger in Snowflake. Each invoice is graded paid, open, missing-from-ledger, or amount-disagreement. Results are persisted to a Snowflake exceptions table so finance has an auditable record, and a rollup digest goes to the controller in Slack.

When to use it

Use this when your AP system of record is a data warehouse and statements arrive as files. It replaces the manual VLOOKUP ritual at month-end and gives finance a queryable history of every discrepancy.

How it works

  1. 1A monthly schedule fires near close.
  2. 2All new statement files in the designated Google Drive folder are listed and read.
  3. 3OpenAI normalizes each statement into structured invoice rows.
  4. 4Snowflake is queried for the matching vendor's ledger entries over the period.
  5. 5A logic step diffs statement vs. ledger and tags each row with an exception type.
  6. 6Exceptions are written to a Snowflake table for audit.
  7. 7A digest of exception counts per vendor is posted to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect Google DriveDocs, sheets, slides, files.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect SnowflakeWarehouses, queries, shares.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  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.