{
  "name": "Convert HTML to PDF and return via webhook using CustomJS API",
  "nodes": [
    {
      "id": "37bd6cc9-3cc4-442e-94c1-42972c0fce0d",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        80,
        0
      ]
    },
    {
      "id": "3c05c0e4-7121-46d0-b35c-fc39cdd35ae7",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        580,
        0
      ]
    },
    {
      "id": "3f5ba2a7-148d-4921-b2ca-9dee17a2b278",
      "name": "HTML to PDF",
      "type": "@custom-js/n8n-nodes-pdf-toolkit.html2Pdf",
      "position": [
        340,
        0
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "HTML to PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML to PDF": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}