Skip to content

Latest commit

 

History

History

send-an-email-alert-when-a-customer-changes-state

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Send an email alert when a customer changes state

Tags: Alert, Customers, Email

This task monitors for updates to a customer's state (account disabled, password set, invited, or invitation declined), and sends alert emails for any state changes you care about.

Default options

{
  "email_when_a_customer_declines_an_invitation__boolean": true,
  "email_when_a_customer_account_is_disabled__boolean": true,
  "email_when_a_customer_initially_sets_an_account_password__boolean": true,
  "email_when_a_customer_is_invited__boolean": true,
  "email_recipient__email_required": ""
}

Learn about task options in Mechanic

Subscriptions

shopify/customers/update
shopify/customers/create

Learn about event subscriptions in Mechanic

Documentation

This task monitors for updates to a customer's state (account disabled, password set, invited, or invitation declined), and sends alert emails for any state changes you care about.

This task monitors for updates to a customer's state, and sends alert emails for any state changes you care about.

This task works by storing the customer's previous state, and comparing it to the new state. Therefore, this task cannot send emails for customers it hasn't seen before. This means that you may not see emails for some customers immediately after installing the task; emails will begin sending as customers are created and updated, allowing Mechanic to fill in its knowledge of customer state.

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!