workflows.fit
Back to n8n workflows
n8n templateFreeBy CustomJS

Generate PDF invoices with CustomJS API

![workflow.png](fileId:1056) n8n Workflow: Invoice PDF Generator This n8n workflow captures invoice data and generates a PDF invoice, ready to be sent or saved. It uses a webhook to trigger the process, preprocesses t...

DevelopmentCore NodesUtility@custom-js/n8n-nodes-pdf-toolkit.html2PdfCodeSetWebhook
Loading interactive preview...

Template notes

![workflow.png](fileId:1056) n8n Workflow: Invoice PDF Generator

This n8n workflow captures invoice data and generates a PDF invoice, ready to be sent or saved. It uses a webhook to trigger the process, preprocesses the invoice data, and converts it to a PDF using HTML and custom styling.

[@custom-js/n8n-nodes-pdf-toolkit](@custom-js/n8n-nodes-pdf-toolkit)

Features:

- Webhook Trigger: Receives incoming data, including invoice details. - Preprocessing: Transforms the invoice data into HTML format. - HTML to PDF Conversion: Converts the preprocessed HTML into a styled PDF document. - Response: Sends the generated PDF back to the webhook response.

Notice

Community nodes can only be installed on self-hosted instances of n8n.

Requirements