[ { "label": "Create a new Trello card when an order is flagged as fraudulent", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.risks.recommendation", "settings": { "multiple": "any", "operator": "any", "value": { "cancel": "cancel", "investigate": 0, "accept": 0 }, "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "trello", "settings": { "wait": "0", "custom_wait": "", "board_id": "", "list_id": "", "title": "{{ order.name }}: High Risk", "description": "Order Placed:\r\n{{ order.created_at | date(\"F j, Y, g:i a - T\") }}\r\n\r\nCustomer Information:\r\n{{ order.customer.display_name }}\r\n{{ order.email }}\r\n{{ format_address(order.shipping_address, {format: 'markdown', country: true, company: false, phone: false}) }}\r\n\r\nProducts Ordered:\r\n{{ order_products_list(order, {format: 'markdown', link: true, quantity: true}) }}\r\nOrder Subtotal: \r\n{{ format_money(shop, order.subtotal_price) }}\r\n\r\n{{ order.admin_url }}\r\n", "due_date": "" }, "weight": 999, "target_key": "order" } ] } ], "shared_workflow_id": 695 }, "description": "The automation is fired when an order with a high-risk recommendation is paid, creating a Trello card with the order and payment details. " } ]