Skip to content

Latest commit

 

History

History

email-the-customer-when-tracking-numbers-are-added-to-their-order

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Email the customer when tracking numbers are added to their order

Tags: Customers, Email, Orders, Shipping, Tracking

Use this task with services that add tracking numbers to fulfillments after fulfillments are created, to ensure that customers are notified when their tracking number is available.

Default options

{
  "email_subject__required": "Shipping update for order {{ fulfillment.order.name | default: \"(number)\" }}",
  "email_body__required_multiline": "Hello customer,\n\nTrack your package: TRACKING_NUMBERS\n\nThanks,\n{{ shop.name }}"
}

Learn about task options in Mechanic

Subscriptions

shopify/fulfillments/create
shopify/fulfillments/update

Learn about event subscriptions in Mechanic

Documentation

Use this task with services that add tracking numbers to fulfillments after fulfillments are created, to ensure that customers are notified when their tracking number is available.

This task works by monitoring created and updated fulfillments. It scans for and saves the tracking numbers currently available for an order, and whenever that set changes, it sends an email to the customer.

Use "TRACKING_NUMBERS" in your email body to insert a list of tracking numbers for the customer's order. Or, use "{{ fulfillment.tracking_number }}", to insert the single tracking number of the fulfillment that has just been created or updated.

YouTube: Watch the development video!

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!