{"product_id":"approve-invoices-with-claude-vision-google-drive-sheets-n8n","title":"Approve Invoices with Claude Vision + Google Drive \u0026 Sheets (n8n)","description":"\u003ch3\u003eAutomatically extract, validate, and approve invoices using Claude Vision + Google Drive \u0026amp; Sheets (n8n)\u003c\/h3\u003e\n\u003cp\u003eStop manual invoice triage. This n8n workflow watches your Google Drive Inbox for new invoice files, uses \u003cstrong\u003eAnthropic Claude Vision\u003c\/strong\u003e to extract structured fields, verifies totals and duplicates in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and then either auto-approves low-risk invoices or pauses for human approval—finally logging results and moving files to the right folder.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMonitors an “Inbox” folder in Google Drive\u003c\/strong\u003e (or can be run manually with a test file ID).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDownloads the invoice file\u003c\/strong\u003e, converts it to base64, and prepares a request for \u003cstrong\u003eClaude (Anthropic Messages API) with vision\u003c\/strong\u003e to extract invoice data as \u003cstrong\u003eJSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses the Claude response\u003c\/strong\u003e and flags the run if the extraction cannot be parsed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates invoice math\u003c\/strong\u003e by checking that \u003cem\u003esubtotal + tax\u003c\/em\u003e matches the extracted total.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetects duplicates\u003c\/strong\u003e by reading a Google Sheets ledger to compare invoice numbers.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes invoices for decision:\u003c\/strong\u003e If extraction fails, totals mismatch, or a duplicate is found—or if the invoice is at\/above your configured threshold—the workflow sends approve\/reject links to a \u003cstrong\u003ewebhook\u003c\/strong\u003e and waits for the human decision.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs and archives:\u003c\/strong\u003e Calculates the vendor’s prior approved spend from Google Sheets, appends a normalized ledger row with the final approval status, then moves the file to \u003cstrong\u003eProcessed\u003c\/strong\u003e or \u003cstrong\u003eFlagged\u003c\/strong\u003e and sends an outcome notification via webhook.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAccounts payable teams who need consistent invoice intake from scanned PDFs\/images.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators automating invoice approval workflows with clear audit logging in Google Sheets.\u003c\/li\u003e\n  \u003cli\u003en8n users looking for an end-to-end \u003cstrong\u003einvoice processing automation\u003c\/strong\u003e with AI extraction plus deterministic validation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Google Drive, Google Sheets, Anthropic Messages API (Claude Vision).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n workflow logic \u0026amp; nodes:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e, “sticky note”, Google Drive (trigger\/download\/move).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRun routing:\u003c\/strong\u003e webhook-based approve\/reject step using a wait for the decision.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup\u003c\/h3\u003e\n\u003cp\u003eConnect your Google Drive credentials with access to the \u003cstrong\u003eInbox\u003c\/strong\u003e, \u003cstrong\u003eProcessed\u003c\/strong\u003e, and \u003cstrong\u003eFlagged\u003c\/strong\u003e folders, then configure the workflow to point to your Sheets ledger and approval threshold.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45850616004787,"sku":"N8N-18294","price":49.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/La_XK4aMp9o5B06S5Nse6_HoKOFfNs.png?v=1786871173","url":"https:\/\/buyflowscripts.com\/products\/approve-invoices-with-claude-vision-google-drive-sheets-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}