Save dynamic amount of Image Data from n8n form submission

Describe the problem/error/question

Is there a way to split binary data to save to google cloud?

CONTEXT: I have a workflow I am working on that takes in multiple images from an n8n form, and I would like to save them into google cloud or other s3 bucket, but when looping over items it only saves the first image and not the others. It should be noted that the workflow will have a dynamic amount of images.

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Hey @Ramon_Tomzer

Yes there is! To split out multiple binaries from one item into multiple items, you need to use the code node for this.

Check out this answer by @Jon Split binary file data into individual items - Attachments from mail

3 Likes

Thank you!

1 Like

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