Tags: Collections, Email, Orders
This task will monitor incoming orders for any products that are included in the collection you choose. Learn where to find the collection ID.
- View in the task library: tasks.mechanic.dev/send-an-email-when-a-purchase-is-made-from-a-certain-collection
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"required_collection_id__number_required": "",
"email_address__required": "",
"email_subject__required": "New purchase for LINE_ITEM_TITLES, from COLLECTION_TITLE",
"email_body__multiline_required": "Hello,\n\nOrder {{ order.name }} includes LINE_ITEM_TITLES, from COLLECTION_TITLE.\n\n<a href=\"https://{{ shop.domain }}/admin/orders/{{ order.id }}\">Manage this order in Shopify</a>\n\nThanks,\n-Mechanic, for {{ shop.name }}"
}
Learn about task options in Mechanic
shopify/orders/paid
Learn about event subscriptions in Mechanic
This task will monitor incoming orders for any products that are included in the collection you choose. Learn where to find the collection ID.
Please note: This task does not determine what collection the customer may have been browsing when they added the product to the cart. This task simply checks to see which collections contain each purchased product, looking for a match with the collection you choose.
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!