Trigger Shopify Flow with a time delay, with Mechanic.

Mechanic is a development and ecommerce automation platform for Shopify. :)

Trigger Shopify Flow with a time delay

This task does exactly as it sounds :) Add time delays to your Shopify Flow workflows. Choose your time delays by using offsets in the Subscriptions field. Learn more about offsets here.

Runs 5 minutes after an order is created, 5 days after an order is created, and 5 months after an order is created.

15-day free trial – unlimited tasks

Documentation

This task does exactly as it sounds :) Add time delays to your Shopify Flow workflows. Choose your time delays by using offsets in the Subscriptions field. Learn more about offsets here.

Easily modify this task to subscribe to any Shopify webhook. Use either product_id or order_id or customer_id in the Mechanic Flow action to bring the corresponding object into context in Shopify Flow.

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Gurus, everybody.

That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.

Open source
View on GitHub to contribute to this task
Events
5 minutes after an order is created (shopify/orders/create+5.minutes)
5 days after an order is created (shopify/orders/create+5.days)
5 months after an order is created (shopify/orders/create+5.months)
Script
{% action "flow" %}
  {
    {% comment %}
      If you want your Mechanic Flow trigger to be associated
      with a Shopify resource, you may include its numeric ID
      below. Only one resource at a time is supported. Leave
      this out entirely to use the General Mechanic Flow trigger.
    {% endcomment %}
    "order_id": {{order.id }},

    {% comment %}
      Keep as many of the following as you like. Any omitted
      keys *will* be submitted anyway, using the default value
      given below. If you don't want to use Mechanic's default
      value, make sure to *keep* the key in place below, setting
      it to whatever you like.
    {% endcomment %}
    "user_boolean": false,
    "user_email":   "hey@mechanic.invalid",
    "user_number":  0,
    "user_string":  "",
    "user_url":     "https://mechanic.invalid/"
  }
{% endaction %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.