Sync XML product data to Salesforce
Recipe ToolsData ParserMarketingUtilitiesCRM
What it does
When someone calls the ProcessFile method, this automation parses an XML document and extracts product and certification data. It loops through batches of items and updates Salesforce records with certification end dates from the XML.
Who it's for
Data and analytics teams who need to load XML product data into Salesforce without manual file processing.
How teams use this
Sync product certifications from XML
Parse an XML file containing product data and certification dates, then update Salesforce records in batches. The team avoids manual data entry and keeps certification dates current in the system.
Route certification updates to sales
Call ProcessFile from a sales workflow so product certifications sync to Salesforce as soon as XML data arrives. Sales operations teams see updated records without delay.
Filter records by certification status
Add a condition to only update Salesforce records when the certification end date is not blank. This ensures incomplete records are not overwritten with empty values from the XML.
How it works
- Receive the ProcessFile call. A real-time call to the ProcessFile method starts this automation and passes the XML document to parse.
- Parse the XML document. The Xml Parser extracts product names, email addresses, and certification dates from the XML file structure.
- Loop through batches and items. Repeat the extraction and processing steps for each batch and item in the XML so all product records are handled.
- Update Salesforce with certification dates. For items where the certification end date is not blank, update the corresponding Salesforce record with that date.