Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate Google Drive Invoice Capture
10
Views
0
Downloads
18
Nodes
Download Template
Free
Preview Template
Utility Rating
8 / 10
Business Function
Finance
Automation Orchestrator
n8n
Integrations
OpenAI
LlamaParse
Google Drive
Airtable
Trigger Type
Approx setup time ≈ 55 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate Google Drive Invoice Capture?

Leon Petrou
FREE TEMPLATE
Automate Google Drive Invoice Capture
10
Views
0
Downloads
18
Nodes
Download Template
Free
Preview Template
Utility Rating
8 / 10
Business Function
Finance
Automation Orchestrator
n8n
Integrations
OpenAI
LlamaParse
Google Drive
Airtable
Trigger Type
Approximate setup time ≈ 55 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Turn new files in Google Drive into clean invoice records in Airtable. The flow finds new invoices, pulls out line items, and saves everything without manual typing. It is great for finance teams that receive invoices in a shared folder.

Here is how it works. A Google Drive trigger watches a chosen folder and starts when a file is added. n8n downloads the file and sends it to LlamaParse with a webhook callback. The webhook returns parsed text. A prompt guides OpenAI to extract vendor data, totals, taxes, and a list of line items. A small code step builds a structured array, cleans numbers, and links each item to its invoice. Then the flow creates an invoice in Airtable and adds each line item to a linked table.

You need a Google Drive folder for invoices, an Airtable base with Invoices and Line Items tables, and API keys for LlamaParse and OpenAI. Once set up, most invoices go from upload to database in a few minutes, cutting data entry time and mistakes. Use it for accounts payable, spend tracking, and vendor reporting.

Copy link

Tools Required

What this workflow does?

  • Google Drive trigger watches a specific folder and starts on new files
  • File download from Drive and multipart upload to LlamaParse
  • Webhook receives parsed results from LlamaParse asynchronously
  • Prompt based OpenAI step extracts supplier details, totals and line items
  • Code step cleans values, builds arrays and prepares records for Airtable
  • Airtable node creates the invoice record in the Invoices table
  • Line items are added to the Line Items table and linked to the invoice

What are the benefits?

  • Reduce manual entry from 30 minutes to 3 minutes per invoice
  • Automate over 90 percent of repetitive data entry for invoices
  • Improve data accuracy by up to 80 percent by removing retyping
  • Handle up to 5 times more invoices without adding headcount
  • Connect Google Drive, LlamaParse, OpenAI and Airtable in one flow
  • Speed up month end close with structured and searchable records

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive, LlamaParse, OpenAI and Airtable. See the Tools Required section above for links to create accounts with these services.
  3. In n8n, open the Google Drive Trigger node. Connect your Google Drive account or click Create new credential and follow the on screen steps. Choose the folder that holds your invoices and keep polling every minute.
  4. Open the Google Drive node and confirm the operation is Download and the File ID is mapped from the trigger item. This ensures the correct file is pulled.
  5. Create a LlamaParse API key in your LlamaIndex Cloud account. Open the Upload File HTTP Request node and set the Authorization header to Bearer YOUR_API_KEY. Keep content type as multipart form data.
  6. Open the Webhook node and copy the Production URL. In the Upload File node body parameters, set webhook_url to this Production URL so LlamaParse can send results back to n8n.
  7. Open the Set Fields node to review the prompt text. Adjust the prompt to match your field names if needed, keeping the request for line items, quantities, unit prices and amounts.
  8. In the OpenAI node, click Create new credential, choose API Key, and paste your OpenAI key from the official API page. Save and confirm a successful connection.
  9. In Airtable, create a Personal Access Token with data read and write on the target base. In the Create Invoice and Create Line Item nodes, create a new Airtable credential with this token, then select your base and the Invoices and Line Items tables. Map fields for vendor, dates, totals, quantities, unit prices and the invoice link.
  10. Run a test by uploading a sample invoice PDF to the watched Google Drive folder. Check Executions in n8n to confirm the trigger fired, the webhook returned data, and records were created in Airtable.
  11. If records do not appear, verify the webhook URL is public, confirm your LlamaParse API key is set in the Authorization header, check file size and type, and review the OpenAI response. Adjust the prompt or field mappings if line items do not parse correctly.

Need help or want to customize this?

Similar Templates

n8n
Finance
Automate LINE Payments to Google Sheets
Capture bank slip images sent on LINE, save the file in Google Drive, and log key payment details in Google Sheets. Teams can confirm transfers fast without typing data by hand. Ideal for stores that verify payments before shipping orders. A webhook receives an image from LINE. The flow builds the file URL, downloads the image with secure headers, and uploads it to a set Drive folder with the message id as the file name. An OCR.space request reads Thai text from the slip and returns raw text. Code then pulls fields like amount, fee, date and time, sender name, and receiver bank. The row is appended to a sheet with clean columns for easy review. Setup needs a LINE Messaging API channel, a Google account for Drive and Sheets, and an OCR.space API key. Expect faster checks and fewer mistakes, often cutting slip handling from 15 minutes to 2 minutes per payment. Great for shops that get transfer slips on chat and need a daily payment log with both the image and the parsed data in one place.
1 views
view
n8n
Finance
Automate Gmail Invoice Filing to Google Drive
Turn invoice emails into dated PDFs and file them in the right Google Drive folder without touching a mouse. Built for teams that get billing emails with a link to view the invoice online, this setup keeps finance records tidy and easy to find. A Gmail trigger checks your inbox every minute. A rule keeps only messages that match your sender or subject. The HTML step pulls all links in the email and a split step looks at each link. A filter keeps the invoice link only. A web call sends that link to a PDF service to create a clean PDF. The file is then uploaded to Google Drive, renamed with today’s date, and moved into your chosen folder. Messages that do not match are ignored. You will need Gmail and Google Drive connected in n8n Cloud and an API key for a PDF conversion service. Paste your API key and your Drive folder URL in the setup node. Adjust the match rules to your vendor’s sender or subject. Expect to cut monthly filing from an hour to a few minutes and reduce naming mistakes. This is great for subscription receipts, SaaS invoices, and vendor bills sent as links.
2 views
view
n8n
Finance
Automate LINE to Google Sheets Slip Capture
Collect payment slip data directly from chat and store it in a sheet without manual typing. Users send a message or a slip image in LINE, get an instant reply, and the key fields go into Google Sheets for finance tracking and review. A webhook receives each LINE message and a Switch classifies it as text or image. For text, a chat agent with memory answers the user using Gemini, so the bot remembers the same user across messages. For images, the flow downloads the image from LINE, sends it to Gemini with a clear prompt, and expects JSON with Status, From, To, Date, and Amount. The bot replies to the user in LINE and then writes the slip results to Google Sheets in the same structure. This creates one place to handle both free text and payment slip images. You will need a LINE Messaging API channel, a Google Sheets spreadsheet with the needed columns, and a Google Gemini API key. Teams can cut data entry time and reduce errors from manual reading. Common uses include bank slip verification, expense reviews, and payment confirmations inside chat. Set the sheet columns, connect your credentials, and test with a real slip image to see the record appear in seconds.
12 views
view
See More Templates

Credits: Created by Mark Shcherbakov from 5minAI. Setup guide: YouTube video - these templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution. If you are the author and would like this template removed from the template library, email us at info@futurise.com and we will remove it promptly.