Let's get you to where you're going. :)
Good for scheduling, or for allowing the merchant to manually trigger tasks within the Mechanic app.
You get to emit these yourself, using the event action!
These correspond one-to-one with Shopify webhooks 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. :)
And there's room for more! See the end of this page for the list of future events.
The full rundown is below, organized by event domain (i.e. the source responsible for generating the event), the event subject (i.e. does the event concern a Shopify collection? or the Mechanic scheduler?), and the event … action. We don't have a good word for that third piece yet. ;)
These events are generated by Mechanic.
You can receive email with Mechanic, too! If your Shopify account is at fantastic.myshopify.com, try emailing yourself at email@example.com.
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:
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: