What This Workflow Does
This automation solves the common business challenge of securely transferring files between Google Drive and FTP servers while maintaining detailed transfer logs. Manual file transfers are time-consuming, error-prone, and lack audit trails - this workflow eliminates all these pain points.
The system automatically monitors specified Google Drive folders, transfers new files to configured FTP locations, and generates comprehensive JSON logs of all transfer activities. These logs include timestamps, file metadata, transfer status, and error details if any occur.
How It Works
1. Google Drive Monitoring
The workflow continuously monitors designated Google Drive folders for new or modified files using Google's API. You can configure multiple source folders and set up filters based on file types, names, or modification dates.
2. Secure FTP Transfer
When new files are detected, the workflow establishes a secure connection to your FTP server (supporting both FTP and SFTP) and transfers the files. It handles all the protocol specifics and connection management automatically.
3. JSON Logging System
Each transfer operation generates a detailed JSON log entry containing the source file details, destination path, transfer timestamp, status code, and checksum verification. Failed transfers include error details and retry information.
4. Error Handling & Retries
The workflow includes robust error handling with automatic retries for temporary failures. After multiple failed attempts, files are moved to a quarantine folder and administrators are notified while maintaining complete logs.
Pro tip: Use the JSON logs to generate monthly transfer reports showing success rates, transfer volumes, and performance metrics for compliance and optimization purposes.
Who This Is For
This automation is ideal for businesses that regularly exchange files between cloud storage and legacy systems using FTP. Common use cases include:
- Marketing teams transferring assets to external vendors
- IT departments migrating data between systems
- Accounting teams sending reports to financial systems
- Developers automating deployment processes
What You'll Need
- Google Workspace account with Drive API access
- FTP/SFTP server credentials
- n8n instance (cloud or self-hosted)
- Basic understanding of JSON for log analysis
Quick Setup Guide
- Download the JSON workflow file
- Import it into your n8n instance
- Configure your Google Drive folder paths
- Enter your FTP server details
- Set up the logging destination (Google Sheet, database, etc.)
- Test with sample files and verify the logs
Key Benefits
Eliminates manual file transfers that consume employee time and are prone to human errors. The automation handles all transfers consistently according to your rules.
Provides complete transfer visibility through detailed JSON logs that document every file movement, including success/failure status and performance metrics.
Reduces IT support requests by automatically handling common transfer failures through built-in retry logic and quarantine handling.
Supports compliance requirements with auditable logs that prove files were transferred securely and completely.