Tags: Alert, Email, Orders
Use this task to notify staff (or suppliers, or anyone!) of incoming orders. Optionally, choose to only be notified when orders are paid, or only for orders that contain at least one product with a certain tag.
- View in the task library: tasks.mechanic.dev/send-email-when-an-order-comes-in
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"only_for_paid_orders__boolean": false,
"only_for_orders_including_this_product_tag": null,
"email_recipients__required": "sales@example.com, production@example.com",
"email_subject__required": "New {{ order.financial_status }} order: {{ order.name }}",
"email_body__required_multiline": "Hi team,\n\nPlease see details for order {{ order.name }}:\n\nhttps://{{ shop.myshopify_domain }}/admin/orders/{{ order.id }}\n\nThanks,\n- Mechanic, for {{ shop.name }}"
}
Learn about task options in Mechanic
{% if options.only_for_paid_orders__boolean %}
shopify/orders/paid
{% else %}
shopify/orders/create
{% endif %}
Learn about event subscriptions in Mechanic
Use this task to notify staff (or suppliers, or anyone!) of incoming orders. Optionally, choose to only be notified when orders are paid, or only for orders that contain at least one product with a certain tag.
Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!