Customer Datastore (n8n training) node
Item Lists node

Generate dynamic contents for EMAILS or HTML pages

Published 1 year ago


Building Blocks

Template description

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":

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 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.

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!

Share Template

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon