Bulk Operation Workflows
Bulk Operations are workflows that are manually started from within the app and can process an unlimited number of items. The app currently supports Bulk Operations for Product, Variant, Order, Draft Order, Customer, Collection, Dispute and Custom workflows.
The Workflow Variables system works with Bulk Operations workflows to collect dynamic data as part of starting a Bulk Operation workflow. See Workflow Variables (linked below) to learn more about this system.
Creating a Bulk Operation Workflow
- From within the app, click on Workflows in the left sidebar.
- Click Create Workflow in the top right.
- Choose Workflow Type of Bulk Operation.
- Choose an Object Type, such as Products and click Create Workflow.
- Configure your workflow and turn it on.
Starting a Bulk Operation
- From within the app, click on Workflows in the left sidebar.
- Click the title of the workflow to run.
- From the workflow page, in the top right of the workflow, click the checkbox list icon in the triggers area of the workflow next to "When the [X] workflow is Run in A Bulk Operation".
- On the Run Bulk Operation 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.
- Scroll to the bottom of the list and click Continue.
- Confirm selections and click Run Workflow Now.
Stopping a Bulk Operation
- From the workflow page, in the top right of the workflow, hover on the 3 dots menu.
- Click Run Bulk Operation.
- Click Cancel Job.
Viewing Job Data
- From the workflow page, in the top right of the workflow, hover on the 3 dots menu.
- Click Log Messages.
- Click the Jobs tab.
Data regarding completed and in-progress Bulk Operations 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:
- Go to the Run Bulk Operation page for the workflow.
- Click on Advanced.
- Click + Add Filter
- Select Advanced Query.
- Enter the GraphQL query to be performed. More information about getting started with Graph queries can be found here.