Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Route vendor invoices for AP review with Jev Classification, Google Sheets, Gmail

When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Telegram, Jev Classification.

What it does

## Vendor invoice intake completeness (Ask Questions) ### How it works The Invoice Intake webhook normalises the payload, then an input guard checks invoice_text is usable. An unusable submission is marked and emailed to the AP desk. One Jev Ask Questions call answers four Noul fields (PO reference, amount, vendor identity, bank details), one Choice (currency) and one Score. Parse Answers derives the missing field list, a blocking reason and requested_details (fields below 0.9 only). A Switch routes three outcomes: three way match, vendor follow up, or human AP review. Each writes its row to the Invoice Intake tab, then notifies by email or Telegram. The ready lane reads the log back first, so a repeated invoice id is flagged, not queued. A 17:00 daily lane counts rows per route and has an AI agent draft the backlog brief. ### Setup 1. POST invoice payloads (invoice_id, vendor_name, invoice_text) to the Invoice Intake webhook path. 2. Credentials: Jev (TypeSafe) API, Google Sheets, Gmail, Telegram, OpenAI. 3. Replace the placeholder addresses and point the tab at your sheet.

The steps

  1. Invoice Intake
  2. Normalize Invoice
  3. Invoice Text Usable?
  4. Mark Unusable Invoice
  5. Email AP Intake Problem
  6. Jev Ask Intake Questions
  7. Parse Answers
  8. Route Invoice Intake
  9. Queue For Three Way Match
  10. Log Invoice Ready
  11. Check Invoice Already Logged
  12. Invoice Already In Log?
  13. Notify AP Of Duplicate Invoice
  14. Email AP Payment Queue

27 steps in total.

Similar automations