Extract Text from Receipts with OCR.space Table Recognition

Go to Workflow
0 views
Built by Arkadiusz Arkadiusz
Created on September 12, 2025

Description

๐Ÿ“ 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

This workflow was created by Arkadiusz and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (1)

HTTP Request
n8n-nodes-base.httpRequest