Merge

Merge for n8n automates the process of merging two PDF files into one, enhancing efficiency by eliminating manual file handling. Triggered by a simple click, it downloads the PDFs, merges them using an API, and saves the result to disk, streamlining document management and saving time.

7/8/2025
6 nodes
Simple
manualsimplereadwritefilesticky notefilesstorageapiintegration
Categories:
Manual TriggeredSimple Workflow
Integrations:
ReadWriteFileSticky Note

Target Audience

  • Business Professionals: Those who frequently handle PDF documents and need to merge them efficiently.
    - Developers: Individuals looking for automation solutions to streamline their workflows involving file management.
    - Content Creators: Users who need to combine multiple PDF files into a single document for presentations or reports.
    - Educators: Teachers and trainers who want to compile resources into one PDF for distribution to students.
  • Problem Solved

  • This workflow addresses the challenge of manually merging multiple PDF files, which can be time-consuming and prone to errors.
    - It automates the process of downloading, merging, and saving PDF files, significantly reducing the time and effort required.
    - The integration with the ConvertAPI ensures that users can handle large or multiple files without hassle, improving productivity.
  • Workflow Steps

  • Step 1: The workflow is manually triggered when the user clicks the ‘Test workflow’ button.
    - Step 2: The first PDF file is downloaded from a specified URL using an HTTP request.
    - Step 3: The second PDF file is downloaded from another URL.
    - Step 4: Both downloaded PDF files are sent to the ConvertAPI to be merged into a single document.
    - Step 5: The merged PDF file is then written to disk with the filename document.pdf.
    - Step 6: A sticky note provides authentication instructions for users, ensuring they are aware of the need for an account with ConvertAPI.
  • Customization Guide

  • Change PDF URLs: Users can modify the URLs in the Download first remote PDF File and Download second PDF File nodes to download different files.
    - Adjust Output Filename: The Write Result File to Disk node allows users to change the fileName parameter to save the merged file under a different name.
    - Modify Sticky Note Content: Users can edit the content of the Sticky Note node to provide different instructions or information relevant to their workflow.
    - Add More PDF Files: To merge additional PDFs, users can duplicate the HTTP request nodes and adjust the parameters accordingly to include more files in the merge process.