Mastering Output Mapping
Delve into output mapping and gain control over your feed’s content and presentation, from optimizing titles to configuring specific field values.
Exploring Output Mapping: What is it and Why Use it?
Output mapping empowers you to control how information (output) of a feed is displayed and organized. Whether you are tailoring a product title or assigning values to particular fields, output mapping provides the tools to customize your data presentation.
In output mapping, you select which data to map to the various fields dictated by a channel. The fields are usually grouped into three categories:
- Required fields: Must be mapped as they are mandatory for the channel.
- Recommended fields: Should be mapped when possible as per channel recommendations.
- Optional fields: Can be mapped at your discretion.
Practical Application: What Can I Achieve with Output Mapping?
Consider a product titled NIKE AIR MAX 90 - WHITE. To optimize for better readability and search, you might want to alter it to Nike Air Max 90 - White. Achieve this by using the title
field in output mapping and employing the Modify text
mutation to adjust the text to title case.
Dive into Supported Mutations
Explore an array of mutations in output mapping to refine your data:
- Overwrite: Overwrite the entire value with a new value.
- Replace: Replace a part of the value with a new value.
- Remove: Remove a part of the value.
- Remove duplicates: Remove duplicate values.
- Add prefix: Add a prefix to the value.
- Add suffix: Add a suffix to the value.
- Calculate: Perform a calculation.
- Format: Format a number.
- Truncate: Truncate text to a given max length.
- Modify text: Modify text like capitalize, lowercase, etc.
- Length: Calculate the length of text or list.
- Append: Append a value to a list.
- Prepend: Prepend a value to a list.
- Take: Take a part of a list.
- Sort: Sort a list ascending or descending.
- Join: Concatenate list items into a single string.
- Split: Split a string into a list.
- Filter: Filter a list based on rules.
Navigating Through Supported Rules
Implement rules in output mapping to establish specific conditions and checks:
- Is equal to - True if the value is equal to the specified comparison.
- Is not equal to - True if the value is not equal to the specified comparison.
- Includes - True if the value includes the specified string or character.
- Does not include - True if the value does not include the specified string or character.
- Is empty - True if the value is null or contains no data.
- Is not empty - True if the value is not null and contains data.
- Starts with - True if the value begins with the specified string or character.
- Does not start with - True if the value does not begin with the specified string or character.
- Ends with - True if the value ends with the specified string or character.
- Does not end with - True if the value does not end with the specified string or character.
- Is greater than - True if the value is numerically more than the specified number.
- Is greater than or equal to - True if the value is numerically equal to or more than the specified number.
- Is less than - True if the value is numerically less than the specified number.
- Is less than or equal to - True if the value is numerically equal to or less than the specified number.
- Is between - True if the value is numerically between two specified points.
- Is not between - True if the value is not numerically between two specified points.
- Is GTIN - True if the value matches the format of a Global Trade Item Number (GTIN).
- Before (datetime) - True if the datetime value is before the specified datetime point.
- After (datetime) - True if the datetime value is after the specified datetime point.