[ { "label": "Email me when there are too many unfulfilled orders (Shopify API)", "trigger_type": [ "http_request_custom" ], "object_type": "http_request", "app_id": "triggers", "settings": { "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "shopify_api_request", "settings": { "wait": "0", "custom_wait": "", "label": "", "method": "GET", "path": "orders\/count", "data": "{\"fulfillment_status\": \"unshipped\"}", "response_handle": "handle_response", "response_object_type": "", "parent_data": "", "workflow_actions": [], "token_object_type": "http_request", "exported_workflow": { "label": "HTTP Response subworkflow", "trigger_type": [ "manual" ], "object_type": "http_response", "app_id": "triggers", "settings": { "condition_groups": { "1": { "conditions": { "2": { "field": "http_response.json", "settings": { "multiple": "all", "name": "count", "field_type": "numeric", "select_field_type": "Select", "operator": "gt", "value": "20", "token_browser": "{{ Browse Tokens }}", "token_object_type": "http_response", "condition_type": "AND" }, "weight": 10 } }, "actions": { "3": { "type": "debug", "settings": { "wait": "0", "custom_wait": "", "action_label": "", "title": "", "body": "{{ http_response.body }}", "token_object_type": "http_response" }, "weight": 20, "target_key": "http_response" }, "2": { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "someone@overtherainbow.com", "cc": "", "bcc": "", "reply_to": "", "subject": "", "plain_text": "1", "body": "Too many orders needing fulfillment", "token_object_type": "http_response" }, "weight": 30, "target_key": "http_response" } } } } } } }, "weight": 999, "target_key": "http_request" } } } }, "shared_workflow_id": 13098 } } ]