Skip to main content

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:

  1. Add PDF4me node to workflow
  2. Select "Get Document from PDF4me" action
  3. Configure input parameters (see below)
Get Document from PDF4me

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.

ParameterTypeDescriptionExample
File Name***StringDocument 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***StringCallback 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:

ParameterTypeDescriptionExample
Custom ProfilesStringCustom 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

ParameterTypeDescriptionExample
successBooleanPDF4me 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 workflowstrue
messageStringPDF4me document retrieval status message - Human-readable status message providing details about the document retrieval process result. Includes success confirmation or error details for troubleshootingDocument retrieved successfully
fileNameStringPDF4me 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 processesdocument.pdf
mimeTypeStringPDF4me 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 applicationsapplication/pdf
fileSizeNumberPDF4me 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 automation125430
docNameStringPDF4me document name reference - The name of the retrieved document for reference and tracking purposes. This matches the fileName for consistency in document management workflowsdocument.pdf
retrievalCompletedBooleanPDF4me retrieval completion confirmation - Boolean flag confirming that the document has been successfully retrieved from PDF4me storage. Useful for verifying that retrieval was completed correctlytrue

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 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
}
]

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

Get Help