Skip to main content
Loops over all items matching the supplied pattern and applies one or more transformers to each item individually. The results replace the original items at the matched path.

Fields

Pattern

Required. Dot-notated path to the items to loop over. Use * to match all items in an array, e.g. products.*.

Data Transformers

One or more transformers to apply to each matched item. Transformers run in order on every item.

Sample data

Pattern: products.* Transformer: rename name to title Input:
{
    "products": [
        { "name": "example", "sku": "A1" },
        { "name": "example2", "sku": "B2" }
    ]
}
Output:
{
    "products": [
        { "title": "example", "sku": "A1" },
        { "title": "example2", "sku": "B2" }
    ]
}