Issue with N8N Image Compression Workflow Across Multiple Folders

Describe the problem/error/question

I’ve created an n8n workflow to compress JPG images across multiple folders, but it’s only processing the first folder and not continuing to the subsequent folders, despite having a loop structure set up.

What is the error message (if any)?

There’s no error message, but the workflow stops after processing images in the first folder instead of continuing to the next folders.

Please share your workflow

Share the output returned by the last node

The workflow successfully processes all images in the first folder it encounters, creating a “/compressed” subdirectory and placing compressed JPG files there. However, it doesn’t continue to process any additional folders.

Information on your n8n setup

Information on your n8n setup

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

Hi,

Thanks for posting the workflow. Can you please pin some execution data since it I’ll take time just to try to simulate this. BTW how many items does the first execute command return (visually after the node)

Reg,
J.

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