S3 Node - Get images from folder inside bucket

Describe the problem/error/question

When using the S3 node. It allows me to define:


Resource: File
Operation: Get Many
Bucket Name: my-bucket-name

Inside that bucket are various folders, one of them called image-resize. I want N8N to get all images inside that folder. But there seems to be no option, it will grab images from the parent bucket though.

What is the error message (if any)?

No error, just nothing returned because it’s looking for images at the bucket level and not within the folder I need it to.

Please share your workflow

Share the output returned by the last node

It does not reach that far, I’m blocked by the first step of just getting images from S3/Bucket folder. If at all possible?

Example: It would be able to find the .jpg from this level. But it can’t go into the image-resize folder to find the images I actually want it to grab.

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:

Hi you can use option > folder key

You must use end prefix with (/) so it will works and you can target all subchild folder too just make sure you end it with (/)

If my answer is the solution to your question, please mark this reply with “Resolve” :white_check_mark: to make it easier for other members to find similar solutions.

1 Like

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