Skip to main content
Copies a part of the entity data to another location within the entity data, while leaving the original content unchanged. Instead of pointing at a single fixed path, you choose a way of reading values for the source and a way of writing values for the destination. That lets you copy several matching values at once, such as every product SKU in an order, and place them all under a new location in one step. If you do not need to keep the original, use Move using an accessor instead.

Fields

Sample data

FieldValue
SourcePattern accessor matching order.items.*.sku
DestinationKey accessor with root skus
Strip enclosures from keysOn (default)
Input:
{
    "order": {
        "items": [
            { "sku": "A1", "qty": 2 },
            { "sku": "B2", "qty": 5 }
        ]
    }
}
Output:
{
    "order": {
        "items": [
            { "sku": "A1", "qty": 2 },
            { "sku": "B2", "qty": 5 }
        ]
    },
    "skus": {
        "order": {
            "items": [
                { "sku": "A1" },
                { "sku": "B2" }
            ]
        }
    }
}
The original order.items is untouched, and a copy of every matched SKU now also lives under the new skus location, keeping the path it came from.