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.
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:
- Add PDF4me node to workflow
- Select "Image Extract Text" action
- Configure input parameters (see below)

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.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Input Data Type | Required | Choose how to provide the image file to extract text from. Options: Binary Data, Base64 String, URL. Default is `Binary Data`. | Binary Data |
| Input Binary Field | Conditional | Name of the binary property that contains the image file. Shown when Input Data Type is Binary Data. Default is `data`. | data |
| Base64 Image Content | Conditional | Base64 encoded image content. Shown when Input Data Type is Base64 String. | /9j/4AAQSkZJRgAB... |
| Image URL | Conditional | URL to the image file to extract text from. Shown when Input Data Type is URL. | https://abc.com/demo.jpg |
| Output File Name | Optional | Name for the output extracted text file (JSON). Default is `image_text_extract.json`. | image_text_extract.json |
| Async | Optional | Not 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 Name | Optional | Custom name for the binary data in n8n output. Default is `data`. | data |
Output
Output Parameters
| Field | Type | What it contains |
|---|---|---|
success | Boolean | True when the operation succeeded. |
message | String | Status message, `Image text extracted successfully`. |
fileName | String | File name of the resulting file. |
mimeType | String | Always `application/json`. |
fileSize | Number | Size of the returned file in bytes. |
data | Binary | PDF4me'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
- Table
- Schema
- Binary
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
}
]
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| success | true |
| message | Image text extracted successfully |
| fileName | image_text_extract.json |
| mimeType | application/json |
| fileSize | 0 |
Schema View
The data structure and types of the response:
1 item
success: ☑ true
message: AB Image text extracted successfully
fileName: AB image_text_extract.json
mimeType: AB application/json
fileSize: # 0
Type Indicators:
AB= String#= Number☑= Boolean[]= Array
Binary Data View
The actual text extraction file data and information:
data
─────────────────────────────
File Name: image_text_extract.json
File Extension: json
Mime Type: application/json
File Size: 0 bytes
Status: Image text extracted successfully
Binary Data Access:
- n8n Binary Object:
$binary.data.data - Base64 Content: Available for direct use
- File Operations: Ready for download, email, or storage
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