Mechanic

An Automation platform
for Shopify
Try Mechanic

Mechanic and Shopify Flow

Share this Post

Shopify Flow Automation

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):

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?

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

Mechanic to Shopify Flow Automation

Flow → Mechanic

The Mechanic action, in Flow, sends new events to Mechanic.

Shopify Flow to Mechanic Automation

Next Steps

Check out the full documentation here.

Try Mechanic for free!

Checkout the task library 🙂

Share this Post

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 e-commerce workflow automation and custom development. Learn more about how Mechanic can benefit your process.

Image
Image
Shopify Merchants

Speed up your workflow with ecommerce automation. Draw from our library of 290+ automation tasks, and let your Shopify store start working the way you do.

Image
Developers

Write tasks in Liquid; we’ll handle the GraphQL and REST APIs, the scaling, and the uptime. Earn money with Mechanic – our merchants are looking for developers!

Image
Shopify Partners and Agencies

Use Mechanic as a rapid development tool to create enterprise-grade custom Shopify functionality. Build more with less, do it faster, and make more money.

Image
Shopify Plus Agencies

We have major Shopify Plus agencies using Mechanic to build out custom solutions for major Shopify Plus accounts. Mechanic can be your competitive advantage.

A full suite of powerful features,
built to enable your best work.

Image

Shopify GraphQL and REST APIs

The clients, security, and bulk operations. Learn more
Image

Shopify Webhooks

Respond to any webhook that Shopify delivers. Learn more
Image

Scheduled or historical runs

Tasks can run on existing data or be set to run in the future. Learn more
Image

Connect to external apis

Connect to any external API or webhook that you can think of. Learn more
Image

Open-source Task Library

Draw from our library of 290+ automation tasks. Browse the library at tasks.mechanic.dev.
Image

File
Generation

PDFs, Spreadsheets, ZIPs, downloads, and more. Learn more
Image

Email In
and Out

Send emails or trigger tasks from an email. Learn more: email in, email out
Image

FTP and Data Caching

Send files to an external FTP or SFTP server or cache data locally. Learn more: FTP, Cache

First class developer experience.

We understand what makes a developer ecosystem work.
Image
Image

Open-source task library, 290+ and growing

Use these tasks right out of the box or use them as starting points. These are well-written tasks that are packed with tons of functionality. Browse the library
Image

Slack community

Join our Slack community! It's full of friendly developers from all over the world. It's a safe place to learn and grow and get support. Join the Slack workspace
Image

Free Development
Environments

You need a place to learn, test, and develop. Development environments are always free with Mechanic. Learn more
Image

Rich, living documentation

We've taken great care to ensure Mechanic has useful and in-depth documentation. Read it back to front, or use it as a reference. Get started at learn.mechanic.dev
Image
Image

Try Mechanic today for free.

Try Mechanic