Automate File Sync from Google Drive to AWS S3 with n8n

Save hours spent on manual file syncing by automating updates from Google Drive to AWS S3 using n8n. This workflow detects changed files in a specific Drive folder and uploads them to an S3 bucket securely and efficiently.
googleDriveTrigger
awsS3
merge
+1
Workflow Identifier: 1408
NODES in Use: Google Drive Trigger, Merge, AWS S3 – get, AWS S3 – upload
Automate file sync with Google Drive and n8n

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow watches one specific Google Drive folder for file updates.

When it finds new or changed files, it checks which files are missing in an AWS S3 bucket.

It uploads only those new or updated files to S3 with encryption and tags.

This stops manual work and errors when moving files from Google Drive to AWS S3.


Who should use this workflow

This is good for people who manage many digital files and update them often.

Users who use Google Drive to save files and AWS S3 to store or serve them will benefit.

If manually checking and copying files wastes time or causes mistakes, this helps fix that.


Tools and services used

  • Google Drive account: Holds the folder being watched for file updates.
  • AWS S3 bucket: Where updated files are uploaded and stored securely.
  • n8n automation platform: Runs the workflow to watch and transfer files automatically.
  • Google Drive OAuth2 credentials: Needed to connect and read files from Google Drive.
  • AWS credentials with proper permissions: Used to list and upload files on the S3 bucket.

Workflow explanation: Inputs, processing steps, and output

Inputs

  • Google Drive folder where files get updated.
  • AWS S3 bucket to compare and upload files.

Processing Steps

  • The Google Drive Trigger node detects any file changes in the chosen folder.
  • The AWS S3 Get node lists all current files in the S3 bucket.
  • The Merge node compares Google Drive file names with S3 files to find new or updated ones.
  • The AWS S3 Upload node uploads these new or updated files, adding encryption and tags.

Output

New or changed files get uploaded to the AWS S3 bucket securely.

Files carry tags marking their source as from Google Drive.


Beginner step-by-step: How to use this workflow in n8n

Importing and setup

  1. Download the workflow file from this page.
  2. Open the n8n editor.
  3. Go to the Main Menu and pick “Import from File.” Select the downloaded workflow file.
  4. Once imported, add Google Drive OAuth2 credentials in the Google Drive Trigger node.
  5. Add AWS credentials in both the AWS S3 – Get and AWS S3 – Upload nodes.
  6. Update the Google Drive folder link in the trigger node to the folder URL you want to watch.
  7. Update the bucket name in AWS S3 nodes to your target bucket name.

Testing and activation

  1. Run the workflow manually once to check if it detects files and uploads correctly.
  2. Check the execution logs in the n8n editor for errors and fix if needed.
  3. When ready, activate the workflow for automatic running when files update.
  4. Monitor workflow executions from the n8n dashboard.

For users running or hosting n8n on a server, make sure credentials and node permissions are set correctly to avoid blocked operations.


Customization ideas

  • Change the Google Drive folder URL in the trigger to watch different folders.
  • Modify the S3 bucket name in the upload node to send files to other buckets.
  • Adjust the tags in the upload node to add custom labels, such as project names.

Edge cases and troubleshooting

  • No files detected from Google Drive: Check if the folder URL is exact and OAuth credentials are allowed access.
  • AWS S3 get operation fails or empty list: Confirm the bucket name is correct and credentials allow list permission.
  • Files don’t upload or incomplete uploads: Verify correct file name mapping and that binary file content is passed properly.
  • Incorrect merge results: Ensure the Merge node’s first input is from Google Drive and second from AWS S3.

Summary of key results

✓ Saves hours spent manually moving files daily.

✓ Removes errors from missed or wrong file versions uploaded.

✓ Keeps Google Drive and AWS S3 buckets synced with latest files.

✓ Secures files with AES256 server-side encryption on AWS upload.

✓ Adds metadata tagging for easy file management on S3.

Automate file sync with Google Drive and n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The Google Drive Trigger node watches for updated files inside a specific Google Drive folder.
Permissions to list objects in the S3 bucket (s3:ListBucket) and to upload files are needed.
Change the bucket name setting in the AWS S3 Upload node to the new bucket name.
Check that file names are mapped correctly and the file content is passed properly as binary data.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.