Templates / Convert emailed timesheets into QuickBooks invoices with OCR, AI, Gmail and Sheets

Convert emailed timesheets into QuickBooks invoices with OCR, AI, Gmail and Sheets

Needs changes

by DIGITAL BIZ TECH ✓ · 127 views · created 2026-01-29 · Invoice Processing, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 45 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects QuickBooks Online, Google Sheets, Google Drive and Gmail and 2 more. It also calls universal-file-to-text-extractor.vercel.app over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get row(s) in sheet (Google Sheets): uses Google Sheets
  2. Split Binary Attachments (Code): runs custom JavaScript code
  3. QuickBooks Find Customer (QuickBooks Online): get many
  4. Loop: Process Each Attachment (Loop Over Items (Split in Batches)): loops over the items in batches
  5. If: checks a condition and branches into true / false
  6. Wait: waits 3 seconds
  7. QuickBooks Create Invoice (QuickBooks Online): create (invoice)
  8. QuickBooks Create Customer (QuickBooks Online): create
  9. Extract Text (HTTP Request): calls universal-file-to-text-extractor.vercel.app (POST)
  10. AI Agent: runs an AI agent, with model: Google Gemini Chat Model

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

Services it uses

QuickBooks OnlineGoogle SheetsGoogle DriveGmailOpenAI Chat ModelGoogle Gemini Chat Model

HTTP calls to: universal-file-to-text-extractor.vercel.app

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

AI-Powered Timesheet → Invoice Automation (Gmail + OCR + AI + Google Sheets + QuickBooks) > Note: This workflow uses sticky notes extensively to document each logical section of the automation. Sticky notes are mandatory and already included to explain…

Excerpt from DIGITAL BIZ TECH'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.