Schedules in Arigato Automation allow jobs to run at pre-determined times or intervals.
Accessing Scheduled Jobs
Schedules are associated with Workflows. When a Workflow's trigger is set to Run on a schedule the workflow will appear in the sidebar under Schedule workflows.
An Edit Schedule link also appears in the Workflow action menu.
Workflows with the Run on a schedule trigger enabled will include a Schedule tab at the top of the workflow.
Accessing Job Data
Data regarding completed and in-progress schedules is located under the Logs tab, then under Jobs.
Creating Scheduled Jobs
To create a Scheduled Job, start by creating a workflow with a supported workflow type. Not all Workflow types can be scheduled. Currently supported workflow types are: Product, Variant, Order, Draft Order, Customer, Collection, Dispute and Custom.
Schedules begin with filters and item selection. Individual items or filtered lists of items may be selected for processing. Filter options include Saved Searches from the Shopify interface, as well as general searches and advanced filters.
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.
Schedules can process both existing items as well as new items. For example, a Product workflow with a Scheduled Job might run daily and process nothing today, but 10 new items that match the search criteria tomorrow, and 100 that match the next day. Use the Select All checkbox then "include all" to use this feature.
Items fetched for processing in Schedules impact available Daily Quota. Quota is simply the number of items that can be retrieved for processing.
Jobs in progress will lower available quota and will lock the quota they need in order to finish the Job. If a Job cannot be completed due to insufficient quota, the Job stops and the locked quota is returned to the available pool. Additionally, any Job that cannot complete due to insufficient quota will not run any items at all.
Scheduled Jobs can be run on a variety of schedules.
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 any hour. For example, at 11 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.
The timezone setting can be adjusted to run against any timezone you wish. By default, it will use your shop's timezone (set in your Shopify store's settings).
Variables in Schedules
Schedules may take advantage of the Variables system.
When a Variable is used on the Workflow, and the Variable is not overridden during the Schedule setup, the Schedule will always use the Variable value stored on the Workflow itself.
In this case, any changes made to Variables on the Workflow are reflected when the Schedule runs.
Default Variable setup in a Schedule
Variables that have been intentionally overridden during the Schedule setup process will always use the overridden value.
In this case, any changes made to Variables on the Workflow are not reflected when the Schedule runs.
Overridden Variable setup in a Schedule
Once a schedule is confirmed, the Scheduled Jobs tool will confirm the settings and show when the next Schedule is set to run.