Merge PDFs

Merge PDFs is a manual workflow that seamlessly combines multiple PDF files into one, enhancing document management efficiency. By integrating with MergePdfs and ReadWriteFile, it automates the retrieval of PDF files from specified URLs, merges them, and saves the final document, streamlining your workflow and saving time.

7/8/2025
7 nodes
Medium
manualmediummergepdfsreadwritefileapiintegrationfilesstorage
Categories:
Manual TriggeredMedium Workflow
Integrations:
MergePdfsReadWriteFile

Target Audience

This workflow is ideal for:
- Small Business Owners: Who need to consolidate multiple PDF documents into a single file for presentations or reports.
- Freelancers: Who regularly handle client documents and require efficient PDF management.
- Educators: Who want to merge educational materials into one PDF for easy distribution to students.
- Developers: Looking to automate PDF handling in their applications using n8n workflows.

Problem Solved

This workflow addresses the challenge of managing multiple PDF files by automating the merging process. Instead of manually combining PDFs, users can efficiently consolidate documents into a single PDF, saving time and reducing errors. This is particularly useful for:
- Organizing Documentation: Keeping related documents together for easy access.
- Improving Workflow Efficiency: Reducing the manual effort required to manage multiple files.

Workflow Steps

  • Manual Trigger: The workflow begins when the user clicks ‘Test workflow’.
    2. HTTP Requests: Two separate HTTP requests are made to fetch PDF files from specified URLs:
    - The first request retrieves a PDF from https://www.intewa.com/fileadmin/documents/pdf-file.pdf.
    - The second request fetches a dummy PDF from https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf.
    3. Merge PDFs: The fetched PDFs are sent to the Merge node, which combines them into a single document.
    4. Merge PDF1: The merged document is processed by the Merge PDF1 node using the MergePdfs integration.
    5. Write to Disk: The final merged PDF is saved as test.pdf on the disk.
    6. Read from Disk: The workflow concludes by reading the saved PDF file, allowing users to access or use it as needed.
  • Customization Guide

    Users can customize this workflow by:
    - Changing PDF Sources: Modify the URLs in the HTTP Request nodes to fetch different PDFs.
    - Adjusting File Name: Update the fileName parameter in the Read/Write Files node to save the merged PDF under a different name.
    - Adding More PDFs: Include additional HTTP Request nodes to fetch more PDFs, and update the Merge node to accommodate the new inputs.
    - Altering Output Location: Change the output directory in the Read/Write Files node to save the merged PDF in a preferred location.
    - Integrating with Other Services: Users can connect other n8n nodes for further processing or notifications after the PDF is created.