HTML Content to PDF Document Converter

d55f77e1-ac75-40df-ac73-20f783a44296

Latency
5ms
Cost
$0.0000
Tokens
0
Status
success
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "3409b6e3-aef1-4eb4-acfb-72a73101e109",
    "timestamp": 1783331867581
  },
  {
    "data": {
      "initialData": {
        "data": {
          "htmlContent": "<!DOCTYPE html>\n<html>\n<head>\n<title>Sample Invoice</title>\n<style>\n  body { font-family: Arial, sans-serif; }\n  .invoice-box { max-width: 800px; margin: auto; padding: 30px; border: 1px solid #eee; box-shadow: 0 0 10px rgba(0, 0, 0, .15); font-size: 16px; line-height: 24px; color: #555; }\n  .invoice-box table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n  .invoice-box table td { padding: 5px; vertical-align: top; }\n  .invoice-box table tr td:nth-child(2) { text-align: right; }\n  .invoice-box table tr.top table td { padding-bottom: 20px; }\n  .invoice-box table tr.top table td.title { font-size: 45px; line-height: 45px; color: #333; }\n  .invoice-box table tr.information table td { padding-bottom: 40px; }\n  .invoice-box table tr.heading td { background: #eee; border-bottom: 1px solid #ddd; font-weight: bold; }\n  .invoice-box table tr.details td { padding-bottom: 20px; }\n  .invoice-box table tr.item td { border-bottom: 1px solid #eee; }\n  .invoice-box table tr.item.last td { border-bottom: none; }\n  .invoice-box table tr.total td { border-top: 2px solid #eee; font-weight: bold; }\n  .invoice-box .button { color: #fff; background-color: #4CAF50; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; }\n</style>\n</head>\n<body>\n\n<div class=\"invoice-box\">\n  <table>\n    <tr class=\"top\">\n      <td colspan=\"2\">\n        <table>\n          <tr>\n            <td class=\"title\">\n              <img src=\"https://www.n8n.io/img/logo.svg\" alt=\"Company logo\" style=\"width:100%; max-width:300px;\">\n            </td>\n            <td>\n              Invoice #: 12345<br>\n              Created: 2023-10-27<br>\n              Due: 2023-11-27\n            </td>\n          </tr>\n        </table>\n      </td>\n    </tr>\n    <tr class=\"information\">\n      <td colspan=\"2\">\n        <table>\n          <tr>\n            <td>\n              Acme Corp.<br>\n              123 Main Street<br>\n              Anytown, CA 91234\n            </td>\n            <td>\n              John Doe<br>\n              john.doe@example.com<br>\n              555-1234\n            </td>\n          </tr>\n        </table>\n      </td>\n    </tr>\n    <tr class=\"heading\">\n      <td>Item</td>\n      <td>Price</td>\n    </tr>\n    <tr class=\"item\">\n      <td>Web Design Services</td>\n      <td>$3000.00</td>\n    </tr>\n    <tr class=\"item last\">\n      <td>Hosting (1 Year)</td>\n      <td>$200.00</td>\n    </tr>\n    <tr class=\"total\">\n      <td></td>\n      <td>Total: $3200.00</td>\n    </tr>\n  </table>\n  <br>\n  <a href=\"#\" class=\"button\">Pay Now</a>\n</div>\n\n</body>\n</html>"
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783331867581
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "3409b6e3-aef1-4eb4-acfb-72a73101e109",
    "timestamp": 1783331867581
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4942cdfc-bc9a-43ac-a60d-06e1ddf52d07",
    "timestamp": 1783331867582
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783331867582
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4942cdfc-bc9a-43ac-a60d-06e1ddf52d07",
    "timestamp": 1783331867582
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "4d85a311-8e39-48ce-868e-95efec509247",
    "timestamp": 1783331867584
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783331867584
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "4d85a311-8e39-48ce-868e-95efec509247",
    "timestamp": 1783331867584
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "a0e4e17a-097f-4127-9b60-c6ae637816a0",
    "timestamp": 1783331867584
  },
  {
    "event": "execution error (simulated): Buffer is not defined",
    "nodeId": "code",
    "timestamp": 1783331867585
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783331867585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "a0e4e17a-097f-4127-9b60-c6ae637816a0",
    "timestamp": 1783331867585
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "653b21eb-dae5-44e0-858a-a2905f495911",
    "timestamp": 1783331867586
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783331867586
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "653b21eb-dae5-44e0-858a-a2905f495911",
    "timestamp": 1783331867586
  }
]