Export a file on schedule with Rest
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When a scheduled time arrives, this automation retrieves a large file using a custom HTTP request to a remote endpoint. The file is downloaded and logged so someone can track when the export completed.
Who it's for
Operations teams who need to retrieve files on a regular schedule without manual intervention.
How teams use this
Retrieve reports on a daily schedule
Download a daily report file at 6 AM each morning via Rest and log the result. The team wakes up to a completed download without running it manually.
Archive files to a backup system
Extend this automation to download the file and then send it to a backup storage service. Add a second Rest call to push the file to the archive destination after download.
Monitor download failures with alerts
Retarget the logging step to send a Slack message when the download fails. The same schedule and Rest call work, but the team gets notified of problems in real time.
How it works
- Wait for the scheduled time. At the specified interval, this automation wakes up and begins the download process.
- Retrieve the file via Rest. Send a custom Rest request to download the large file from the source endpoint and store it for the next step.
- Log the download result. Record the outcome to the job report so someone can verify the file was retrieved successfully.