Automations allow you to schedule flows and suites to run automatically based on triggers like new builds, time intervals, or specific schedules. This ensures continuous testing without manual work.Documentation Index
Fetch the complete documentation index at: https://docs.autosana.ai/llms.txt
Use this file to discover all available pages before exploring further.
What is an Automation?
An Automation defines when and how flows or suites should run automatically. Automations can be triggered by:- CI/CD Build Uploads: Run flows whenever a new app build is uploaded
- Daily Schedule: Run flows at a specific time every day
- Weekly Schedule: Run flows on a specific day and time each week
- Intervals: Run flows at a custom interval (as frequent as every minute)
Creating an Automation
Step 1: Navigate to Automations
Click on Automations in the sidebar.Step 2: Click “Create Automation”
Click the Create Automation button in the top right.Step 3: Name Your Automation
Enter a descriptive name (e.g., “Nightly Regression Flows”, “Smoke Flows on Build”)Step 4: Select an App
Choose which app the flows will run on.Step 5: Select Targets
Choose what to run: Option 1: Select Suites (Recommended)- Check one or more suites to run
- Suites automatically stay up-to-date when flows are added or removed
- Best for organized, maintainable automations
- Check specific flows to run
- Creates a fixed list of flows
- Best for one-off or specific flow combinations
Step 6: Configure Schedule
Choose when and how often the automation runs: CI/CD Build Upload - Runs when new builds are uploaded via CI/CD- Best for smoke flows on every build
- No additional configuration needed
- Set time (e.g., 2:00 AM) and timezone (ET/CT/PT)
- Best for nightly regression suites
- Set day, time, and timezone
- Best for comprehensive regression before releases
- Choose from presets (5 min, 15 min, 30 min, 1 hr, etc.) or set a custom value
- Start immediately or at a specific time
- Best for continuous monitoring
- Enable to skip runs if no new build was uploaded since the last run
- Saves resources on unchanged builds
- Useful for daily/weekly automations
Step 7: Review and Create
Review the summary at the bottom of the dialog:“Autosana will run [flows/suites] on [app name] [trigger schedule]”Click Create Schedule to activate your automation.
Managing Automations
Running an Automation Manually
To trigger an automation immediately:- Click the play icon (▶️) on the automation card
- Confirm you want to run it
- View results in the Runs page
Enabling/Disabling an Automation
Toggle the switch on the automation card:- Enabled (blue): Automation will run on schedule
- Disabled (gray): Automation is paused
Automation Triggers in Detail
CI/CD Trigger
How it works:- Monitors for new app or build uploads via CI/CD API
- Automatically starts when a new build is detected
- Runs immediately upon upload completion
- Post-deployment validation
- Continuous integration pipelines
- Automated smoke flows
Daily Schedule
How it works:- Runs once every 24 hours at the specified time
- Uses your selected timezone (ET, CT, PT)
- Calculates next run based on current time
- Nightly regression suites
- Daily health checks
- Morning or evening validation
Weekly Schedule
How it works:- Runs once per week on the specified day and time
- Uses your selected timezone
- Ideal for less frequent, comprehensive suites
- Weekly regression before releases
- Weekend validation
- Comprehensive flow suites
Interval Schedule
How it works:- Repeats at a custom interval (minimum 1 minute, maximum 1 week)
- Can start immediately or at a specific time
- Continues running until disabled
- High-frequency monitoring (every 1-15 minutes)
- Continuous validation (every 1-2 hours)
- Scheduled checks (every 12 hours)