AutomationFlowsGeneral › Merge PDF Files with ConvertAPI

Merge PDF Files with ConvertAPI

Original n8n title: Merge PDF Files Using Convertapi

Merge Pdf Files Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 6 nodes.

Event trigger★★★★☆ complexity6 nodesRead Write FileHTTP Request
General Trigger: Event Nodes: 6 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Readwritefile recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "id": "513658bc-f898-431c-a005-973013fb12a3",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -840,
        -200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5ba22d17-af12-4665-85c5-f704835f71a4",
      "name": "Write Result File to Disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        -100,
        -200
      ],
      "parameters": {
        "options": {},
        "fileName": "document.pdf",
        "operation": "write",
        "dataPropertyName": "=data1"
      },
      "typeVersion": 1
    },
    {
      "id": "2bf6b07f-068d-4bbd-8d59-93768118c07c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -340
      ],
      "parameters": {
        "width": 218,
        "height": 132,
        "content": "## Authentication\nConversion requests must be authenticated. Please create \n[ConvertAPI account to get authentication secret](https://www.convertapi.com/a/signin)"
      },
      "typeVersion": 1
    },
    {
      "id": "e1f7f9b3-6806-42e6-83f8-cdd3f45f236e",
      "name": "Download first remote PDF File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -640,
        -200
      ],
      "parameters": {
        "url": "https://cdn.convertapi.com/public/files/demo.pdf",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "data1"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "00acf3e1-1bb8-4dc0-826a-a2c58f5d82d5",
      "name": "Download second PDF File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -460,
        -200
      ],
      "parameters": {
        "url": "https://cdn.convertapi.com/public/files/demo2.pdf",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "data2"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "6c2a428e-e0af-485b-bdde-70785bc0d508",
      "name": "PDF merge API HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -280,
        -200
      ],
      "parameters": {
        "url": "https://v2.convertapi.com/convert/pdf/to/merge",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "neverError": "=",
              "responseFormat": "file",
              "outputPropertyName": "=data"
            }
          }
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "files[0]",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data1"
            },
            {
              "name": "files[1]",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data2"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/octet-stream"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "name": "<your credential>"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    }
  ],
  "connections": {
    "Download second PDF File": {
      "main": [
        [
          {
            "node": "PDF merge API HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PDF merge API HTTP Request": {
      "main": [
        [
          {
            "node": "Write Result File to Disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download first remote PDF File": {
      "main": [
        [
          {
            "node": "Download second PDF File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Download first remote PDF File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Merge Pdf Files Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 6 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Protect Pdf With The Password Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 7 nodes.

Read Write File, HTTP Request, Google Drive
General

Kv Cloudflare Key Value Database Full Api Integration Workflow. Uses stickyNote, httpRequest, manualTrigger. Event-driven trigger; 47 nodes.

HTTP Request
General

Reputation Engine — Site Refresh. Uses httpRequest, executeWorkflowTrigger. Event-driven trigger; 35 nodes.

HTTP Request, Execute Workflow Trigger
General

Reputation Engine — Content Generator. Uses httpRequest. Event-driven trigger; 30 nodes.

HTTP Request
General

PRECALL. Uses executeWorkflowTrigger, httpRequest. Event-driven trigger; 23 nodes.

Execute Workflow Trigger, HTTP Request