Get Document from PDF4me using n8n action
PDF4me Get Document from PDF4me retrieves previously processed documents from your PDF4me storage through n8n automation workflows. Access files using callback URLs and file references to download documents, retrieve processed results, and integrate stored files into n8n workflows with seamless PDF4me account integration. This solution is ideal for asynchronous workflow completion, processed document retrieval, storage integration, callback-based workflows, and automated document access that require reliable file retrieval with PDF4me storage integration and seamless integration.
Setup
Add the PDF4me "Get Document from PDF4me" 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 "Get Document from PDF4me" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Get Document from PDF4me action. Configure these parameters to retrieve documents.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Name*** | String | Document Filename • Specify the name of the document to retrieve from PDF4me storage • Should match the exact filename of previously processed document • Used for file identification | document.pdf |
| Callback URL*** | String | Callback URL • Provide a callback URL where PDF4me will send retrieved document • URL should be accessible and ready to receive document data • Essential for asynchronous document retrieval | https://example.com/callback |
Advanced Options
The following parameters are available in the Advanced Options section and are optional:
| Parameter | Type | Description | Example |
|---|---|---|---|
| Custom Profiles | String | Custom Configuration Profiles • Set additional options using custom profiles • JSON-like format containing predefined parameters • Supports outputDataFormat, preserveMetadata, etc. • Optional for specialized requirements | {"outputDataFormat": "json", "preserveMetadata": true} |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | PDF4me document retrieval status indicator - Boolean flag indicating the success or failure of the document retrieval process. PDF4me returns true for successful operations and false for any errors, enabling robust error handling in automated workflows | true |
| message | String | PDF4me document retrieval status message - Human-readable status message providing details about the document retrieval process result. Includes success confirmation or error details for troubleshooting | Document retrieved successfully |
| fileName | String | PDF4me retrieved document filename - The complete filename of the successfully retrieved document from PDF4me storage. PDF4me ensures accurate file identification and validates file format compliance for seamless integration with downstream processes | document.pdf |
| mimeType | String | PDF4me output MIME type - MIME type of the retrieved document file, varies based on the original document type (e.g., "application/pdf" for PDF documents). Useful for content type validation and proper file handling in web applications | application/pdf |
| fileSize | Number | PDF4me document file size in bytes - The exact size of the retrieved document file in bytes, provided by PDF4me for storage planning, bandwidth optimization, and file transfer monitoring. Essential for enterprise document management and workflow automation | 125430 |
| docName | String | PDF4me document name reference - The name of the retrieved document for reference and tracking purposes. This matches the fileName for consistency in document management workflows | document.pdf |
| retrievalCompleted | Boolean | PDF4me retrieval completion confirmation - Boolean flag confirming that the document has been successfully retrieved from PDF4me storage. Useful for verifying that retrieval was completed correctly | true |
N8N Action Response
The PDF4me Get Document from PDF4me 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": "Document retrieved successfully",
"fileName": "document.pdf",
"mimeType": "application/pdf",
"fileSize": 125430,
"docName": "document.pdf",
"retrievalCompleted": true
}
]
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| success | true |
| message | Document retrieved successfully |
| fileName | document.pdf |
| mimeType | application/pdf |
| fileSize | 125430 |
| docName | document.pdf |
| retrievalCompleted | true |
Schema View
The data structure and types of the response:
1 item
success: ☑ true
message: AB Document retrieved successfully
fileName: AB document.pdf
mimeType: AB application/pdf
fileSize: # 125430
docName: AB document.pdf
retrievalCompleted: ☑ true
Type Indicators:
AB= String#= Number☑= Boolean
Binary Data View
The actual retrieved document file data and metadata:
data
─────────────────────────────
File Name: document.pdf
File Extension: pdf
Mime Type: application/pdf
File Size: 122.5 KB
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
Document Workflow Integration
- Retrieve previously processed documents for further workflow steps and automation
- Access stored documents from PDF4me storage for batch processing operations
- Integrate document retrieval into complex multi-step business processes
Document Management and Archiving
- Access archived documents from PDF4me storage for compliance and auditing
- Retrieve historical documents for reference and analysis purposes
- Manage document lifecycle by accessing stored files when needed
Enterprise Document Automation
- Automate document retrieval in business workflows and approval processes
- Access stored documents for integration with external systems and applications
- Streamline document management across different business units and departments