Templates / Process Gmail invoices into QuickBooks bills with Gemini, Slack and Sheets

Process Gmail invoices into QuickBooks bills with Gemini, Slack and Sheets

Ready for 3.0

by iamvaar ✓ · 34 views · created 2026-11-18

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 33 nodes and runs on Gmail events. Along the way it connects Gmail, Slack, Google Gemini Chat Model and Google Sheets and 2 more. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. If: checks a condition and branches into true / false
  2. Extract Email Metadata (Edit Fields (Set)): sets 5 fields: invoiceSource, senderName, senderEmail…
  3. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  4. Hash PDF Text (Crypto): hashes or encrypts values
  5. Check Text Readability (If): checks a condition and branches into true / false
  6. Post to Gemini API (HTTP Request): calls generativelanguage.googleapis.com (POST)
  7. Notify Unreadable PDF (Slack): uses Slack
  8. Route by Invoice Confidence (Switch): routes items into 2 branches
  9. Extract Invoice with AI (AI Agent): runs an AI agent, with model: Use Gemini Chat Model; output parser: Parse Invoice Schema
  10. Alert Possible Invoice (Slack): uses Slack

…plus 19 more steps. See the full node list below.

Services it uses

GmailSlackGoogle Gemini Chat ModelGoogle SheetsQuickBooks OnlineHighLevel

HTTP calls to: generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Invoice Email Received).

Nodes used (16)

From the author

Quick overview Youtube Video: https://youtu.be/yiyI6JqCE4 This workflow monitors Gmail for unread emails with PDF, uses Gemini (Decisions API + Gemini chat) to classify and extract invoice data, routes uncertain cases to Slack for approval, creates vendors…

Excerpt from iamvaar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.