Learn how to Schedule
# Schedule
The schedule option allows you to run your bot on a schedule.
# Set the date
Set the date that you want the automation to start running on, click set the date to select the date. The start date must be in the future.
# Set the time
Set the time that you wish the automation to run, click change time to select the time. This will be the first time that the automation will run.
# Set the frequency
Set the frequency that you wish the automation to run. This will use the date and time that you have set to schedule your automations. Options may vary based on your subscription plan.
For example, if you have the time set to 16:00:00 and your frequency set to daily, your automation will run at 16:00:00 every day.
# Run on this computer
By default, your automation runs in the cloud, enabling run on this computer will run your automation on your computer. For this option to work correctly, your computer will need to be turned on and your browser open.
# Alternative schedules
While the scheduler offers a range of options in order to to allow your automations to run automatically, there may be instances where you may need to extend this functionality. These options are not available in the standard scheduler.
To get started, set up your automation as normal. Then, add a "Continue only if a condition is met" step to your automation, set to "JS == true" in the condition to check field. Insert one of the following Javascript snippets into the step:
# Run only on weekdays
Set the scheduler to run once a day, minimum. Schedule can be set to run multiple times per day.
return date => date.getDay() % 6 !== 0;
# Run only on weekends
Set the scheduler to run once a day, minimum. Schedule can be set to run multiple times per day.
return date => date.getDay() % 6 === 0;
# Run on last day of the month
Set the scheduler to run once a day, minimum. Schedule can be set to run multiple times per day.
const today = new Date();
const nextMonth = new Date (today.getFullYear(), today.getMonth() + 1, 1);
nextMonth.setDate(nextMonth.getDate() - 1);
return today.getDate() === nextMonth.getDate()