Scheduled Workflows

Scheduled Workflows are workflows that are started automatically on a schedule from within the app and can process an unlimited number of items. The app currently supports scheduling for Product, Variant, Order, Draft Order, Customer, Collection, Dispute and Custom workflows.

The Workflow Variables system works with Scheduled Workflows to collect dynamic data as part of a Scheduled Workflow. See Workflow Variables (linked below) to learn more about this system.

Creating a Scheduled Workflow

  1. From within the app, click on Workflows in the left sidebar.
  2. Click Create Workflow in the top right.
  3. Choose Workflow Type of Schedule.
  4. Choose an Object Type, such as Products and click Create Workflow.
  5. Configure your workflow and turn it on.

Creating or Editing a Schedule

  1. From within the app, click on Workflows in the left sidebar.
  2. Click the title of the workflow to run.
  3. From the workflow page, in the top right of the workflow, click the clock icon in the triggers area of the workflow next to "When the [X] workflow is Run on a Schedule".
  4. On the Edit Schedule page, use the filters to narrow the results list and select items to process using the checkboxes on the left side of the list. For more information on filtering & selecting items, see below.
  5. Scroll to the bottom of the page and set the Frequency. See Scheduled Frequency Settings below for more information.
  6. Click Continue.
  7. Confirm selections and click Enable Schedule.

Schedule Frequency Settings

Run once specific day and time
Allows for both relative and absolute dates, such as tomorrow 1pm or January 11, 2022 4pm. This setting is ideal for setting up a sale or other one time event.

Run every X hours
Allows any interval in one hour segments. This is particularly useful for unusual schedules, such as once every 48 hours.

Run one or more times per day
Allows schedules to run at specific times each day. For example, at 11:15 am every day. 

Run one more more times per week
Allows schedules to run only on specific days at specific times. For example, Monday at 10 am and Friday at 5 pm.

Timezone Settings
The timezone setting can be adjusted to run against any timezone you wish. By default, it will use your shop's timezone (which is set in your Shopify store's settings).

Stopping or Editing a Schedule

  1. From the workflow page, in the top right of the workflow, hover on the 3 dots menu.
  2. Click Edit Schedule.
  3. Click Cancel Job.
  4. To edit the schedule scroll to the bottom of the page after cancelling and adjust the Frequency settings as needed.

Viewing Job Data 

  1. From the workflow page, in the top right of the workflow, hover on the 3 dots menu.
  2. Click Log Messages.
  3. Click the Jobs tab.

Data regarding completed and in-progress Scheduled Jobs is listed on this page. 

Filtering Job Items 

Use filters to reduce the number of items fetched for processing. Items are then processed to the workflow and any workflow conditions are applied.

Saved Searches
Filter options include Saved Searches (sometimes called Views or Segments) from the Shopify interface, as well as general searches and advanced filters. Shopify's Saved Searches may also be combined with in-app filters. Simply select the Saved Search you'd like to use, then use any of the in-app search options to further narrow the results.

Advanced Search Filters
Bulk Operations include a basic search as well as specific filters, such as Title, SKU, etc. 

GraphQL Queries
To add a GraphQL query as a filter:

  1. Go to the Edit Schedule page for the workflow.
  2.  Click on Advanced.
  3. Click + Add Filter.
  4. Select Advanced Query.
  5. Enter the GraphQL query to be performed. More information about getting started with Graph queries can be found here.