Templates / Markdown timesheet report generation

Markdown timesheet report generation

Needs changes

by Eduard ✓ · 1,769 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.
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 tutorial demonstrates the creation of the HTML report via Markdown node. The main idea is to prepare a very long gext variable via the Function Node and then convert it to the HTML file. The resulting report can be downloaded from the workflow canvas…

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.