Cloud Workflow
Raise an IssueJoin Community
  • Getting Started
    • Introduction
    • Integration Basics
    • Sign Up and Get a License
    • Features and Benefits
  • DBSync Platform
    • Core Components
    • System Requirements
    • AppCenter
      • Company and User Management
    • Development Studio
    • Security Features
  • iPaaS
    • Home
    • Apps
    • Extend
      • Functions
    • Administration
      • User & Role Management
    • Logs
    • Remote Agent
    • Published Templates
  • Create your Workflow
    • Project
    • Task
    • Flow Builder
      • Standard Functions
    • Actions
      • Flow
      • Variable
      • Transform and Write
      • IDP - Intelligent Document Processing
      • SQL
      • Restructure
      • Query
      • Debug
      • ReST
      • Conditions
        • If (Condition)
        • For (Loop)
      • Storage
        • XML
        • Dropbox
        • File
        • CSV
        • Google Drive
        • FTP
        • S3
      • Flow Management
        • Flow
        • Logs
        • Notification
        • Schedule
        • API
        • Webhook
        • Forms
    • Configuring DBSync Environment
  • Connectors
    • Amazon S3
    • Authorize.NET
    • ChannelAdvisor
    • Database
    • Dropbox
    • Filevine
    • FTP
    • Google Drive
    • Google Sheets
    • HubSpot
    • JIRA Cloud
    • JIRA Service Management
    • Linnworks
      • Creating the DBsync Application on Linnworks Developer Instance
    • Mailchimp
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics 365 Finance and Operations (D365 F&O)
    • Microsoft Dynamics CRM Online
    • Microsoft Dynamics GP
    • Microsoft Dynamics NAV
    • monday.com
    • Narvar
    • NetSuite
      • NetSuite Connector Settings
    • OpenAPI
    • PointClickCare
    • QuickBooks Desktop
    • QuickBooks Online
    • Sage Intacct
    • Salesforce
    • ShipStation
    • Shopify
    • SkuVault
    • WooCommerce
  • Template Library
    • Salesforce and QuickBooks Online Integration
    • Salesforce and QuickBooks Desktop Integration
    • Salesforce to FTP Integration
    • QuickBooks Online to Business Central Integration
    • QuickBooks Online to ShipStation Orders
    • QuickBooks Desktop to Shipstation Orders
    • QuickBooks Desktop to monday.com Integration
    • QuickBooks Online to monday.com Integration
    • Shopify to QuickBooks Online
    • Shopify to QuickBooks Desktop
    • Linnworks Orders to QuickBooks Online
    • Linnworks Orders to QuickBooks Desktop
    • Linnworks to Salesforce Integration
    • Salesforce Litify and QuickBooks Online
    • Salesforce Litify and QuickBooks Desktop
    • Business Central to Salesforce Integration
    • HubSpot to QuickBooks Online Order to Cash
    • HubSpot to QuickBooks Desktop Order to Cash
    • SkuVault Orders to QuickBooks Desktop
    • SkuVault Orders to QuickBooks Online
    • SkuVault and Salesforce
    • ChannelAdvisor Orders and Salesforce
    • ChannelAdvisor and QuickBooks Online
    • ChannelAdvisor and QuickBooks Desktop
    • Shopify Orders to Dynamics365 CRM
    • Shopify Orders to Salesforce
    • ShipStation to Dynamics 365 CRM
    • ShipStation Orders to Salesforce
    • ShipStation to QuickBooks Online Orders
    • ShipStation to QuickBooks Desktop
    • Target Recruit to QuickBooks Online
    • Target Recruit to QuickBooks Desktop
    • QuickBooks Online to Database
    • QuickBooks Desktop to Database
  • Troubleshooting
    • Common Errors & Fixes
    • Adding Trusted IP Address in Salesforce
    • Installing QuickBooks Web Connector
    • QuickBooks to Salesforce Data Migration
    • Setting Password in QuickBooks Web Connector
    • Starting QuickBooks Web Connector
    • Update Salesforce Password & Security Token in DBSync
  • Additional Resources
    • Billing Information - Auto Renewal
  • Tutorials
    • Salesforce and QuickBooks
      • Account Hierarchy in Salesforce and QuickBooks
      • Account Owner Mapping
      • Resolving Email Fields Sync Issues in QuickBooks Online
      • Mulitple Price Levels in Salesforce QuickBooks Integration
      • Multicurrency in QuickBooks to Salesforce Integration
      • Multicurrency in Salesforce - QuickBooks Desktop Integration
      • Multicurrency in Salesforce QuickBooks Online Integration
      • Product Hierarchy in QuickBooks and Salesforce
      • QuickBooks Data Extraction Queries
      • QuickBooks File Backup and Recovery Process
      • QuickBoooks Reports to Salesforce Integration
      • Recurring Transactions to Accounting System
      • Retrieve Value from custom Field of QuickBooks Online
      • Salesforce Opportunity to QuickBooks - Disabling Jobs
      • Salesforce QuickBooks Custom Mappings
        • Use Case
      • Salesforce QuickBooks Integration with Multiple QuickBooks
      • Syncing Standard Group Line Items in QuickBooks Desktop
    • Using Date Function in DBSync Integration
    • Salesforce and Database
      • Database to Salesforce Integration
    • Database to Database
      • Database to Database Integration
