Sync on-prem files on a schedule
Recipe ToolsMarketingDocument/File
What it does
When a scheduled trigger fires every 5 minutes, this automation lists all files in an on-prem folder. If files exist, it requests approval, downloads and processes them, then uploads the result back and sends an email.
Who it's for
Operations teams who monitor and sync on-prem files on a regular cadence.
How teams use this
Monitor on-prem files automatically
Check an on-prem folder every 5 minutes for new or changed files. When files appear, request approval and process them in one workflow without manual checks.
Sync files to a different folder
Point this automation at a different on-prem folder path so another team can monitor and sync their files on the same schedule and approval process.
Add file validation before upload
Include a condition to check file size or format before the upload step so only valid files are synced back to the on-prem folder.
Notify multiple teams on completion
Set the email step to send to multiple recipients or post to a Slack channel so all stakeholders know when the file sync finished.
How it works
- Start the scheduled check. Clock triggers this automation to run every 5 minutes so files in the on-prem folder are checked without manual intervention.
- List all files in the folder. Onprem Files retrieves a list of all files in the specified on-prem folder so the automation knows what to process next.
- Request approval if files exist. If the file list is not empty, a People Task asks someone to approve the next steps. If empty, the job stops.
- Download and process the file. After approval, the automation downloads the file from the on-prem folder, creates variables for the content and updates, then uploads the processed file back.
- Send email notification. An email is sent to notify someone that the file sync and processing is complete.