Skip to content

Latest commit

 

History

History

send-email-when-an-order-comes-in

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Send email when an order comes in

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.

Default options

{
  "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

Subscriptions

{% if options.only_for_paid_orders__boolean %}
  shopify/orders/paid
{% else %}
  shopify/orders/create
{% endif %}

Learn about event subscriptions in Mechanic

Documentation

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.

Installing this task

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.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!