Sync product data from XML to Salesforce

Recipe ToolsData ParserCRMMarketing

What it does

When a scheduled time arrives, this automation parses an XML string into JSON format. It then upserts each product record to Salesforce so the catalog stays current.

Who it's for

Data and analytics teams who need to import product data from XML files into Salesforce on a schedule.

How teams use this

Import product catalog from XML

Parse an XML feed of products and sync them to Salesforce on a daily schedule. The team sees all updates in the job report without manual imports.

Sync vendor product data to Salesforce

Route XML product feeds from multiple vendors into Salesforce so the sales team always has current pricing and availability. Only the XML source changes between vendors.

Filter products by category before sync

Add a condition to only upsert products in specific categories to Salesforce. This requires a category field in the XML and a filter condition after parsing.

How it works

  1. Trigger on a specified interval. Run this automation at a scheduled time so product data syncs regularly without manual work.
  2. Parse XML document to JSON. Use Xml Parser to convert the XML string into a JSON object so Salesforce can read the product data in the format it expects.
  3. Upsert each product to Salesforce. For each item in the parsed data, upsert the product to Salesforce so new records are created and existing ones are updated.