Catalog update email with Mechanic.

Mechanic is the one-tool-does-it-all automation app for Shopify. :)

Catalog update email

by Isaac Bowen (team@usemechanic.com)

Get an email alert whenever a product is created, updated, or deleted. This makes it easy to keep tabs on updates to your catalog – useful if you need a precise audit trail.

Runs when a product is created, when a product is deleted, and when a product is updated. Configuration includes recipient email.

15-day free trial – unlimited tasks

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Gurus, everybody.

That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.

Events
when a product is created (shopify/products/create)
when a product is deleted (shopify/products/delete)
when a product is updated (shopify/products/update)
Options
recipient email (required, email)
Script
{% assign verb = event.topic | split: "/" | last %}

{% capture email_subject %}Product {{ product.id }} {{ verb }}d{% endcapture %}

{% capture email_body %}
Hello,

A product was just {{ verb }}d. Here's what we know:

{{ product | json }}

Thanks,

-Mechanic (for {{ shop.name }})
{% endcapture %}

{
  "action": {
    "type": "email",
    "options": {
      "to": {{ options.recipient_email__required_email | json }},
      "subject": {{ email_subject | json }},
      "body": {{ email_body | strip | newline_to_br | json }},
      "from_display_name": {{ shop.name | json }}
    }
  }
}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.