Scenario Schedules
Scenario schedules in Brightsy AI allow you to automate the execution of scenarios at predetermined intervals. This feature is particularly useful for recurring tasks such as data synchronization, regular notifications, or periodic processing jobs.
How Scheduling Works
Scenario schedules (or "Scheduled Triggers") work by associating a time-based trigger with an existing scenario. When you create a scheduled scenario, you're essentially telling the system: "Run this specific scenario automatically according to this schedule."
The scheduling system works as follows:
- Select a Scenario: First, you select an existing scenario that you want to run on a schedule
- Define the Schedule: Set up when and how often the scenario should execute
- Configure Variables: Optionally provide any input variables needed for the scenario execution
- Enable the Schedule: Activate the schedule to begin automated execution
Frequency Options
Brightsy AI offers several interval-based options for scheduling scenarios:
- Minutes: Run scenarios as frequently as every few minutes
- Hours: Schedule scenarios to run hourly or every few hours
- Days: Run scenarios daily or every specified number of days
- Weeks: Schedule scenarios on a weekly basis
- Months: Run scenarios monthly or at multi-month intervals
You define both the interval unit (minutes, hours, etc.) and the interval value (e.g., 15, 1, 7) to create your schedule.
Schedule Management Features
Brightsy AI provides several management features for scheduled scenarios:
- Start/End Dates: Define exactly when your schedule should begin and optionally when it should stop
- Status Control: Enable or disable schedules without deleting them
- Manual Execution: Trigger a scheduled scenario immediately without waiting for the next scheduled run
- Execution History: Review past runs of your scheduled scenarios to monitor performance and troubleshoot issues
Best Practices
Here are some recommendations for effectively using scheduled scenarios:
Choose Appropriate Intervals
Select a frequency that balances your needs with system resources. Very frequent schedules (e.g., every few minutes) should be used judiciously.
Set End Dates for Temporary Processes
If your automated process is temporary, always set an end date to avoid unnecessary executions.
Monitor Execution History
Regularly check your schedule's execution history to ensure it's running as expected and completing successfully.
Use Clear Naming Conventions
Name your scheduled scenarios descriptively to easily identify their purpose.
Include Sufficient Context in Description
Add detailed descriptions to your schedules to help workspace members understand their purpose.
Common Use Cases
Scheduled scenarios are ideal for:
- Daily data synchronization between systems
- Weekly report generation and distribution
- Monthly billing or invoice processing
- Hourly monitoring and alert notifications
- Periodic database maintenance or cleanup operations