Skip to main content
Copies a value from one place in your data to another, leaving the original in place. You point at the data you want with a source pattern and say where the copy should land with a destination pattern. It is handy when a downstream system expects the same value under a different name, or when you want to duplicate a value, for example reusing a shipping address as a billing address. If you do not need to keep the original, use Move using a path instead.

Fields

Sample data

FieldValue
Source patternproducts.*.name
Destination patternproduct_names.$1
Input:
{
    "products": [
        { "name": "Coffee mug", "sku": "MUG-01" },
        { "name": "Tea pot", "sku": "POT-02" }
    ]
}
Output:
{
    "products": [
        { "name": "Coffee mug", "sku": "MUG-01" },
        { "name": "Tea pot", "sku": "POT-02" }
    ],
    "product_names": [
        "Coffee mug",
        "Tea pot"
    ]
}
The original products list is untouched, and a copy of each name now also lives under product_names in the same order as the products.