Search results for echo

14 articles found

  • The "echo" action

    The "echo" action type does just that: it echoes your input back to you. It's super useful for testing! For developers Options Literally anything you can express in JSON. :) Examples Something super

  • The "action" tag

    Because the ultimate purpose of a task is to generate actions, we offer a specialized Liquid tag as a quick shorthand for composing an action's JSON definition. This article is about composing action

  • How can I add extra logging to my tasks?

    While Mechanic will only perform actions for well-formed action definitions, Mechanic records and displays all JSON objects generated by a task. This means that you can create your own logging by

  • Responding to action results

    Sometimes, you'll want to do more than a single round of generating actions – you may want to check the results of an action, see if they appear the way you expect, and then perform additional

  • 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

  • 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

  • Can I schedule a task for a certain day of the month?

    To set up your task to run on a specific day of every month – say, the first of the month – have your task subscribe to mechanic/scheduler/daily, then use logic like this inside your task script: {%

  • Receiving email

    Every Shopify store that uses Mechanic has its own, dedicated email address, named after the store's myshopify.com subdomain and located at mail.usemechanic.com. A store at example.myshopify.com

  • Parent and child events

    The "event" action can be used to generate new events, to be run now or in the future. Events generated like this are considered children of the event responsible for those actions running in the

  • Preview actions

    Generally speaking, tasks only run in response to events – an order being created, a "Run task" button being pressed, etc. However, Mechanic does preview runs of each task as well, for two purposes:

  • The "http" action

    Mechanic's "http" action allows you to send request to third-party APIs. This means Mechanic can be used to translate Shopify data and deliver it to other services. For developers Options "method" –

  • Scripts

    Mechanic turns Liquid from a templating language, into a programming language. By nature, this document is basically wholly for developers. But – and we mean this – we're all about education. If

  • 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"