Skip to main content

Automated invoice processing system with OCR & AI - AP automation with Airtable

Workflow preview

Workflow preview
100%
Automated invoice processing system with OCR & AI - AP automation with 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 Introduction Invoice Processing Automation This template is the automation behind a simple incoming invoice automation...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.lmopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.stickynote, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.splitout

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Milan Vasarhelyi - SmoothWork.

Original n8n.io source

1.1 Workflow description

Title
Automated invoice processing system with OCR & AI - AP automation with Airtable
Workflow name
Automated invoice processing system with OCR & AI - AP automation with Airtable

Video Introduction

Invoice Processing Automation

This template is the automation behind a simple incoming invoice automation tool (AP automation) tool built in Airtable.

Link to the Airtable base, and all other tools used, is in notes on the left of the automation.

How it works

See how it works on video: Full Video Walkthrough

  1. We get an email with an invoice attachment:

  2. Processes and adds the data to an Airtable interface:

  3. Once we approved it and Due date approaches, it shows among Due invoices, where we can track if it's paid.

Looking for customization or a custom business app? 📞 Book a Call | 💬 DM me on Linkedin

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 - OpenAI Model

Type / Role
@n8n/n8n-nodes-langchain.lmOpenAi - lmOpenAi
Config choices
Version 1

Block 2 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.1

Block 3 - Sticky Note5

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

Block 4 - Map Output

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

Block 5 - Apply Data Extraction Rules

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 6 - Gmail1

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

Block 7 - Sticky Note1

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

Block 8 - Get all img_url

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

Block 9 - Analyze image

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Get image data

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

Block 11 - PDF -> JPG - ConvertAPI

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

Block 12 - Get list of vendors

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

Block 13 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 14 - Edit Fields

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

Block 15 - Information Extractor

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1

Block 16 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 17 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 18 - Airtable

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

Block 19 - Gmail Trigger

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 20 - Gmail

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

Block 21 - Sticky Note

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

Block 22 - Sticky Note3

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

Block 23 - Sticky Note4

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

Block 24 - Sticky Note6

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

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated invoice processing system with OCR & AI - AP automation with Airtable
Complexity advanced
Nodes 29
Categories Invoice Processing, AI Summarization
Author Milan Vasarhelyi - SmoothWork
Published 27 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4434/4434.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 Automated invoice processing system with OCR & AI - AP automation with Airtable do?

Video Introduction Invoice Processing Automation This template is the automation behind a simple incoming invoice automation...

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.