All event topics
Every task needs at least one event topic to "listen" for – when an event with a matching topic occurs, the task runs.
Mechanic has many events that it can work with, giving you many options as you get creative with your shop's automation. :) We've organized these by domain and subject – the first two components of an event topic.
Generated by Mechanic itself. Supports scheduling, events initiated from within the Mechanic app, incoming email, and the results of performed actions.
You get to emit these yourself, using webhooks or the "event" action.
These correspond one-to-one with Shopify webhooks topics.
These events are generated by Mechanic.
Subscribe to these actions to act upon the results of actions, as the they happen. Read more: Responding to action results
You can receive email with Mechanic, too! If your Shopify account is at fantastic.myshopify.com, try emailing yourself at firstname.lastname@example.org.
These events run at regular intervals. In some cases, they may run a minute or two off from the exact time specified.
- Every 10 minutes:
- Every 15 minutes:
- Every 30 minutes:
mechanic/scheduler/daily(midnight, in the shop's local timezone)
- Weekly, per weekday (runs midnight, at the beginning of the day, in the shop's local timezone):
This is a good time to note that all event subscriptions can be combined with a time delay, as in these examples:
mechanic/scheduler/daily+6.hours(runs at 6am)
mechanic/scheduler/daily+20.hours(runs at 8pm)
mechanic/scheduler/daily+150.minutes(runs at 2:30am)
These events describe runs that the user can trigger from within the Mechanic application interface.
- Text input:
- Simple trigger:
Yes, you get to generate events too!
User event topics always start with
user/ , but the rest is up to the task script. They always follow the same three-part form as every other event topic.
These events are generated by Shopify.
Customer saved searches
Note: Shopify calls these "customer saved searches", but under the hood they still refer to them as "customer groups".
- Partially fulfilled:
- Review created: