INVOICE PROCESSING

Invoice PDF Archiving to Drive with Snowflake Ledger Sync

Extracts the PDF from each Outlook invoice email, files it into a vendor-foldered Google Drive structure.

CategoryInvoice Processing
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew Outlook email with invoice attachmentOutlook
  • ActionRead PDF header fields with AIOpenAI
  • ActionUpload renamed PDF to vendor Drive folderGoogle DriveGoogle Drive
  • ActionAppend normalized row to Snowflake ledgerSnowflakeSnowflake
  • OutputMark source email archived in OutlookOutlook

What it does

Takes every vendor invoice arriving in Outlook, lifts the PDF attachment, and uses an LLM to read the header fields so the document can be named and filed consistently. It stores the PDF in a Google Drive folder keyed by vendor and period, then appends a normalized row — vendor, invoice number, date, amount, currency, and the Drive link — to a Snowflake ledger table that finance uses for spend reporting and audit.

When to use it

Use this when the priority is a clean, searchable archive and a queryable ledger rather than payment approval — for example to satisfy audit retention or to feed BI dashboards. It pairs well with a separate approval workflow.

How it works

  1. 1A new Outlook email with an invoice attachment triggers the run.
  2. 2OpenAI reads the PDF header to pull vendor, number, date, and amount.
  3. 3The flow uploads the renamed PDF to a vendor folder in Google Drive.
  4. 4It builds a normalized ledger record including the Drive link.
  5. 5The record is appended to the Snowflake invoice ledger table.
  6. 6The original email is marked archived in Outlook.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect OutlookMail, calendar, contacts.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect Google DriveDocs, sheets, slides, files.
  4. 4
    Connect SnowflakeWarehouses, queries, shares.
  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.