🧾 AI-powered PDF invoice parser with Google Drive, Google Sheets & OpenAI

⚑ 5,478 views · 🧾 Invoice Processing

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Who is this for?

This workflow is perfect for:

What problem is this workflow solving?

Processing invoices manually is time-consuming, error-prone, and inconsistent. This workflow solves those issues by:

What this workflow does

This workflow creates a fully automated invoice processing system by:

  1. Monitoring a Google Drive folder for new PDF invoices in real time
  2. Downloading the PDF files and extracting their content using OCR technology
  3. Using AI (OpenAI) to parse and extract key invoice fields such as invoice number, date, total amount, vendor name, itemized details, tax, and category
  4. Validating the extracted data to ensure compliance with a structured JSON schema
  5. Storing structured data in Google Sheets for easy access, review, and reporting

Key Features:

Setup

  1. Copy the Google Sheet template here: πŸ‘‰ PDF Invoice Parser – Google Sheet Template

  2. Connect your Google Drive account to the Drive Trigger and File Download nodes

  3. Add your OpenAI API key in the AI Parser node

  4. Link the Google Sheet in the final storage node

  5. Drop a test invoice PDF into the monitored Drive folder

Required Credentials:

How to customize this workflow to your needs

Contact me for consulting and support:
πŸ“§ billychartanto@gmail.com

πŸ”— Nodes Used

Google Sheets, Google Drive, Google Drive Trigger, AI Agent, OpenAI Chat Model, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup