Sync xml files from Sftp to Csv format

File TransferRecipe ToolsData ParserMarketingUtilitiesDeveloper ToolAPI Integration

What it does

When a new or updated file appears in a directory on the Sftp server, this automation downloads it. The file is parsed from xml to Csv format and sent via Http so downstream systems stay in sync.

Who it's for

Data and analytics teams who need to move xml data from Sftp into Csv without manual conversion.

How teams use this

Automate xml to Csv conversion

Download xml files from Sftp and convert them to Csv format automatically whenever new data arrives. The team no longer needs to manually download and convert files.

Feed Csv data to a data warehouse

Send the converted Csv directly to a data warehouse via Http so transformed data is available for reporting. Only the Http endpoint changes based on the target system.

Add file validation before conversion

Include a step to check the xml file size or schema before parsing so invalid files are rejected early. This requires adding a condition to validate the file meets requirements.

How it works

  1. Monitor Sftp directory for file changes. Watch a directory on the Sftp server for new or updated files so the automation runs as soon as data arrives.
  2. Download the file from Sftp. Retrieve the file from the Sftp server so it can be processed in the next steps.
  3. Parse the xml document. Extract data from the xml file using the Xml Parser so it is ready to be converted into Csv format.
  4. Compose the Csv file. Transform the parsed xml data into Csv format using the Csv Parser so it can be sent to downstream systems.
  5. Send Csv via Http request. Post the Csv file to an Http endpoint so other applications can receive and process the data.