Saved templates
Use [[var:invoice-template-html]] to reuse one HTML template across customers, jobs, and workflows.
Load a saved HTML template with [[var:invoice-template-html]], load saved CSS with [[var:invoice-template-css]], then send JSON data into it and get finished PDFs back without maintaining your own rendering service.
/api/utilities/json-to-pdf
POST /api/utilities/json-to-pdf
Authorization: Bearer ns_live_...
// Direct HTML
{
"html": "<h1>Invoice #[[invoice.number]]</h1><p>Customer: [[customer.name]]</p>",
"css": "h1 { color: #08785c; }",
"data": {
"invoice": { "number": "INV-1001" },
"customer": { "name": "Acme Inc" }
}
}
// Saved variables
{
"html": "[[var:invoice-template-html]]",
"css": "[[var:invoice-template-css]]",
"data": {
"invoice": { "number": "INV-1001" },
"customer": { "name": "Acme Inc" }
}
}
Each tool follows the same platform contract: bearer auth, JSON requests, predictable responses, action usage tracking, and operational visibility.
Use [[var:invoice-template-html]] to reuse one HTML template across customers, jobs, and workflows.
Use [[var:invoice-template-css]] to keep the PDF styling consistent.
Inject JSON values with [[variable]] syntax inside the template.
Receive file URLs, metadata, usage tracking, and predictable API responses.
{
"success": true,
"data": {
"download_url": "https://app.nisastack.com/files/download/...",
"signed_url": "https://files.nisastack.com/...",
"size_bytes": 98211,
"page_count": 1
}
}
Start with 100 free actions per month. No card required.