n8n-nodes-pritset
v0.1.4
Published
Generate PDFs from Pritset templates in n8n using direct download or webhook delivery
Maintainers
Readme
n8n-nodes-pritset
Generate PDFs from Pritset templates in n8n. The node can return a generated PDF directly as binary data or request asynchronous delivery to a webhook.
Installation
Install n8n-nodes-pritset from Settings > Community Nodes in a self-hosted n8n instance. For alternative installation methods, see the n8n community node installation guide.
Operations
- Direct: Wait for Pritset to generate the PDF and return it in the
databinary field. - Webhook: Start PDF generation, return the Pritset API response, and have Pritset deliver the generated PDF to a public webhook URL.
Credentials
Create a Pritset API credential in n8n with:
- Access Token: Sent in the
Authorizationheader. - Secret Key: Sent in the
X-Secretheader.
Both values are stored as password fields by n8n. Obtain them from your Pritset account.
Usage
- Add the Pritset node to a workflow.
- Select or create a Pritset API credential.
- Enter the Pritset template ID. The default expression reads
templateIdfrom the incoming item. - Choose Direct or Webhook mode.
- Provide the template data as a JSON object. By default, the node uses
datafrom the incoming item, or the entire item whendatais absent. - In webhook mode, provide a publicly reachable webhook URL.
Example input
{
"templateId": "your-template-id",
"data": {
"customerName": "Ada Lovelace",
"invoiceNumber": "INV-1001"
}
}Output
- Direct mode returns metadata in
jsonand the generated PDF inbinary.data. - Webhook mode returns the Pritset API response together with
templateIdandmode.
Compatibility
Tested with n8n 2.30.7 and Node.js 22.
