Export XML files to CSV from on-prem folder
Recipe ToolsMarketingDocument/FileData ParserUtilities
What it does
When a scheduled interval triggers, this automation lists all files in an on-prem folder and downloads each XML file. It parses the data and converts it to CSV format, then uploads the new files back to the on-prem folder.
Who it's for
Data and analytics teams who need to convert XML exports to CSV without manual file handling.
How teams use this
Convert daily XML exports to CSV
Run this automation each morning to transform XML files from an upstream system into CSV format. The team accesses fresh CSV files in the on-prem folder without manual conversion steps.
Archive converted files separately
Extend this automation to move completed CSV files to an archive subfolder so the main folder stays clean. Add a step that checks the file type and routes it based on conversion status.
Trigger conversion when files arrive
Retarget this automation to start when a file lands in the on-prem folder instead of on a schedule. The conversion logic stays the same and only the trigger event changes.
How it works
- Run on a scheduled interval. This automation runs on a schedule you set, such as daily or weekly, to keep CSV files current.
- List files in the on-prem folder. Onprem Files scans the on-prem folder to find all XML files that need conversion to CSV format.
- Download each XML file. Retrieve each XML file from the on-prem folder so Xml Parser can extract and structure the data.
- Parse and convert to CSV. Xml Parser extracts data from each XML file and Csv Parser formats it as CSV for upload back to the on-prem folder.
- Upload the CSV files. Upload each converted CSV file back to the on-prem folder so the team can access the transformed data.