Scheduled Workflows

Overview

The Scheduler is a feature in Arigato Automation that allows you to set specific times to run batch workflows. Batches allow you to run workflows on a group of items whenever you wish, outside of the real-time processing triggers that are based on events in Shopify such as products being created or updated. 

Accessing The Scheduler

There are two methods to access the Scheduler. First, a link in the sidebar takes you to the overview page for schedules. The second option appears at the bottom of any workflow edit screen.

Scheduler overview page

Screenshot_2019-06-07_11.21.44.png

Scheduler on the workflow edit screen

Screenshot_2019-06-07_11.22.51.png

Creating Scheduled Workflows

Only workflows using the "scheduled or on demand" trigger can be used with the Sheduler. On existing workflows, you can change the trigger to scheduled in order to activate the Scheduler on that workflow. Alternatively, you may want to utilize the clone feature to clone a workflow and create a scheduled version of that workflow, alongside your real-time version of the workflow.

Creating a Scheduled Workflow From the Scheduler Page

Clicking on "Create Scheduled Batch" will show any existing workflows that use the "on demand or scheduled" trigger. You may also create a new workflow that supports schedules from this page. Doing so will create a workflow and a schedule at the same time.

Screenshot_2019-06-07_11.30.45.png

Creating a Scheduled Workflow From the My Workflows Page

Scheduled workflows can also be created through the "Create Workflow" process. Simply start a new workflow and search for "scheduled".

2019-06-06_1650.png

Changing an Existing Workflow to Use With Scheduler

Simply click on the trigger section at the top of the workflow edit screen to reveal all the available trigger types for that workflow and select the "scheduled or on demand" option.

Screenshot_2019-06-07_14.36.35.png

Creating A Scheduled Batch from a Workflow

On-demand workflows will show the "Create Scheduled Batch" link in the actions section at the bottom of an on-demand workflow. 

2019-06-06_1656.png

Batch Filters

Batches start with all resources in your store, such as all products or all orders. For example, if your store has 10,000 products a batch without any filters will run against all 10,000 products.

Batch Filters allow you to reduce the data set that the batch will run against. The batch data set will then be run through your workflow and the conditions in your workflow will determine if actions will fire. 

We highly recommend filtering batch data sets as much as possible due to the processing limitations imposed by Shopify's API limits. For example, if your store has 10,000 products and you only want to target products with a certain tag that applies to 100 products, add a Batch Filter on that tag. The batch would only evaluate those 100 products as part of the batch. Without the batch filter, all 10,000 products will be part of the batch data set, regardless of the conditions on the workflow. Workflow conditions will be evaluated for each item in the batch as the batch items are processed. Batches with filters will complete significantly faster than batches that are not filtered. 

2019-06-06_1703.png

Frequency Options

The Scheduler can be set to run multiple times per day, week or month.

Screenshot_2019-06-07_15.05.22.png

Timezone Settings

The timezone setting can be adjusted to run against any timezone you wish. By default, it will use the Shop's timezone.

Schedule Display

Once enabled, the Sheduler will show when the next batch will run. When a batch is running it will be displayed as such on the Workflow and on the "My Workflows" page.

Screenshot_2019-06-07_15.10.33.png