Extract Text from Receipts with OCR.space Table Recognition
π Description
This workflow automates the process of extracting text from receipt or document images using OCR.space and presenting the results in a clean, styled form.
Itβs especially useful for cases like receipt digitization, invoice parsing, table recognition, or quick OCR text extraction directly inside n8n without third-party dashboards.
The workflow is lightweight and self-contained - all you need is an OCR.space API key.
π How it works
Form Trigger β Upload File
A simple form collects the image (max 1 MB) and asks whether the file contains a table.
Normalize Inputs
Converts the βYes/Noβ response into a boolean flag isTable and keeps the uploaded file attached.
OCR.space API Call
Sends the uploaded image to the OCR.space API with the correct parameters:
language=pol (Polish by default, can be changed)
OCREngine=2
isTable flag
Display Results
The parsed text (ParsedResults[0].ParsedText) is rendered in a styled card with monospace formatting for easier reading and copy-paste.
π― Use cases
Receipt OCR for expense tracking
Invoice or document text digitization
Table parsing from scanned files
Quick OCR text preview in n8n flows
βοΈ Requirements
OCR.space API key (Header Authentication)
n8n instance running β₯ v1.20
π Notes & Customization
Language**: change language parameter (eng, deu, etc.) to match your input.
Validation**: add a file size check if you expect larger files.
Error handling**: add an Error Trigger if you anticipate API rate limits.
Table vs Text**: enabling isTable improves structured data parsing.
π Keywords
OCR, receipt parsing, document OCR, invoice automation, text extraction, table recognition, AI OCR, OCR.space, workflow automation
Related Templates
Reply to Outlook Emails with OpenAI
Who is this template for? This template is for any Microsoft Outlook user who wants a trained AI agent to reason and rep...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments