[ { "label": "Automatically fulfill orders with a certain type of product", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "2": { "type": "trigger_child_workflow", "settings": { "token_object_type": "order", "target_path": "order.line_items", "wait": "0", "cw_timezone": "America\/New_York", "custom_wait": "", "run_once": 0, "exported_workflow": { "label": "Line Item subworkflow", "trigger_type": [ "manual" ], "object_type": "line_item", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "line_item.product.standard_product_type.name", "settings": { "operator": "not_equals_one", "value": "", "long_value": "Foo", "token_object_type": "line_item", "condition_type": "AND" }, "weight": 999 } }, "actions": { "2": { "type": "line_item_fulfill", "settings": { "token_object_type": "line_item", "tracking_info": { "company": "", "number": "", "url": "" }, "message": "", "notify_customer": 0, "wait": "0", "cw_timezone": "America\/New_York", "custom_wait": "" }, "weight": 1009, "target_key": "line_item" } } } } } } }, "weight": 20, "target_key": "order" } } } }, "shared_workflow_id": 16443 }, "description": "This advanced workflow checks all orders. When a targeted product type is found in the order, the line item is automatically fulfilled." } ]