Skip to main content

Parse PDF with LlamaParse and save to Airtable

Workflow preview

Workflow preview
100%
Parse PDF with LlamaParse and save to Airtable preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Video Guide I prepared a comprehensive guide detailing how to automate the parsing of invoices using n8n and LlamaParse, seamlessly capturing and storing vital billing information. [![Youtube Thumb...

Best for

  • Invoice Processing automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrive, n8n-nodes-base.httprequest, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.airtable, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.webhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mark Shcherbakov.

Original n8n.io source

1.1 Workflow description

Title
Parse PDF with LlamaParse and save to Airtable
Workflow name
Parse PDF with LlamaParse and save to Airtable

Video Guide

I prepared a comprehensive guide detailing how to automate the parsing of invoices using n8n and LlamaParse, seamlessly capturing and storing vital billing information.

Youtube Link

Who is this for?

This workflow is ideal for finance teams, accountants, and business operations managers who need to streamline invoice processing. It is particularly helpful for organizations seeking to reduce manual entry errors and improve efficiency in managing billing information.

What problem does this workflow solve?

Manually processing invoices can be time-consuming and error-prone. This automation eliminates the need for manual data entry by capturing invoice details directly from uploaded documents and storing structured data efficiently. This enhances productivity and accuracy across financial operations.

What this workflow does

The workflow leverages n8n and LlamaParse to automatically detect new invoices in a designated Google Drive folder, parse essential billing details, and store the extracted data in a structured format. The key functionalities include:

  • Real-time detection of new invoices via Google Drive triggers.
  • Automated HTTP requests to initiate parsing through Lama Cloud.
  • Structured storage of invoice details and line items in a database for future reference.
  1. Google Drive Integration: Monitors a specific folder in Google Drive for new invoice uploads.
  2. Parsing with LlamaParse: Automatically sends invoices for parsing and processes results through webhooks.
  3. Data Storage in Airtable: Creates records for invoices and their associated line items, allowing for detailed tracking.

Setup

N8N Workflow
  1. Google Drive Trigger:

    • Set up a trigger to detect new files in a specified folder dedicated to invoices.
  2. File Upload to LlamaParse:

    • Create an HTTP request that sends the invoice file to LlamaParse for parsing, including relevant header settings and webhook URL.
  3. Webhook Processing:

    • Establish a webhook node to handle parsed results from LlamaParse, extracting needed invoice details effectively.
  4. Invoice Record Creation:

    • Create initial records for invoices in your database using the parsed details received from the webhook.
  5. Line Item Processing:

    • Transform string data into structured line item arrays and create individual records for each item linked to the main invoice.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 2 - Upload File

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Google Drive Trigger

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 4 - Create Invoice

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 5 - Create Line Item

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 6 - OpenAI - Extract Line Items

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Set Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Process Line Items

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Parse PDF with LlamaParse and save to Airtable
Complexity advanced
Nodes 18
Categories Invoice Processing, AI Summarization
Author Mark Shcherbakov
Published 19 Dec 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2661/2661.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Parse PDF with LlamaParse and save to Airtable do?

Video Guide I prepared a comprehensive guide detailing how to automate the parsing of invoices using n8n and LlamaParse, seamlessly capturing and storing vital billing information. [![Youtube Thumb...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, AI Summarization use case.