# Need help on "#each " HTLM code

**URL:** <https://community.n8n.io/t/need-help-on-each-htlm-code/257585>\
**Category:** Questions\
**Created:** [29. Januar 2026 um 08:07 UTC](https://community.n8n.io/t/need-help-on-each-htlm-code/257585 "2026-01-29T08:07:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ericchen](https://avatars.discourse-cdn.com/v4/letter/e/ee59a6/32.png) [@Ericchen](https://community.n8n.io/u/Ericchen)\
**Post date:** [29. Januar 2026 um 08:07 UTC](https://community.n8n.io/t/need-help-on-each-htlm-code/257585/1 "2026-01-29T08:07:54Z")

</div>

need help on items in array and {{#each $json.output.items }} just not working

## Describe the problem/error/question

## What is the error message (if any)? Syntax Error

## Please share your workflow

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/5/5/553cee3dfb7c750dc02fd87aa6b53d257ec59310.png)

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

## Share the output returned by the last node

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/0/4/047b5aff7fab610d0f8bac986b6509c621ea7965.png)

##

---

<div class="post-metadata">

**Author:** ![Anshul\_Namdev](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anshul_namdev/32/178229_2.png) [@Anshul\_Namdev](https://community.n8n.io/u/Anshul_Namdev)\
**Post date:** [29. Januar 2026 um 10:40 UTC](https://community.n8n.io/t/need-help-on-each-htlm-code/257585/2 "2026-01-29T10:40:36Z")

</div>

@Ericchen The Generate HTML Template functionality in the HTML node does not support Handlebars looping such as `{{#each …}}` , so you need to create your repeated HTML manually, by for instance concatenating strings in a Code or Summarize node, before providing it to the HTML Template.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [29. April 2026 um 10:40 UTC](https://community.n8n.io/t/need-help-on-each-htlm-code/257585/3 "2026-04-29T10:40:52Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
