[ { "version": 1, "label": "Klaviyo: Track customers with Klaviyo events when they purchase shirts", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "order.line_items.product.product_type", "settings": { "multiple": "any", "operator": "equals", "value": "Shirt", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "klaviyo_track_event", "settings": { "wait": "0", "run_once": 1, "custom_wait": "", "event": "Shirt Customers", "default_properties": { "properties": { "id": { "use_default": 1, "key": "id", "value": "" }, "first_name": { "use_default": 1, "key": "first_name", "value": "" }, "last_name": { "use_default": 1, "key": "last_name", "value": "" }, "email": { "use_default": 1, "key": "email", "value": "" }, "phone_number": { "use_default": 1, "key": "phone_number", "value": "" }, "address": { "use_default": 1 }, "organization": { "key": "organization", "value": "" }, "city": { "key": "city", "value": "" }, "region": { "key": "region", "value": "" }, "zip": { "key": "zip", "value": "" }, "country": { "key": "country", "value": "" } } }, "customer_properties": { "properties": { "prop_8878845": { "key": "", "value": "" } }, "actions": [] }, "event_properties": { "properties": { "prop_1029079": { "key": "Items Purchased", "value": "{{order.line_items|map('title')|to_json}}" } }, "actions": [] }, "token_object_type": "order" }, "weight": 999, "target_key": "order.customer" } } } } }, "description": "Automatically add a Klaviyo event when a customer purchases a product from the product type Shirt. " } ]