🧾 Parse and extract invoice data with Nanonets OCR and export to Excel

⚡ 1,242 views · 🧾 Invoice Processing

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Description

This workflow automates document processing and structured table extraction using the Nanonets API. You can submit a PDF file via an n8n form trigger or webhook—the workflow then forwards the document to Nanonets, waits for asynchronous parsing to finish, retrieves the results (including header fields and line items/tables), and returns the output as an Excel file. Ideal for automating invoice, receipt, or order data extraction with downstream business use.

How It Works

Setup Steps

  1. Nanonets Account: Register for a Nanonets account and set up a workflow for your specific document type (e.g., invoice, receipt).
  2. Credentials in n8n: Add HTTP Basic Auth credentials in n8n for the Nanonets API (never store credentials directly in node parameters).
  3. Webhook/Form Configuration:
    • Option 1: Configure and enable the included n8n Form Trigger node for document uploads.
    • Option 2: Use the included Webhook node to accept external POSTs with a PDF file.
  4. Adjust Workflow:
    • Update any HTTP nodes to use your credential profile.
    • Insert your Nanonets Workflow ID in all relevant nodes.
  5. Test the Workflow: Enable the workflow and try with a sample document.

Features

Prerequisites

Example Use Cases

ScenarioBenefit
Invoice ProcessingAutomated extraction of line items and totals
Receipt DigitizationParse amounts and charges for expense reports
Purchase OrdersConvert scanned POs into structured Excel sheets

Notes

🔗 Nodes Used

HTTP Request, Webhook, Convert to File

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup