Loading
Salesforce now sends email only from verified domains. Read More
Journeys and Automations in Marketing Cloud Engagement
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Convert XML

          Convert XML

          This data extract type converts XML files to delimited files so that you can import them into data extensions. Use this extract for simple XML files only. Files that have subnodes on attributes require a different process. Contact Salesforce Support for additional information.

          The Convert XML data extract requires the information described in this table.

          Field Description
          Name The name of the data extract.
          External Key A unique ID that identifies the extract in API requests.
          Description A description of the data extract.
          File Naming Pattern

          The name of the file created by the extract process. You can include these wildcards:

          • %%Year%%
          • %%Month%%
          • %%Day%%
          CreateColumnHeaders checkbox This checkbox indicates whether the XML file used in the conversion contains information used to create column headers. If the XML file does contain this information, you can map the resulting delimited file for import by column heading. If the XML file doesn’t contain header information, map the delimited file by ordinal when you import the data.
          FileFormat

          Indicates the file type for the exported file:

          • csv - indicates a comma-delimited file
          • tab - indicates a tab-delimited file

          The default value is tab.

          InputFileName The XML file for the activity to convert. This activity requires files on your FTP server. The activity creates the output file in the same location on the FTP server.
          QuoteCharacter The quote character to use to differentiate attributes in the XML file from the element names.

          The last field contains the name of the element for which the converting process creates a row.

          Example
          Example This example XML file uses /subscribers/subscriber to indicate when a new record starts:
          <subscribers>
            <subscriber> 
              <first_name>Lee</first_name> 
              <last_name>Billings</last_name> 
              <email>lbillings@example.com</email>
            </subscriber> 
            <subscriber>
              <first_name>Kris</first_name> 
              <last_name>Rogers</last_name> 
              <email>kris_rogers@example.com</email>
            </subscriber>
          </subscribers>
           
          Loading
          Salesforce Help | Article