n8n HTML to PDF: How to dynamically generate reports from JSON data ?
Hi, I have a JSON item with a nested array representing table data:
{
"reportTitle": "Weekly Sales",
"items": [
{ "product": "Product A", "quantity": 10, "unitPrice": 5 },
{ "product": "Product B", "quantity": 7, "unitPrice": 8 }
]
}
I want to generate a PDF report using the HTML node, but I’m struggling to make the report dynamic—currently the HTML is static.
I’m open to any suggestions or approaches for dynamically generating reports from this kind of JSON data, not just table loops.
Thanks!
7
3 comments
Salah Nedjar
4
n8n HTML to PDF: How to dynamically generate reports from JSON data ?
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by