[ { "label": "Create a Trello card when a new order is placed", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [], "actions": [ { "type": "trello", "settings": { "wait": "0", "custom_wait": "", "board_id": "", "list_id": "", "title": "Order #{{ order.number }}", "description": "Order `#{{ order.number }}` \r\n{{ order_products_list(order, {format: 'markdown', link: false, quantity: true}) }}\r\nTotal: {{ order.total_price }} \r\n\r\n{% for line_item in order.line_items %}\r\n###{{ line_item.title }}\r\n\r\n{% for prop_name, prop_value in line_item.properties %}\r\n*{{ prop_name }}: {{ prop_value }}\r\n{% endfor %}\r\n{% endfor %}\r\n\r\n{% if order.note is not empty %}\r\n{{ order.note }}\r\n{% endif %}\r\n\r\n{% if order.note_attributes is not empty %}\r\n{% for name, value in order.note_attributes %}\r\n*{{ name }}: {{ value }}\r\n{% endfor %}\r\n{% endif %}", "due_date": "Friday 5PM" }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 25 }, "description": "This workflow sends newly paid orders to any Trello board and list that you'd like. Trello options include assigning the card to a specific user, card labels, due dates, and custom fields. " } ]