Templates / Generate dynamic contents for EMAILS or HTML pages

Generate dynamic contents for EMAILS or HTML pages

Needs changes

by Miquel Colomer ✓ · 9,506 views · created 2022-09-11 · Document Extraction

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: Item Lists (legacy), Function Item (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
Item Lists (legacy)
Item Lists
Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used)
Function Item (legacy)
Add lines
Code node, mode 'Run Once for Each Item'

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (6)

Customer Datastore (n8n training)

What it does

!workflown8nnodesdocumentgenerator.jpeg(fileId:663) ==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 SETs 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": !installn8nnodesdocumentgenerator.jpeg(fileId:662) Later, copy and paste this workflow into your n8n. You will get this workflow: !workflown8nnodesdocumentgenerator.jpeg(fileId:663) 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"): !onetemplateallitems.jpeg(fileId:664) or one template per input item: !onetemplateperitem.jpeg(fileId:665) Visit the oficial 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(mailto:[email protected]). 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. - HTTP 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!

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.