Meet Mechanic
A development platformfor Shopify.
Mechanic and Shopify Flow
Shopify Flow is an ecommerce automation solution that was purpose-built to help solve the unique challenges that Shopify merchants face. With Flow, you can build workflows to automate tasks, campaigns, and processes within your store and across your apps. --- https://apps.shopify.com/flow
What is Shopify Flow?
Flow is Shopify's answer to automation for Plus merchants: a graphical tool that allows for defining automation using flowchart-like structures.
Workflow
A package of configuration, containing a trigger, zero or more conditions, and one or more actions. Analogous to a Mechanic task.
Trigger
An event from Shopify or another connector (like Mechanic), which can be used to set workflows. Analogous to a Mechanic event.
Condition
A logical check which evaluates some data (possibly provided by the trigger), and steers the workflow towards specific actions. Loosely analogous to the code in a Mechanic task
Action
Work to be performed, at the conclusion of a workflow's run. Directly analogous to a Mechanic action.
What is Mechanic
Mechanic is a development and ecommerce workflow automation platform for Shopify. Shopify merchants, developers, partners, and agencies of all sizes use Mechanic to automate, create, integrate, and scale. Whether you’re a family business running a Shopify store, or a Shopify Plus agency working with the Fortune 500, Mechanic gives you the simplest path for ecommerce workflow automation and custom development.
Check out the task library of 300+ ecommerce automations! Try Mechanic free today!
Popular Mechanic Tasks (Shopify ecommerce automations):
- Cancel and close unpaid orders after x hours/days
- Auto-tag customers when they purchase a matching product
- Ask for reviews a week after order fulfillment
- Hide out-of-stock products
- Move out-of-stock products to the end of a collection
- Accept a maximum number of orders per day
- Auto-fulfill items that don't require shipping
- Maintain inventory for a product bundle
- Scheduled theme publishing
- Publish back-in-stock products
- Check out all 300 here!
Mechanic and Shopify Flow Integration
Mechanic allows developers to integrate their work with Shopify Flow via an official Flow connector, sending triggers to Shopify using Mechanic's Flow action, and receiving events from Shopify using custom event topics in the user domain.
Why?
- Reuse existing Shopify Flow work 🙂
- Add superpowers to Shopify Flow!
- Trigger Shopify Flow with a time delay
- Bulk trigger Shopify Flow with historical data
Connecting Mechanic
Mechanic's Flow connector works in both directions: Mechanic → Flow, and Flow → Mechanic.
- Beginning on the Mechanic side, the Flow action sends data to Flow, arriving in the form of a trigger, and setting off the Flow workflows configured there.
- Beginning on the Flow side, the Mechanic action sends data to Mechanic, arriving in the form of a new event, setting off the Mechanic tasks configured there.
Mechanic → Flow
Shopify Flow workflows are triggered from the Mechanic side, using Mechanic's Flow action. There are four triggers to choose from: General, Customer, Order, and Product. Mechanic's Flow action can produce any one of these four triggers, depending on the action options given.
On the Flow side, workflows may be configured to listen for any of these four Mechanic triggers.
Triggers
- General
- Send user-defined data to a Shopify Flow workflow.
- Customer
- Send a customer ID to be pulled up in context in Shopify Flow.
- Send user-defined data to a Shopify Flow workflow.
- Order
- Send a order ID to be pulled up in context in Shopify Flow.
- Send user-defined data to a Shopify Flow workflow
- Product
- Send a product ID to be pulled up in context in Shopify Flow.
- Send user-defined data to a Shopify Flow workflow
Flow → Mechanic
The Mechanic action, in Flow, sends new events to Mechanic.
Next Steps
Check out the full documentation here.