Skip to main content

Image Extract Text using n8n action

PDF4me Image Extract Text extracts text content from images using OCR technology through n8n automation workflows. Process images via n8n triggers, binary data, base64 strings, or public URLs to automatically recognize and extract text with multi-language support, high-accuracy character recognition, layout preservation, and structured text output for document digitization and data extraction. This solution is ideal for scanned document processing, data entry automation, business card OCR, receipt scanning, text extraction from photos, and automated OCR workflows that require accurate text recognition with multi-language support and seamless integration.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog →

Setup​

Add the PDF4me "Image Extract Text" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.

Prerequisites:

  • PDF4me API credentials
  • n8n workflow access

Configuration:

  1. Add PDF4me node to workflow
  2. Select "Image Extract Text" action
  3. Configure input parameters (see below)
Image Extract Text

Parameters​

Complete list of parameters for the Image Extract Text action. Configure these parameters to control text extraction from images.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterRequiredWhat it doesExample
Input Data TypeRequiredChoose how to provide the image file to extract text from. Options: Binary Data, Base64 String, URL. Default is `Binary Data`.Binary Data
Input Binary FieldConditionalName of the binary property that contains the image file. Shown when Input Data Type is Binary Data. Default is `data`.data
Base64 Image ContentConditionalBase64 encoded image content. Shown when Input Data Type is Base64 String./9j/4AAQSkZJRgAB...
Image URLConditionalURL to the image file to extract text from. Shown when Input Data Type is URL.https://abc.com/demo.jpg
Output File NameOptionalName for the output extracted text file (JSON). Default is `image_text_extract.json`.image_text_extract.json
AsyncOptionalNot used: the node always sends the request to PDF4me as asynchronous (IsAsync true), whatever this is set to. Default is `Yes`.Yes
Binary Data Output NameOptionalCustom name for the binary data in n8n output. Default is `data`.data

Output​

Output Parameters​

FieldTypeWhat it contains
successBooleanTrue when the operation succeeded.
messageStringStatus message, `Image text extracted successfully`.
fileNameStringFile name of the resulting file.
mimeTypeStringAlways `application/json`.
fileSizeNumberSize of the returned file in bytes.
dataBinaryPDF4me's response with the extracted text, stored unchanged as a JSON file named after Output File Name. The text is not added to the item's JSON.

N8N Action Response​

The PDF4me Image Extract Text API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:

JSON Response Format

The raw JSON response from the API:

[
{
"success": true,
"message": "Image text extracted successfully",
"fileName": "image_text_extract.json",
"mimeType": "application/json",
"fileSize": 0
}
]

Use Cases​

OCR Text Recognition and Digitization​

  • Extract text from scanned documents, receipts, and forms for digital processing
  • Convert handwritten notes and printed materials to searchable text format
  • Process business cards and contact information for automated data entry

Image-Based Content Analysis​

  • Extract text from screenshots and images for content analysis and indexing
  • Process social media images with text overlays for sentiment analysis
  • Analyze product packaging and labels for inventory management systems

Accessibility and Translation Services​

  • Extract text from images to create accessible content for visually impaired users
  • Process multilingual documents for automated translation workflows
  • Convert image-based text to audio format for accessibility applications

Research and Data Mining​

  • Extract text from research papers, articles, and academic documents
  • Process historical documents and archives for digital research projects
  • Analyze image-based surveys and feedback forms for data collection

Get Help​