Approve vendor invoices from Gmail using Claude, Google Sheets, Slack and QuickBooks
Ready for 3.0What this workflow does
This workflow has 38 nodes and runs on Gmail events (plus 3 other triggers). Along the way it connects Gmail, Google Drive, Google Sheets and QuickBooks Online and 1 more. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On Gmail events (plus 3 other triggers).
- One run per invoice (Execute Sub-workflow): calls another n8n workflow
- Settings (Edit Fields (Set)): sets 24 fields: companyName, currency, autoApproveLimit…
- Alert the AP channel (Slack): uses Slack
- Daily digest run? (If): checks a condition and branches into true / false
- Read the log for the digest (Google Sheets): uses Google Sheets
- Prepare the invoice for Claude (Code): runs custom JavaScript code
- Build the digest (Code): runs custom JavaScript code
- Save the PDF to Google Drive (Google Drive): uses Google Drive
- Post the digest (Slack): uses Slack
- Read the invoice with Claude (HTTP Request): calls api.anthropic.com (POST)
…plus 24 more steps. See the full node list below.
Services it uses
HTTP calls to: api.anthropic.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) (New invoice email).
Nodes used (15)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - QuickBooks Online
n8n-nodes-base.quickbooks - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview Turn vendor invoices from Gmail into approved QuickBooks bills. Claude reads each PDF, code checks it against your vendors, POs, log and QuickBooks, Slack approvers decide, and every outcome is logged, labelled and followed up. How it works 1.…