An expert n8n workflow template to convert multi-page PDF files into individual PNG images using the PDF.co service. Learn how to handle binary data and API calls in n8n.
Download this n8n workflow template and start using it instantly.
Handling binary file conversion, especially for multi-page documents, requires precise steps, including secure uploading, file splitting, and iterative conversion. This comprehensive n8n workflow provides a robust solution by leveraging the powerful PDF.co service. It demonstrates best practices for managing binary data within n8n nodes, ensuring files are uploaded securely via a presigned URL, split into pages, and then converted individually to PNG format. By using this n8n automation, users can reliably transform lengthy PDFs into high-quality image assets ready for further use, such as archival or presentation. This specific n8n template is essential for those whose automation tasks involve high-volume document conversion.
This n8n workflow is initiated manually (though it can easily be adapted to an n8n trigger like a webhook or file upload).
When clicking ‘Test workflow’ n8n trigger, which fetches and downloads two example PDF files for demonstration purposes.Presigned Upload URL.Split multipage PDF files PDF.co API call is executed. This returns a list of URLs, one for each page of the original PDF.Loop over pdf files n8n node uses a Split In Batches approach to process each page URL individually.Convert PDF to PNG (PDF.co) n8n node converts the specified page URL to a PNG.Download PNG from PDF.co n8n node.Combine binaries n8n node, completing this powerful n8n workflow.To utilize this expert n8n template, follow these steps:
Get Presigned Upload URL, Upload PDF to Presigned URL, Split multipage PDF files, Convert PDF to PNG (PDF.co)). When clicking ‘Test workflow’ (Manual Trigger): The initial n8n trigger. Used here to manually start the demonstration and simulate file input.
Download example PDF Files (HTTP Request n8n node): Downloads external PDF files which serve as the input binary data for the rest of the n8n workflow.
Get Presigned Upload URL (PDF.co) (HTTP Request n8n node): Obtains a temporary, secure URL from PDF.co where the input file should be uploaded. Key configuration involves setting the PDF.co API key as an authentication header.
Combine binary and json data (Merge n8n node): Merges the downloaded PDF binary data with the JSON response containing the presigned upload URL, preparing the request body for the actual upload.
Upload PDF to Presigned URL (HTTP Request n8n node): Executes the file upload using the PUT method to the presigned URL. This is critical for moving the binary file into the PDF.co environment.
Split multipage PDF files (HTTP Request n8n node): Invokes the PDF.co API endpoint specifically designed to handle multi-page PDFs, providing separate URLs for conversion. This ensures the n8n workflow can process documents page by page.
Loop over pdf files (Split In Batches n8n node): Controls the flow, ensuring every single page URL resulting from the split is processed sequentially or in batches.
Convert PDF to PNG (PDF.co) (HTTP Request n8n node): The core conversion step. Takes the URL of a single PDF page and requests its conversion to PNG format.
Download PNG from PDF.co (HTTP Request n8n node): Fetches the newly converted PNG binary data from the temporary PDF.co output URL.
Combine binaries (Aggregate n8n node): Collects all resulting binary PNG files downloaded within the loop into a single output item, concluding the n8n automation.
Deploy this powerful n8n workflow to automatically convert newly uploaded PDFs in Google Drive into ready-to-use HTML files using the PDF.co API. This efficient n8n automation saves significant manual time and effort, making it one of the most useful n8n templates for document processing.

Convert PDF documents to engaging 5-7 minute AI podcasts instantly using this advanced n8n workflow. Integrates Google Gemini for scripting and Text-to-Speech audio generation.

Use this powerful n8n workflow to automatically convert PDF documents into a personalized audio podcast feed. Leverage Google TTS and Cloudflare R2 for seamless media hosting and RSS generation. Find the best n8n templates for content creation.

Convert PDFs, DOCs, and images to Markdown automatically using this n8n workflow. Ideal n8n templates for RAG and AI preparation via the Datalab.to API.

Convert POML markup into clean Markdown prompts or structured chat messages using a zero-dependency n8n workflow. Perfect for advanced AI generation n8n templates.
