Skip to main content
Sorts a flat list of items into buckets based on a shared value. Use this to take a list of products and group them by category, so all products in the same category end up together. Each item that shares the same value is collected into its own group, and the groups are written to a location you choose. The original list stays in place.

Fields

Sample data

FieldValue
Sourceproducts.*
Pathcategory
Destinationgrouped
Input:
{
    "products": [
        { "sku": "A1", "category": "shirts" },
        { "sku": "B2", "category": "trousers" },
        { "sku": "C3", "category": "shirts" }
    ]
}
Output:
{
    "products": [
        { "sku": "A1", "category": "shirts" },
        { "sku": "B2", "category": "trousers" },
        { "sku": "C3", "category": "shirts" }
    ],
    "grouped": {
        "shirts": [
            { "sku": "A1", "category": "shirts" },
            { "sku": "C3", "category": "shirts" }
        ],
        "trousers": [
            { "sku": "B2", "category": "trousers" }
        ]
    }
}