[ { "label": "Save all variant images to Google Drive", "trigger_type": [ "product_custom" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "product.variants.image.src", "settings": { "multiple": "any", "operator": "not_empty", "value": "", "long_value": "", "token_browser": "{{ Browse Tokens }}", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "trigger_child_workflow", "settings": { "target_path": "product.variants", "exported_workflow": { "label": "Variant subworkflow", "trigger_type": [ "product_variant_custom" ], "object_type": "product_variant", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "product_variant.image.src", "settings": { "operator": "not_empty", "value": "", "long_value": "", "token_browser": "{{ Browse Tokens }}", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "ifttt", "settings": { "wait": "0", "custom_wait": "", "event": "upload_to_drive", "value1": "{{ product_variant.image.src }}", "value2": "{{ product_variant.title }}", "value3": "{{ product_variant.product.title }}" }, "weight": 999, "target_key": "product_variant" } ] } ] } } }, "weight": 999, "target_key": "product" } ] } ], "instructions": "### Setup\r\nTo implement the export correctly, you need to enable and implement the task within IFTTT by adding the webhook key under the integrations.", "shared_workflow_id": 1990 }, "description": "This automation is fired on-demand, loops through all the variants, and exports the variant images to Google drive via IFTTT" } ]