Sync Ftps files to Salesforce via Xml parsing

File TransferData ParserMarketingUtilitiesRecipe ToolsCRM

What it does

When a new or updated file lands in an Ftps directory, this automation downloads and parses the Xml content. It creates Salesforce records in batches so product and certification data flows into the CRM without manual work.

Who it's for

Sales operations teams who need to sync product and certification data from Ftps into Salesforce automatically.

How teams use this

Sync product catalog from Ftps to Salesforce

Import a product list from an Ftps-hosted Xml file into Salesforce each time the file updates. The batch loop ensures large catalogs load without timeouts or manual intervention.

Route files by type before parsing

Extend this automation to check the file name and route Csv files to the Csv parser instead of Xml. Only files matching your product schema move forward to Salesforce.

Filter products by certification status

Add a condition to exclude products with expired or missing certification end dates so only current items reach Salesforce. This keeps your CRM data clean and compliant.

Notify the team when sync completes

Include a notification step after the batch load finishes to send a summary with record count and any rows that failed. The team stays informed without checking logs manually.

How it works

  1. Monitor Ftps directory for file changes. Watch an Ftps server directory for new or updated files. When one arrives, this automation starts and retrieves the full file contents.
  2. Download the file from Ftps. Retrieve the complete file from the Ftps server so the data is ready for the Xml parser to process and transform.
  3. Parse Xml into structured data. Extract and transform the Xml document into a format Salesforce can ingest, organizing products and certification end dates for batch creation.
  4. Create Salesforce records in batches. Loop through the parsed data and create product records in Salesforce in batches, checking that certification end dates are valid before each insert.
  5. Log sync results to job report. Record the outcome of the file sync and any errors to the job report so the team can track what succeeded and what failed.