Upload a file and get a list of all the files in a bucket

For n8n, upload a file to an S3 bucket and retrieve a complete list of files in that bucket with a simple manual trigger. This workflow streamlines file management, ensuring easy access and organization of your stored files.

7/8/2025
4 nodes
Simple
manualsimpleapiintegration
Categories:
Manual TriggeredSimple Workflow

Target Audience

This workflow is ideal for:
- Developers looking to automate file uploads to an S3 bucket.
- Data Analysts who need to manage files efficiently in cloud storage.
- Small Business Owners who want to streamline their file management processes without extensive coding.
- Technical Teams that require a simple solution for integrating HTTP requests and S3 operations.

Problem Solved

This workflow addresses the challenge of manually uploading files to an S3 bucket and retrieving a list of all files stored in it. By automating these processes, users can save time and reduce the potential for errors, ensuring a more efficient file management system.

Workflow Steps

  • Manual Trigger: The workflow starts when the user clicks 'execute'.
    2. HTTP Request: An HTTP request is made to download a file from a specified URL (in this case, the n8n logo).
    3. S3 Upload: The downloaded file is uploaded to the S3 bucket named 'n8n'. The file name is dynamically set based on the response from the HTTP request.
    4. Retrieve Files: Finally, the workflow retrieves a list of all files stored in the S3 bucket, providing users with an overview of their stored data.
  • Customization Guide

    Users can customize this workflow by:
    - Changing the URL in the HTTP Request node to download different files.
    - Modifying the bucket name in the S3 nodes to upload files to a different S3 bucket.
    - Adjusting the file name logic in the S3 upload parameters to suit their naming conventions.
    - Adding additional nodes for further processing or notifications after files are uploaded.