[ { "label": "Set a Default Metafield Value When a Product is Created", "trigger_type": [ "product_created" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "product.vendor", "settings": { "operator": "contains", "value": "[UPDATE ME]" }, "weight": 999 } ], "actions": [ { "type": "product_set_metafield_value", "settings": { "token_object_type": "product", "metafield_selection_type": "custom", "namespace": "custom_fields", "key": "country_of_origin", "value_type": "string", "value": "Made in the USA", "wait": "0", "cw_timezone": "Europe\/London", "custom_wait": "" }, "weight": 999, "target_key": "product" } ] } ], "shared_workflow_id": 368 }, "description": "This workflow is triggered when a product is created and can be used to automatically create a metafield value. You can use this to create legacy\/ deprecated metafield types or you can select one of the Shopify metafield definitions that are already defined in Shopify." } ]