Loop over items node only returning 1 output

I have a simple workflow that asks an AI Agent to create 3 slides for a presentation. The agent generates the output, then I have a note that converts the JSON, which is the inut to the loop over items node. Inside the loop will be a set node, image generation node, and a get image binary data node.

Output of the convert JSON node (input to the loop over node) is:
[
{
“title”: “Understanding Prioritization”,
“content”: “Prioritization is the process of determining the order in which tasks should be completed based on their importance and urgency.”,
“imagePrompt”: “An informative image depicting a flowchart of task prioritization with categories such as ‘urgent and important’, ‘not urgent but important’, and others. The style should be professional and educational, using a clear color palette for each category, and perhaps icons representing various tasks.”
},
{
“title”: “The Eisenhower Matrix”,
“content”: “Use the Eisenhower Matrix to classify tasks into four quadrants based on urgency and importance to help you focus on what truly matters.”,
“imagePrompt”: “A visually engaging image of the Eisenhower Matrix diagram, with tasks organized into four quadrants labeled ‘Urgent & Important’, ‘Not Urgent & Important’, ‘Urgent & Not Important’, and ‘Not Urgent & Not Important’. The design should be clear and easy to understand, utilizing engaging colors and simple icons for each quadrant.”
},
{
“title”: “Time Management Techniques”,
“content”: “Incorporate time management techniques such as the Pomodoro Technique and time blocking to enhance focus on prioritized tasks.”,
“imagePrompt”: “A dynamic image showing a clock with the Pomodoro Technique represented by 25-minute segments, and a calendar depicting time blocking for daily tasks. The style should be energetic and motivating, with bright colors conveying productivity and efficiency.”
}
]

Output of the Loop over items node is:
[
{
“title”: “Understanding Prioritization”,
“content”: “Prioritization is the process of determining the order in which tasks should be completed based on their importance and urgency.”,
“imagePrompt”: “An informative image depicting a flowchart of task prioritization with categories such as ‘urgent and important’, ‘not urgent but important’, and others. The style should be professional and educational, using a clear color palette for each category, and perhaps icons representing various tasks.”
}
]

I have tried to debug myself, I’ve tried to look at the loop node configuration panel but it doesn’t appear.

Some screenshots:

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @Michael_Vogt

that’s because you have circled the wrong branch…
the right way is:

Hello @Michael_Vogt ,
It looks like the issue is caused by the way the Loop Over Items node is connected. The Loop Over Items node has two outputs:

• Loop Branch (Processes each item individually)

• Done Branch (Executes once after all items are processed)

Currently, your workflow is connected to the Done Branch, which is why only one item is being processed.

:white_check_mark: Fix:

• Disconnect the node that follows the Loop Over Items node.

• Reconnect it to the Loop Branch (the one labeled loop).

This should allow all three items to be processed correctly. Let me know if you need further assistance! :rocket:

Perfect, thank you!