[ { "label": "When a draft order is created, transition it to a real order", "trigger_type": [ "draft_order_created" ], "object_type": "draft_order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "5": { "type": "draft_order_complete", "settings": { "token_object_type": "draft_order", "payment_pending": 0, "wait": "0", "cw_timezone": "Africa\/Nairobi", "custom_wait": "" }, "weight": 20, "target_key": "draft_order" } } } }, "shared_workflow_id": 24650 }, "description": "The automation is fired whenever a draft order is created and converts a draft order into a sales order. You can add conditions based on business rules such as if the order is from a specific customer, if the order is from a specific sales channel, or if the order has specific tags." } ]