Skip to content

Latest commit

 

History

History

send-an-email-when-a-purchase-is-made-from-a-certain-collection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Send an email when a purchase is made from a certain collection

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.

Default options

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

Subscriptions

shopify/orders/paid

Learn about event subscriptions in Mechanic

Documentation

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.

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!