How do I add an XML content source?
Navigate to the content sources area of the platform:
Click on '+ Content source' button on the left to open the Content Source editor.
Name your new content source, and select XML as the content source type.
In the endpoint box, paste the http/https link to your XML feed:
Clicking on test request will make a test request to retrieve the feed. The feed data will be visible in the response section. If the feed is large, it may take a few seconds to see a response. Click next to proceed to the next step.
Next you can select a distinct key for your content source. A distinct key is applied when you wish to only show one of an item when it may be listed in the feed multiple times. For example, if you are a fashion retailer you may have a dress called 'Floral Summer Dress' in the title column - this dress may be listed in the feed in 6 different rows as you have it in 6 different sizes. However you don't want to show it 6 times in the email. Therefore you would apply a distinct key on 'title'. We would then only show one of each product with the same title in the email.
If the 'Floral Summer Dress' was available in multiple colors you could apply two keys - one on title and one on color. This means that we will show one of 'Floral Summer Dress' in each of the colors it is available in.
You will now see the content source library with your content sources:
Now, if you navigate to Templates > Content Automation, and create new template, you will see your content source available for selection.
Ready to create your template? Jump to Creating a Content Automation Template.