File format: XML¶
eXtensible Markup Language (XML) is a supported data format for customer data sources.
Note
This topic is about standalone XML files. XML data that is sent to the Streaming API is converted to CBOR format.
Pull XML files¶
To pull XML files to Amperity:
Select a data source.
Configure a courier for the location and name of the XML file.
Define a feed to associate the fields that were selected from the XML file with semantic tags for customer profiles and interactions, as necessary.
Data sources¶
Pull XML files to Amperity using one of the following data sources:
Load data¶
Use a feed to associate fields in the XML file with semantic tags and a courier to pull the XML file from its upstream data source.
Couriers¶
A courier brings data from an external system to Amperity.
A courier must specify the location of the XML file, and then define how that file is to be pulled to Amperity.
File settings¶
Use the File settings section of the courier configuration page to specify the path to the XML file and to define formattting within the file.
Feed selection¶
Use the Feed selection section of the courier configuration page to identify the feed for which this courier pulls data, and then files are loaded.
From the Load type dropdown select one of:
Load Use this option to load data to the associated domain table.
Spark Use this option to load data when the XML file contains complex types, such as within the complexType element.
Truncate and load Use this option to delete all rows in the associated domain table, and then load data.
Feeds¶
A feed defines how to load data into a domain table, including specifying required columns and columns with semantic tags for customer profile (PII) or transactions data.
Apply profile (PII) semantics to customer records and transaction, and product catalog semantics to interaction records. Use blocking key (bk), foreign key (fk), and separation key (sk) semantic tags to define how Amperity should understand values that exist across data sources.
Send XML files¶
Important
Amperity does not send XML files to downstream workflows.