Sync on-prem files on a schedule with CSV parsing

Recipe ToolsMarketingDocument/FileData ParserUtilities

What it does

When a specified interval triggers, this automation downloads an on-prem file and parses it into individual lines. For each line, it checks if the name field exists, then uploads a new file or logs a message based on the result.

Who it's for

Operations teams who need to process on-prem files automatically on a recurring schedule.

How teams use this

Process daily data files automatically

Download and parse a daily on-prem file on schedule, validate each row, and upload results or log errors without manual intervention.

Route files based on data quality

Check each line for required fields like name, then send valid records to one folder and invalid ones to a quarantine folder for review.

Run this automation on multiple schedules

Set up the same automation to run at different times for different on-prem folders, so each source is processed on its own schedule.

How it works

  1. Run on a specified interval. At the scheduled time you set, this automation starts and downloads the on-prem file to begin processing.
  2. Download the on-prem file. Retrieve the file from your on-premises folder so Csv Parser can convert it into individual rows for evaluation.
  3. Parse CSV into individual lines. Convert the downloaded file into separate rows so each line can be checked for the name field in the loop.
  4. Upload or log based on name field. For each line, check if the name field exists. Upload a new file to the on-prem folder if it does, or log a message to the job report if it does not.