Sync Sftp files to Workato Files on schedule
Recipe ToolsMarketingWorkatoFile Transfer
What it does
Every 5 minutes, this automation connects to an Sftp server and lists files in the export folder. It downloads each file to Workato Files and logs the results so the team can track what synced.
Who it's for
Marketing operations teams who need export files in Workato Files without manual downloads from Sftp.
How teams use this
Automate export file syncs daily
Files export from the marketing platform to Sftp on a schedule, and this automation pulls them into Workato Files every 5 minutes. Manual downloads are no longer needed.
Route files to downstream systems
Once files land in Workato Files, add a step to load them into a data warehouse or CRM. Only the downstream automation needs to be included to read from Workato Files.
Alert the team on sync failures
Add a Slack step to notify the team when a file download fails or the Sftp connection drops. The log step already captures errors, so only the notification step needs to be added.
Filter files by name pattern
Set a condition to download only files matching a specific naming pattern, such as those with a date or region code. This narrows the sync to relevant exports only.
How it works
- Run every 5 minutes. This automation starts on a 5-minute schedule to check for new files on the Sftp server.
- List files in the Sftp folder. Connect to the Sftp server and list all files in the export folder to see what is available for download.
- Download files based on size. Download each file from the Sftp server, using batch or individual download methods based on whether the file is large or small.
- Store files in Workato Files. Create each downloaded file in Workato Files so it is available for other automations and team members to access.
- Log download results to report. Record each file download and any errors to the job report so the team can audit what was synced and troubleshoot issues.