{
  "name": "dynamicpdf-pdf-endpoint-cloud",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "id": "2c4fd42a-19da-43f4-9e02-c56c8dbc8dd3",
      "name": "When clicking ‘Execute workflow’"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.dpdf.io/v1.0/pdf",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <your-api-key>"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"author\": \"Alex Smith\",\n  \"inputs\": [\n    {\n      \"type\": \"pdf\",\n      \"resourceName\": \"samples/merge-pdfs-pdf-endpoint/DocumentA.pdf\",\n      \"startPage\": 1,\n      \"pageCount\": 1\n    },\n    {\n      \"type\": \"pdf\",\n      \"resourceName\": \"samples/merge-pdfs-pdf-endpoint/DocumentB.pdf\"\n    },\n    {\n      \"type\": \"pdf\",\n      \"resourceName\": \"samples/merge-pdfs-pdf-endpoint/DocumentC.pdf\"\n    }\n  ]\n}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "data3"
            }
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        0
      ],
      "id": "d6bb98d5-9428-4377-a65b-0dbc967d6777",
      "name": "HTTP Request2",
      "credentials": {
        "httpHeaderAuth": {
          "id": "blHLkAcXKlwfeFQX",
          "name": "Header Auth account 2"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "HTTP Request2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "93ee64bd-fd6a-43b1-9d61-f5d7dfae3cd7",
  "meta": {
    "instanceId": "60c047a1b4424ad9700a221f94d8763a78586e4fad7a0c9e42375303569299b6"
  },
  "id": "L1oQZoNJsbnrjxgb",
  "tags": []
}