Sync SAP records on schedule from SFTP

Recipe ToolsMarketingFile TransferDeveloper ToolData ParserUtilitiesERPSales Enablement

What it does

When a scheduled time matches Mozart billing days and hours, this automation lists files in an SFTP folder. If more than two files are found, someone receives an email with batch details and the files sync to SAP.

Who it's for

Finance teams who need to automate SAP record syncs from SFTP on a recurring schedule.

How teams use this

Automate Mozart billing syncs to SAP

Run the sync on Mozart billing days and hours without manual intervention. Files from SFTP are parsed and sent to SAP on schedule so records stay current.

Alert on large batch file counts

When the SFTP folder contains more than two files, someone gets an email so they know a large batch is being synced to SAP. This helps track high-volume data loads.

Add custom file filtering by name

Include a condition to filter SFTP files by name pattern before parsing, so only relevant CSVs are synced to SAP. This narrows the batch to specific Mozart billing records.

How it works

  1. Trigger on Mozart billing schedule. On the scheduled days and hours set in Mozart billing timings, this automation wakes up and checks if the current time matches the configuration.
  2. List files in SFTP folder. Connect to the SFTP server and list all files in the designated folder to see what batch is ready to sync to SAP.
  3. Parse batch files from SFTP. Parse the CSV files retrieved from the SFTP folder so the data is formatted correctly before sending to SAP for record creation or updates.
  4. Sync records to SAP. Send the parsed batch to SAP to update or create records. When the file count exceeds two, an email notifies someone of the batch size and sync status.