Developer & DevOps
Automated workflow
5 nodes
198
122
Webhook
Workflow Description
Automated workflow that receives requests via webhook, processes data with custom code, converts HTML content to PDF files, and sends responses to the client. Ideal for automating report generation, invoices, and document creation workflows.
How it works
- 1.Receive webhook request and trigger workflow automatically
- 2.Process and format incoming data using Code node
- 3.Convert HTML content to PDF file via html2Pdf node
- 4.Store data and results using Set node
- 5.Send response and generated file back via respondToWebhook
Use cases
- Generate invoices and receipts in PDF automatically when receiving external API requests
- Convert HTML reports to distributable and archivable PDF files
- Automate creation of certificates and permits within administrative systems
Requirements
- Properly configured webhook endpoint for external application integration
- Well-formatted HTML content ready for PDF conversion
- Basic understanding of data manipulation in n8n workflows
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
HTML
Details
Trigger
Webhook
Nodes
5
Apps
1
Views
198
Downloads
122
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (5)
HTML to PDF
HTML Page
Preprocess
Code
Set data
Set
Webhook
Webhook
Respond to Webhook
Webhook