Generate Dynamic Content for Emails or HTML Pages
**Disclaimer: This template contains a community node and therefore only works for n8n self-hosted users.** This is Miquel from **[Aprende n8n](https://aprenden8n.com)** and **[Automate with n8n](https://automatewithn8n.com)**. We have created a new community node **[Document Generator](https://www.npmjs.com/package/n8n-nodes-document-generator)** that generates dynamic content using templates. You can compose complex content with no issues or function items nodes using this node, like: - Send one email with a list of items in the body (i.e., one email with the last entries of an RSS feed). - Send one email per item (i.e., one invoice per email). Emails are just a sample. You can create complex dynamic content to: - Send messages to Telegram/Slack. - Create WordPress entries. - Create HTML pages for your website. - Create tickets. And more! The sky is your limit ;) If you want to use this workflow, install the community node **n8n-nodes-document-generator** from **Settings > Community nodes**. Type n8n-nodes-document-generator, check "I understand the risks..." and click on Install: Later, copy and paste this workflow into your n8n. You will get this workflow: This workflow uses the **Customer Datastore node** to generate sample input items. You can render one template with all items (enable "Render All Items with One Template"): or one template per input item: Visit the **[official NPM page](https://www.npmjs.com/package/n8n-nodes-document-generator)** to see more samples. Learning n8n by yourself is nice, but a bit tricky :) We offer n8n training video courses at **[Aprende n8n](https://aprenden8n.com)**. If you need custom trainings, [let us know](mailto:miquel@aprenden8n.com). Additionally, you can contact us at **[Automate with n8n](https://automatewithn8n.com)** if you need the next services: - Custom installations. - Custom nodes. - Monitor and alarms. - Delegate 12/5 or 24/7 workflow issue resolutions. - Automated backups of your workflows. - API integrations of non-supported APIs. - Complex workflows. I hope you will enjoy this new node and this workflow. Automate your life! Automate it with n8n!
Disclaimer: This template contains a community node and therefore only works for n8n self-hosted users.
This is Miquel from Aprende n8n and Automate with n8n.
We have created a new community node Document Generator that generates dynamic content using templates.
You can compose complex content with no issues or function items nodes using this node, like:
- Send one email with a list of items in the body (i.e., one email with the last entries of an RSS feed).
- Send one email per item (i.e., one invoice per email).
Emails are just a sample. You can create complex dynamic content to:
- Send messages to Telegram/Slack.
- Create WordPress entries.
- Create HTML pages for your website.
- Create tickets.
And more! The sky is your limit ;)
If you want to use this workflow, install the community node n8n-nodes-document-generator from Settings > Community nodes. Type n8n-nodes-document-generator, check "I understand the risks..." and click on Install:
Later, copy and paste this workflow into your n8n.
You will get this workflow:
This workflow uses the Customer Datastore node to generate sample input items.
You can render one template with all items (enable "Render All Items with One Template"):
or one template per input item:
Visit the official NPM page to see more samples.
Learning n8n by yourself is nice, but a bit tricky :) We offer n8n training video courses at Aprende n8n. If you need custom trainings, let us know.
Additionally, you can contact us at Automate with n8n if you need the next services:
- Custom installations.
- Custom nodes.
- Monitor and alarms.
- Delegate 12/5 or 24/7 workflow issue resolutions.
- Automated backups of your workflows.
- API integrations of non-supported APIs.
- Complex workflows.
I hope you will enjoy this new node and this workflow.
Automate your life! Automate it with n8n!
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Communication workflows
- Automate Outbound Calls with Ultravox AI and Twilio$4.99
- Automate Intelligent Email Classification with AI in Gmail$4.99
- Generate AI videos and carousels with Blotato for Instagram and TikTok$9.99
- Automating WhatsApp Replies Using GoHighLevel with Redis and Anthropic$24.99
- Automate Gmail Email Labeling with AI for Enhanced Organization$14.99
- Automate Email Summarization and Logging with AI and Google Sheets$9.99
More from Miquel Colomer
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.