AutomationMart
Home/Browse/Extract & classify invoices & receipts with Gmail, OpenAI and Google Drive
n8n

Extract & classify invoices & receipts with Gmail, OpenAI and Google Drive

n8nn8n18 modulesv1.0
codefiltergmailgoogleDriveifmergenoOpopenAireadPDFrespondToWebhooksetwebhook

Who is it for? Anyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers. How it works 1. Creates a folder in Google Drive for uploading invoices and receipts. Responds (Webhook response) with URL to the created folder. 2. Gets all emails with attachments from a Gmail mailbox. 3. (Optional) Filters emails, e.g. exclude emails sent to specific address. 4. Filters only PDF attachments. 5. Classifies all PDF attach

At a glance

Extract & classify invoices & receipts with Gmail, OpenAI and Google Drive is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects code, filter, gmail, googleDrive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
code, filter, gmail, googleDrive, if, merge
Modules
18
Price
Free
Version
v1.0
Extract & classify invoices & receipts with Gmail, OpenAI and Google Drive workflow diagram

About this workflow

Who is it for? Anyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers. How it works 1. Creates a folder in Google Drive for uploading invoices and receipts. Responds (Webhook response) with URL to the created folder. 2. Gets all emails with attachments from a Gmail mailbox. 3. (Optional) Filters emails, e.g. exclude emails sent to specific address. 4. Filters only PDF attachments. 5. Classifies all PDF attachment contents with an AI model (is it a receipt or an invoice?). 6. Uploads receipts and invoices to the created Google Drive folder and optionally sends an email with the attachments to, e.g., your accountant. Pre-conditions/Requirements - Gmail and Google Drive accounts - A Google Cloud OAuth 2.0 Client ID or a service account with Google Drive and Gmail APIs enabled - OpenAI API account and API key Set up steps 1. Provide credentials for the nodes: Gmail, Google Drive, OpenAI. 2. Configure parameters in the "Configure" node. Most importantly: - "sendInvoicesTo" for the email address where invoices/receipts should be sent. 3. It uses a Webhook node trigger. It expects a body with a schema such as: Example body: How to use with AI chat You can trigger the workflow with an AI chat that supports tool use, such as BrowseWiz. For setup instructions, read the blog post.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Enrich Company Data from LinkedIn via Bright Data & Google Sheets

This n8n workflow automates the enrichment of a company list by discovering and extracting each company’s official LinkedIn URL using Bright Data’s search capabilities and Google Gemini AI for HTML parsing and result interpretation. Who is this template for? This workflow is ideal for sales, business development, and data research professionals who need to collect official LinkedIn company profiles for multiple organizations, starting from a list of company names in Google Sheets. It’s especiall

Free

Auto-generate product comparison pages with OpenAI & Google Sheets

Auto-generate product comparison pages that help users buy faster This workflow creates detailed "X vs Y" product comparison pages designed to help readers make faster, more confident purchase decisions — all with zero manual writing. --- How it works - Triggered manually or via Google Sheets row - Takes two product names as input (e.g. “Notion vs Evernote”) - Uses AI to generate: - ✅ A compelling title and meta description - 📝 Clear feature-by-feature comparison - 🤝 Use-case-ba

Free

Create YouTube videos daily from Google Sheets using MagicHour + Gemini

Prompt To Video (MagicHour API) with Music & YouTube Automate AI video creation, background music, YouTube uploads, and result logging — all from a single text prompt. ⚡ Overview This n8n template turns a text prompt into a complete AI-generated video using the MagicHour API, adds background music, generates YouTube metadata, uploads to YouTube, and logs results in Google Sheets — all in one flow. Perfect for creators, marketers, and startups producing YouTube content at scale — from daily AI Sh

Free

Ask questions about past meetings using voice with OpenAI and Pinecone

Description This workflow allows users to ask questions about past meetings using their voice. It converts the voice question into text, searches stored meeting notes using Pinecone, and replies with a spoken answer generated by AI. It helps teams quickly recall decisions, tasks, and discussions without reading long meeting notes. 🧠🔊 🔁 What This Template Does 1️⃣ Receives a voice question through a webhook endpoint. 🌐 2️⃣ Converts the audio question into text using speech transcription. 🎤➡️📝

Free

Automated AI cold calling system with VAPI.ai, Airtable, and smart follow-ups

Automate your cold calling process with AI-powered conversation handling, smart scheduling, and comprehensive call tracking How it works This comprehensive cold calling system automates your entire outbound calling workflow in 4 high-level steps: 1. Automated Dialing - System automatically calls prospects from your Airtable database at scheduled intervals 2. AI Conversation Handling - Advanced AI assistant conducts natural conversations, handles objections, and books appointmen

Free

Auto-generate meeting attendee research with GPT-4o, Google Calendar, and Gmail

How it works: Whenever a new event is scheduled on your Google Calendar, this workflow generates a Meeting Briefing email, giving an overview of each person on the call and the company they work for. It makes use of the web search tool on the OpenAI Responses API to make lookups. The workflow triggers when a new event is added to the calendar, loops over each attendee, generating reports on each person and thei

Free

Send personalized birthday and anniversary emails with Google Sheets, Gemini, and Gmail

Birthday & Milestone Message Automation (n8n Google Sheets + Gemini AI + Gmail) This workflow automatically sends personalized birthday and anniversary emails to clients. It runs daily, checks a Google Sheet for matching dates, generates a warm AI message using Google Gemini and sends it via Gmail. It also includes a thoughtful investment idea tailored to the client’s age, risk profile and relationship type. Quick Implementation Steps 1. Connect Google Sheets OAuth2 2. Add your Google Gemini API

Free

AI-powered X (Twitter) content generator and scheduler with LangChain and Blotato

This n8n template demonstrates how to use AI to fully automate the generation and scheduling of X (formerly Twitter) content based on a specific, predefined persona. Use cases are many: It's perfect for social media marketers looking to streamline content creation, individual experts building a consistent brand voice, or businesses aiming to drive traffic to specific services with a steady stream of relevant content. Good to know The AI model used in this workflow (via OpenRouter) re

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free