Skip to content

Latest commit

 

History

History
 
 

send-an-email-alert-when-a-fulfillment-is-cancelled

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Send an email alert when a fulfillment is cancelled

Tags: Alert, Email, Fulfillment

Useful for keeping an eye on unexpected cancellations by third party shipping services.

Default options

{
  "email_recipient__email_required": "",
  "email_subject__required": "A fulfillment for order {{ fulfillment.order.name | default: \"an order\" }} was cancelled",
  "email_body__multiline_required": "Hello,\n\nA fulfillment with {{ fulfillment.line_items.size }} line item(s) was cancelled.\n\n<a href=\"https://{{ shop.domain }}/admin/orders/{{ fulfillment.order.id }}\">Manage this order in Shopify</a>\n\nThanks,\nMechanic, for {{ shop.name }}"
}

Learn about task options in Mechanic

Subscriptions

shopify/fulfillments/update

Learn about event subscriptions in Mechanic

Documentation

Useful for keeping an eye on unexpected cancellations by third party shipping services.

This task performs two actions: one to send an email, and one to "remember" that an email has been sent. (Without this second action, this task would send an email every time a cancelled fulfillment is updated.)

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!