Feeds can be used to pull content into your emails automatically from content sources.
You can use feeds to power Personalisation (e.g. different content for each user), dynamic content use cases (e.g. product recommendations, order confirmations in transactional emails) or time-of-open imagery.
This feature will need to be enabled on your account
To set it up:
- Head to Dynamic Content > Feeds
2. Click 'Add a feed'
3. Select Custom
Add your chosen name and a description
4. Complete the fields on the setup tab to set up your feed
Pick your data type - this will either be JSON, XML or HTML, depending on the source of your feed.
Next, if you need any authentication, click 'Add Key', complete your Key name, and add in the authentication key. You can delete a row from this field if you need to.
Here you can choose from 'GET', 'POST' and 'FTP'.
You can then add your Primary URL Pattern. This is where you're instructing Taxi to get the data from. You can use liquid to customise this.
When setting up a custom feed and using the GET or POST method, there is the option to set header fields. Whatever you input here will go into the HTTP header of the request that pulls content into Taxi.
Depending on the structure of your feed, information such as API keys might go into the header instead of the primary url. This option lets you set the necessary fields in the header.
This is completely optional; if you don't need to set anything in the header you don't have to add anything to the header section of the custom feed.
Finally, add your Parameters. Parameters are the pieces of information used to tell the feed what you want information about - e.g. event ids, locations.
Extracting the data from your feed