Search results for account

30 articles found

  • Event filters

    Event filters are configured in your account's Mechanic settings, and each one has two parts: A name – can be anything you like A template – a Liquid template that renders either true or false When

  • The customer object

    How to access it Use {{ customer }} in tasks responding to shopify/customers events Look up specific customers by their ID, using {{ shop.customers[12345678900] }} Look up specific customers by their

  • Why are my tasks delayed or not running?

    In general, there are two reasons why a task might be delayed, or might not be appearing to run: Shopify† is delayed in sending notifications to Mechanic Your Mechanic account is experiencing a delay

  • Why don't I see any events in my task's activity?

    There are two Mechanic account settings that filter task and event activity, and they're designed to keep your activity list clutter-free: Hide events that did nothing Hide task runs that did nothing

  • How do I request a new task?

    In Mechanic, a task is a package of logic (learn more!) - it's how each piece of automation for your shop is defined. We have a constantly growing library of pre-built tasks, ready to add to your

  • Practicing writing tasks

    In our own internal education, we've found that the following exercises work particularly well. They're all in sequence – the task to create for each subsequent exercise modifies the code you wrote

  • The gift card object

    Note: This API is only available to Shopify Plus stores, who have configured their Mechanic account with a custom Shopify API password. How to access it Use {% for gift_card in shop.gift_cards %} to

  • How do I find an ID for a product, collection, order, or something else?

    To find an ID for something in your Shopify account, start by opening your Shopify admin area. Then, navigate to the specific resource whose ID you're interested in. Lastly, look at in your browser's

  • Choosing a Shopify API version

    The Shopify API supports versioning for their REST and GraphQL admin APIs. Learn more from Shopify here. By default, all Mechanic tasks use the Mechanic system version, which corresponds to Shopify's

  • I'm an app developer. Can I send my events to Mechanic?

    Short answer: almost certainly. :) Get in touch with us at, and be prepared to do the following: Send events to Mechanic using a POST request, using a header to establish the

  • Connecting PayPal to Mechanic

    Open up the "Settings" area of your Mechanic account: Use the "Webhooks" section to create a webhook, named "PayPal", with an event topic of "user/paypal/ipn". ("IPN" stands for "Instant Payment

  • All action types

    New to Mechanic? Learn more about actions here. Cache – Allows you to manipulate a simple key/value cache, giving your tasks a short-term memory. Echo – Useful for debugging and logging. Use it to

  • Using a custom Shopify API password

    In high-volume scenarios for Shopify Plus accounts, Mechanic's performance can be improved by creating a private Shopify app, having the same permissions that you've granted to Mechanic. Because this

  • How do I know if my future-looking task is working?

    By default, Mechanic's activity log omits events that haven't performed any work yet. This means that, even if Mechanic's queueing up work for you, you might not see it right away. To change this,

  • Add an email template

    Sending email with Mechanic, using the "email" action? Use templates to make sure your emails match your brand. Don't forget, you can also send email from your store's domain! Instructions 1.

  • Can I send mail from my store's domain?

    By default, Mechanic sends your mail from an address built from your Shopify account name. If your store is at, for example, Mechanic will send mail from

  • The anatomy of a store-to-store sync

    Note: Creating a task for this purpose does involve writing Liquid code. Mechanic has two features that make syncing data possible: Webhooks – read more The "http" action – read more Using these two

  • Tasks

    A Mechanic task is responsible for interpreting the events that occur, setting off any number of actions as a result. Mechanic offers a number of built-in tasks, which you can add to your account

  • Pricing policy

    Our top priority is to create health for ourselves, and to give you the best tools we can for creating health for you. (We interpret "health" broadly: healthy transactions created in healthy business

  • Events

    Everything happens, in e-commerce. Products are listed, customers arrive, orders are placed, everything occurs, and has data to go with it. In Mechanic, we call that whole wash of things events, and

  • Triggering IFTTT applets

    Start by creating a new IFTTT applet. (Here's a quick link!) Click the "+ this" text to choose your trigger. Type "webhook" to quickly find the "Webhooks" trigger, and click on it to continue: After

  • The "email" action

    Email runs everything. Mechanic sends email. So long as you're sending transactional email only, you're covered. 👌 Read more: What kind of email can I send with Mechanic? The email action type

  • Creating scheduled CSV feeds

    In this tutorial, you'll learn how to create a feed of your shop's data, and make it available on your online store, at a URL like Tip: The data you generate can be

  • Triggering tasks with IFTTT

    IFTTT allows you to plug nearly anything into nearly anything else. And, using this guide, you can use it to trigger Mechanic tasks using that same set of nearly anything. This means that you can run

  • Getting started with webhooks

    Webhooks are the nearly ubiquitous carriers of information to and from services across the internet - services like IFTTT, Zapier, Stripe, PayPal, JotForm, and countlessly more. You can use webhooks

  • The "shopify" action

    Anything that Shopify allows developers to do, Mechanic lets you automate. This means that you can create, update, or delete nearly anything in your Shopify account. Here are some ideas: Tagging

  • All event topics

    Domains Let's get you to where you're going. :) MechanicGood for scheduling, or for allowing the merchant to manually trigger tasks within the Mechanic app. UserYou get to emit these yourself, using

  • Can I replace Shopify's order emails with Mechanic?

    As of December 2018, only Shopify Plus shop-owners are able to disable Shopify's own order notification emails. You can supplement these with Mechanic emails for confirmation and/or fulfillment, but

  • Why can't I access the Shopify API during preview mode?

    If you're reading this, you may be wondering why your task doesn't seem to be able to access the Shopify API, while you work on the task script. Read on! A task is always run in response to an event.

  • Querying Shopify

    Mechanic supports three methods for fetching data from Shopify: Liquid objects GraphQL GraphQL with bulk operations This article is about fetching data. Learn about writing data with the "shopify"