[
{
"label": "Email me Upload Kit image links",
"trigger_type": [
"order_paid"
],
"object_type": "order",
"app_id": "triggers",
"settings": {
"priority": 0,
"condition_groups": [
{
"conditions": [],
"actions": {
"1": {
"type": "google_gmail",
"settings": {
"wait": "0",
"run_once": 0,
"custom_wait": "",
"to": "{{shop.email}}",
"cc": "",
"bcc": "",
"reply_to": "{{ shop.email }}",
"subject": "Upload Kit For {{ order.id }} \/ {{ order.customer.display_name }}",
"plain_text": "0",
"body": "Upload Kit For {{ order.id }}{{ order.customer.display_name }}\r\n\r\n{% set i = 1 %}\r\n{% for line_item in order.line_items %}\r\n{% for property in line_item.properties %}\r\n\r\n{% if property|contains('getuploadkit') %}\r\n
Artwork {{i}}<\/a>\r\n{% set i =i+1 %}\r\n{% endif %}\r\n{% endfor%}\r\n\r\n\r\n{% endfor %}\r\n\r\n{{ line_item.name }}\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}{{ order.note }}\r\n\r\n\r\n",
"token_object_type": "order",
"customize_from": 0,
"from": {
"email": "",
"name": ""
}
},
"weight": 1009,
"target_key": "order"
}
}
}
],
"shared_workflow_id": 38604
},
"description": "This automation will automatically email you UploadKit file links every time an order with UploadKit images is placed."
}
]