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.
These events run at regular intervals. In some cases, they may run a minute or two off from the exact time specified.
mechanic/scheduler/daily(midnight, in the shop's local timezone)
- Weekly, per weekday (runs midnight, in the shop's local timezone):
These events describe runs that the user can trigger from within the Mechanic application interface.
- Text input:
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".
Not yet supported! Shopify doesn't seem to support webhook registration for these events just yet. :)
- Partially fulfilled: