Convert HTML to PDF using ConvertAPI
Ready for 3.0What this workflow does
This workflow has 5 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls v2.convertapi.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Create HTML (Edit Fields (Set)): sets 1 field: data
- Convert HTML to File (Code): runs custom JavaScript code
- Convert File to PDF (HTTP Request): calls v2.convertapi.com (POST)
- Write Result File to Disk (Read/Write Files from Disk): writes a file to disk
HTTP calls to: v2.convertapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Who is this for? For developers and organizations that need to convert HTML files to PDF. What problem is this workflow solving? The file format conversion problem. What this workflow does 1. Converts HTML to file. 2. Converts the HTML file to PDF. 3. Stores…