Once you've created a Master Design Template to use to generate Automated Variations, you will next need to setup the data feed to create the variations with. This data feed will contain the text, image, and metadata content for each design variation you would like to create.
When creating a data feed to use for Automated Variations in Flexitive, you can use any of the following file formats:
This article will contain information on how to add image, text, and metadata content to your data feed. If you would like to see an example CSV or XLSX file to be used for automated variations, reach our to email@example.com.
Adding Text to a Data Feed
To add text to your Data Feed, enter the text as plain text into the feed.
In the screenshot below, the Name and Price columns in the data feed have been setup such that they can be added to a design as text.
When setting text in a Data Feed, you can also apply Paragraph Styling, Superscripts, and Subscripts to the text within your design. This should be applied in the same way you apply tags in HTML for text (e.g. <h1>Learn More</h1> will set the 'Learn More' text to 'Heading 1').
To apply Paragraph styling, when including the text in the feed, you can use the different paragraph styling tags. By default, Flexitive will use 'Normal' styling for all text within a data feed. The tags you may use to set this are:
- Heading 1 (<h1>)
- Heading 2 (<h2>)
- Heading 3 (<h3>)
- Heading 4 (<h4>)
- Normal (<p>)
To set superscripts or subscripts, you may similarly use the HTML tags for this text (e.g. Qualify for Additional Rewards<sup>1</sup> will superscript the '1' in this text element).
To apply superscript or subscript styling, when including the text in the feed, you can use the different super/subscript styling tags. By default, neither of these styles will be applied. The tags you may use to set this are:
- Superscript (<sup>)
- Subscript (<sub>)
Adding Images to a Data Feed
When setting up a feed containing an image, you will first need to host the image on an external CDN or server. To add the image to your feed, take the URL pointing to the image, and place that in the feed.
When displaying the image, Flexitive will access the URL in the feed, and display the associated design.
In the screenshot below, the Image column in the data feed has been prepared to displayed images, hosted at the URLs listed in the column.
Setting Design Metadata in Automated Variations
As part of creating a set of designs with Automated Variations, you can control the Design Metadata using a data feed. Setting these fields using a data feed will help reduce the amount of work that needs to be done re-labeling a design after it has been created.
In the data feed, you will need to create an input for each piece of metadata you want to apply to a design. You can include:
- Custom ID
- Custom Field 1
- Custom Field 2
To set a column of your data feed to be used for a design metadata, you will use a specific title for that column. For example, in the screenshot of a datafeed below, the 'flx-title' column will be used to generate the 'Title' metadata for my design.
Any metadata may be set via a data feed. The available metadata, and their corresponding title required for a column in a data feed, can be found in the table below:
Title for Column in Data Feed
Custom Field 1
Custom Field 2
When you Generate your designs via automated variations, the metadata you have set in your data feed will automatically be populated into the module for the design.
Setting Country, Language, or Channel
Because Country, Language, and Channel metadata are drop down fields in Flexitive with preset values, when setting them via a data feed, you will need to ensure the value you input for those fields is valid.
For each of these fields, the valid inputs are:
- The full name (e.g. 'English' is a valid input for Language)
- A standard abbreviation (e.g. 'EN' and 'ENG' are valid inputs for Language, and are associated with 'English')
For a list of valid abbreviations for Language, we recommend checking the list of ISO 639-1 and ISO 639-2/T abbreviations. These abbreviation lists are international standards for 2 and 3 letter abbreviations for language name, and either of these will be accepted as valid abbreviations for language.
For a list of valid abbreviations for Country, we recommend checking the list of ISO-3166 Alpha-2 or Alpha 3 Country Codes. These abbreviation lists are international standards for 2 and 3 letter abbreviations for country name, and either of these will be accepted as valid abbreviations for country.
If you provide an invalid input for Language, Country, or Channel, the associated design metadata will automatically be left blank by Flexitive. The rest of the design will still be generated as normal.