Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Invoice data extraction with LlamaParse and OpenAI

n8n template #2320
This n8n workflow automates the process of parsing and extracting data from PDF invoices. With this workflow, accounts and finance people can realise huge time and cost savings in their busy schedules. Read the Blog: https://blog.n8n.io/how-to-extract-data-from-pdf-to-excel-spreadsheet-advance-parsing-with-n8n-io-and-llamaparse/ How it works This workflow will watch an email inbox for incoming invoices from suppliers It will download the attached PDFs and processing them through a third party service called LlamaParse. LlamaParse is specifically designed to handle and convert complex PDF data structures such as tables to markdown. Markdown is easily to process for LLM models and so the data

How to set it up

  1. Open template #2320 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 3 credentials under Credentials → Add credential: Google Sheets, Gmail, OpenAI Model. Then open each of those nodes and pick the credential.
  3. Click Execute workflow and step through each node's output to confirm the data looks right.
  4. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Invoice data extraction with LlamaParse and OpenAI" (https://n8n.io/workflows/2320). It uses: Google Sheets, HTTP Request, Gmail, Basic LLM Chain, OpenAI Model, Structured Output Parser. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Jimleuk published it free on n8n.io as a verified creator, and it has 37K views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Sheets, Gmail, OpenAI Model. The other 3 nodes are built into n8n.

Similar workflows

NameViews
  1. Invoices from Gmail to Drive and Google Sheets27K
  2. Automate social media content with AI for Instagram, Facebook, LinkedIn & X16K
  3. 🎨 AI Design Team - Generate and Review AI Images with Ideogram and OpenAI9,990
  4. Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
  5. Explore n8n Nodes in a Visual Reference Library5,197
  6. Automate SEO-Optimized WordPress Posts with AI & Google Sheets37K
  7. Publish WordPress Posts to Social Media X, Facebook, LinkedIn, Instagram with AI32K
  8. Automated AI Content Creation & Instagram Publishing from Google Sheets31K