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
- Invoice Intake
- Normalize Invoice
- Invoice Text Usable?
- Mark Unusable Invoice
- Email AP Intake Problem
- Jev Ask Intake Questions
- Parse Answers
- Route Invoice Intake
- Queue For Three Way Match
- Log Invoice Ready
- Check Invoice Already Logged
- Invoice Already In Log?
- Notify AP Of Duplicate Invoice
- Email AP Payment Queue
27 steps in total.
Similar automations
Email AutomationScore and route incidents with Jev Classification, Google Sheets, Gmail, Telegram, and30 stepsEmail AutomationTriage trust and safety reports with Jev Classification, Google Sheets, Gmail and Telegram33 stepsEmail AutomationRoute and log ops requests with Jev, Google Sheets, Gmail, Telegram and OpenAI42 stepsEmail AutomationGate personal data before external sends with Jev, Google Sheets, Gmail, Telegram and28 steps