All tools
PDF utility

HTML to PDF API
for workflow-generated documents

Load a saved HTML template with [[var:invoice-template-html]], use saved CSS with [[var:invoice-template-css]], and pass JSON data into the template to generate clean PDF files for reports, quotes, certificates, invoices, and workflow-generated documents.

[[var:...]] Template data Signed links
Endpoint POST
/api/utilities/html-to-pdf
POST /api/utilities/html-to-pdf
Authorization: Bearer ns_live_...

// Direct HTML
{
  "html": "<h1>Project Report</h1><p>Hello [[customer.name]]</p>",
  "css": "body { font-family: sans-serif; color: #10211f; }",
  "data": {
    "customer": { "name": "Acme Inc" },
    "report": { "title": "Q2 Summary" }
  },
  "page_size": "A4",
  "orientation": "portrait"
}

// Saved variables
{
  "html": "[[var:invoice-template-html]]",
  "css": "[[var:invoice-template-css]]",
  "data": {
    "customer": { "name": "Acme Inc" },
    "report": { "title": "Q2 Summary" }
  },
  "page_size": "A4",
  "orientation": "portrait"
}
What it handles

Built for utility work inside real automations.

Each tool follows the same platform contract: bearer auth, JSON requests, predictable responses, action usage tracking, and operational visibility.

Saved templates

Use [[var:invoice-template-html]] to load familiar HTML templates for dynamic content.

Saved CSS

Use [[var:invoice-template-css]] to apply reusable styling.

Workflow-ready files

Return download URLs, signed URLs, optional base64, size, and page count.

Page controls

Choose page size, orientation, margins, and whether files expire.

Safe rendering

CSS sanitization, file limits, and image validation protect the service.

Response JSON
{
  "success": true,
  "data": {
    "download_url": "https://app.nisastack.com/files/download/...",
    "signed_url": "https://files.nisastack.com/...",
    "size_bytes": 123456,
    "page_count": 2
  }
}
Common uses

Where teams usually put it to work.

Customer reports
Quotes and proposals
Certificates
Internal documents
Start free

Test this tool before wiring it into a production workflow.

Start with 100 free actions per month. No card required.