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
Learn to get paid for AI solutions, regardless of your background.
Leaderboard (30-day)
Powered by