Working with Enrichers
Transform and enrich your product data during export with visual builders.
What are Enrichers? Rules that transform your data on-the-fly during export. Add business logic, calculate fields, and enhance products without touching Akeneo PIM.
Overview
Enrichers modify your Akeneo data during export without changing the source PIM.
Discounts, totals
Business logic
Format, clean
External data
Clean data
Types of Enrichers
Choose the right type based on your transformation needs.
Conditional
Apply actions based on IF-THEN logic.
โ Field comparisons
โ AND/OR conditions
โ Multiple actions
โ Visual builder
Template
Coming SoonUse Mustache templates for complex text.
โ String interpolation
โ Dynamic values
โ Complex formatting
โ Multi-field merge
Creating an Enricher
Four-step process using the visual builder with real-time validation.
Navigate to Enrichers
Go to Enrichers in the sidebar
Click New Enricher
Choose type: Conditional or Template
Define Conditions
Use the visual builder to create conditions.
price, family, enabled...
equals, lessThan, contains...
Compare against
Tip: Add multiple conditions with AND/OR logic.
Define Actions
Specify what happens when conditions match.
Add or update a value
Calculate with formula
Modify existing value
Delete a field
Test Your Enricher
Preview before/after with sample data.
{
"code": "tshirt-001",
"attributes": {
"name": "Red T-Shirt",
"price": { "amount": 29.99 }
}
}{
"code": "tshirt-001",
"attributes": {
"name": "Red T-Shirt",
"price": { "amount": 29.99 },
"on_sale": true,
"discount_price": 23.99
}
}Common Examples
Copy these configurations and adapt them to your needs.
๐ท๏ธ Calculate Discount (20% off)
{
"name": "Apply 20% Discount",
"conditions": [{ "field": "attributes.on_sale", "operator": "equals", "value": true }],
"actions": [{ "type": "compute", "field": "attributes.discount_price", "formula": "attributes.price.amount * 0.8" }]
}๐๏ธ Hide Out-of-Stock Products
{
"name": "Hide Out of Stock",
"conditions": [{ "field": "attributes.stock", "operator": "lessThanOrEqual", "value": 0 }],
"actions": [{ "type": "setField", "field": "attributes.visible", "value": false }]
}โญ Categorize Premium Products
{
"name": "Premium Category",
"conditions": [{ "field": "attributes.price.amount", "operator": "greaterThan", "value": 100 }],
"actions": [{ "type": "setField", "field": "attributes.tier", "value": "premium" }]
}Managing Enrichers
Organize and control your transformation rules.
Enable/disable without deleting
Drag to change execution order
Clone as template
Order Matters: If Enricher A creates a field used by Enricher B, make sure A runs first!
Best Practices
Always test before production
Clear names for team collaboration
Break complex logic into parts
Too many enrichers slow exports