Powered by GitBook
On this page
  • Introduction
  • Steps to Configure the XML Action
  • XML Parsing and Mapping
  • Key Concepts
  • Operation Examples
  1. Create your Workflow
  2. Actions
  3. Storage

XML

Learn how to use the XML storage action to build your workflows

PreviousStorageNextDropbox

Last updated 6 days ago

Introduction

The XML Storage Action allows users to perform structured data transformations between systems using XML. It supports both parsing existing XML files and composing new XML documents based on user-defined templates and data streams. This action allows users to define a structured schema for reading from or writing to external systems (like Salesforce, FTP servers, or CRMs). This ensures accurate parsing and mapping of data during transfer processes.

Steps to Configure the XML Action

Step 1: Select Operation

  1. Choose whether the action is to:

  • Read from a source and convert to XML

  • Write from XML to a destination

Step 2: Define File Structure

  1. Navigate to the Compose tab.

  2. Use dynamic values. For example, you can use values like a DateTime field in the file name.

  3. Proceed to Configure XML.

Step 3: Generate XML Structure

  1. Use a sample file from your source data and convert it into a XML structure.

  2. Ensure the XML includes field names and nested tags as per the source (e.g., Salesforce fields).

Example:

<Opportunity>
  <Name>Acme Inc</Name>
  <Stage>Prospecting</Stage>
  <Amount>5000</Amount>
  <CloseDate>2025-06-09</CloseDate>
</Opportunity>

Step 4: Test the XML Configuration

  1. Click on Test to validate the schema.

  2. The output preview will show how the data appears.

Step 5: Save to FTP

  1. Set the destination FTP file path.

  2. The system will now write the parsed Salesforce data as an XML file to FTP.

XML Parsing and Mapping

When Reading from FTP

  • Upload or define the XML schema again.

  • This structure tells the system how to parse the incoming XML.

Mapping to CRM

  • After parsing:

    • Go to the Console/Mapping screen

    • Fields defined in the schema will appear

    • Drag and drop fields from the XML to the CRM fields

Key Concepts

Term
Description

XML Structure

Blueprint of how data is formatted in XML

Schema

Field definitions used for mapping and parsing

Compose

Interface where users define filename structure

Test Output

Sample result to validate XML correctness

Mapping

Field-to-field connection between source and destination

Best Practices

  • Always use a sample file to derive the XML schema.

  • Validate the structure using the Test function before finalizing.

  • Use ChatGPT or similar tools for fast conversion of sample data (like JSON or tables) into XML to use in the Read or Parse operationsz.

  • For complex mappings, take screenshots and document field relationships.

  • Ensure that XML field names match Salesforce API field names or source system labels.

Operation Examples

Common Scenarios to use the XML Action

  • Salesforce to FTP: Read Salesforce Opportunity data, compose XML with dynamic fields (like DateTime), configure schema, test, and write to an FTP path as XML.

  • FTP to CRM: Read XML from FTP, parse using the defined schema, and write to a CRM by mapping XML fields to CRM fields.

Scenario 1: Salesforce to FTP

  • Read from Salesforce Opportunity

  • Compose the data structure (including dynamic fields like DateTime)

  • Configure XML

    • Define the XML structure using sample file format

    • Generate XML based on Salesforce fields

    • Test the XML schema

  • Write the structured XML to an FTP path

Scenario 2: FTP to CRM

  • Read XML from FTP

  • Parse using defined schema

  • Write to CRM system (e.g., Console)

    • Drag and drop mapping fields based on the schema

Frequently Asked Questions

1. Can I automate XML integrations on a schedule? Yes, DBSync supports flexible scheduling for XML integration jobs—hourly, daily, or custom intervals. 2. What if my XML structure changes? Update your sample file and schema in the XML Storage Action, then revalidate using the Test function. 3. Which systems are supported? You can integrate with popular CRMs (Salesforce, HubSpot, Microsoft Dynamics 365), ERPs (QuickBooks, NetSuite), cloud storage (AWS S3, Google Drive, FTP/SFTP), and more.