Templates / Markdown report generation

Markdown report generation

Needs changes

by Eduard ✓ · 4,880 views · created 2022-06-02 · Document Extraction

Needs changes. This template uses 3 thing(s) that n8n 3.0 removes: Item Lists (legacy), Function (legacy), Convert to/from binary data. 3 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. GetTimesheetRecords (Function): runs custom JavaScript (legacy Function node)
  2. SortElements (Item Lists): reshapes item lists (legacy Item Lists node)
  3. GetImg (Item Lists): reshapes item lists (legacy Item Lists node)
  4. Merge: merges the data from its input branches
  5. ImgBinary (HTTP Request): calls an HTTP API
  6. CreateMDReport (Function): runs custom JavaScript (legacy Function node)
  7. Markdown: converts between Markdown and HTML
  8. Move Binary Data (Convert to/from binary data): uses Convert to/from binary data
  9. Send Email: sends an email over SMTP

Before you upgrade to n8n 3.0

3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Item Lists (legacy) in SortElements, GetImg: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).
  • Function (legacy) in CreateMDReport, GetTimesheetRecords: replace with Code node, mode 'Run Once for All Items'.
  • Convert to/from binary data in Move Binary Data1: replace with Convert to File or Extract from File.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Item Lists (legacy)
SortElements, GetImg
Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used)
Function (legacy)
CreateMDReport, GetTimesheetRecords
Code node, mode 'Run Once for All Items'
Convert to/from binary data
Move Binary Data1
Convert to File or Extract from File

Nodes used (8)

From the author

This workflow illustrates how HTML reports can be created using Markdown Node. An example data consists of a Time Sheet table for 2 persons. Based on this table a markdown document is generated using Function Node. After that a final HTML report is created…

Excerpt from Eduard's description on n8n.io.

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.