311df142615d827869ba0d2098c036cdc45d309ff9d564aa70a71bd53447b38d:{"__metadata":{"version":0.1},"root":{"steps":[{"step_id":"cfb55ece-a634-4a45-800e-4526898de24f","step_position":[0,0],"config_field_values":[{"config_field_id":"recurrence","value":"[\"DTSTART;TZID=America/New_York:20220719T170000\\nRRULE:FREQ=DAILY;INTERVAL=1;WKST=MO\"]"}],"task_id":"shopify::flow::scheduled_time","task_version":"0.1","task_type":"TRIGGER","description":null,"note":null,"name":null},{"step_id":"3d2f3841-e407-45f4-a60f-aded0f2715d2","step_position":[0,860],"config_field_values":[{"config_field_id":"address","value":"ops@example.com"},{"config_field_id":"subject","value":"You have {{count}} unfulfilled orders older than 2 days, totaling ${{sum}} in value."},{"config_field_id":"message","value":"{% if count >= 100 %}WARNING: this list reached the 100-order limit of Get order data. More unfulfilled orders may exist. Check the Orders page.{% endif %}\nThe unfulfilled orders:\n{% for order_item in getOrderData %}\n - {{order_item.name}} - ${{order_item.currentTotalPriceSet.shopMoney.amount}}\n{% endfor %}"}],"task_id":"shopify::flow::send_email","task_version":"2.0","task_type":"ACTION","description":null,"note":null,"name":null},{"step_id":"db0f6dc0-a16b-4727-8e5e-47ab8110f381","step_position":[0,700],"config_field_values":[{"config_field_id":"condition","value":"{\"uuid\":\"01M7TZYYZ8B73ECXRY9ZK776QM\",\"lhs\":{\"uuid\":\"01M7TZYYZ8YC32GTXE8SAXE5PV\",\"parent_uuid\":\"01M7TZYYZ8B73ECXRY9ZK776QM\",\"lhs\":{\"uuid\":\"01M7TZYYZ8C1PJ04Z6RWSC8GA1\",\"parent_uuid\":\"01M7TZYYZ8YC32GTXE8SAXE5PV\",\"value\":\"count\",\"comparison_value_type\":\"EnvironmentValue\",\"full_environment_path\":\"count\"},\"rhs\":{\"uuid\":\"01M7TZYYZ81Q4QZMCY3A8S0HN4\",\"parent_uuid\":\"01M7TZYYZ8YC32GTXE8SAXE5PV\",\"value\":\"0.0\",\"comparison_value_type\":\"LiteralValue\"},\"value_type\":\"EnvironmentScalarDefinition:Int\",\"operator\":\">\",\"operation_type\":\"Comparison\"},\"operator\":\"AND\",\"operation_type\":\"LogicalExpression\"}"}],"task_id":"shopify::flow::condition","task_version":"0.1","task_type":"CONDITION","description":null,"note":null,"name":null},{"step_id":"9f8bbdd0-3e73-11ed-ac1e-35e5096a7499","step_position":[0,380],"config_field_values":[{"config_field_id":"listpath","value":"getOrderData"}],"task_id":"shopify::flow::count","task_version":"0.1","task_type":"ACTION","description":null,"note":null,"name":"Count"},{"step_id":"adfbe0c0-3e73-11ed-ac1e-35e5096a7499","step_position":[0,520],"config_field_values":[{"config_field_id":"numberpath","value":"getOrderData.currentTotalPriceSet.shopMoney.amount"}],"task_id":"shopify::flow::sum","task_version":"0.1","task_type":"ACTION","description":null,"note":null,"name":"Sum"},{"step_id":"12801b30-4502-11ed-9210-4b12c5cfec6e","step_position":[0,220],"config_field_values":[{"config_field_id":"sort_by","value":"{\"sortKey\":\"CREATED_AT\",\"order\":\"ASCENDING\"}"},{"config_field_id":"max_root_records","value":"100"},{"config_field_id":"query","value":"created_at:<='{{ scheduledAt | date_minus: \"2 days\" }}' AND fulfillment_status:unfulfilled AND NOT status:cancelled"}],"task_id":"shopify::flow::fetch::orders","task_version":"v1","task_type":"ACTION","description":null,"note":null,"name":"Get order data"}],"links":[{"from_step_id":"db0f6dc0-a16b-4727-8e5e-47ab8110f381","from_port_id":"true","to_step_id":"3d2f3841-e407-45f4-a60f-aded0f2715d2","to_port_id":"input"},{"from_step_id":"9f8bbdd0-3e73-11ed-ac1e-35e5096a7499","from_port_id":"output","to_step_id":"adfbe0c0-3e73-11ed-ac1e-35e5096a7499","to_port_id":"input"},{"from_step_id":"adfbe0c0-3e73-11ed-ac1e-35e5096a7499","from_port_id":"output","to_step_id":"db0f6dc0-a16b-4727-8e5e-47ab8110f381","to_port_id":"input"},{"from_step_id":"cfb55ece-a634-4a45-800e-4526898de24f","from_port_id":"output","to_step_id":"12801b30-4502-11ed-9210-4b12c5cfec6e","to_port_id":"input"},{"from_step_id":"12801b30-4502-11ed-9210-4b12c5cfec6e","from_port_id":"output","to_step_id":"9f8bbdd0-3e73-11ed-ac1e-35e5096a7499","to_port_id":"input"}],"patched_fields":[],"variables":[],"note":null,"vertical_layout_enabled":true,"workflow_name":"Scheduled Daily Fulfillment Summary"}}