Overview
Triggers & Automation enables your Utari workers to execute automatically based on schedules or real-world events. This powerful capability transforms agents from on-demand assistants into autonomous workers that monitor, respond, and act without manual intervention—creating sophisticated automation workflows that run 24/7.Trigger Types
Scheduled Triggers
Run agents automatically at specified times using flexible cron expressions
Event Triggers
Execute agents in response to real-world events from connected applications
Triggers can be combined with template variables to create reusable automation workflows that adapt to different contexts and use cases.
Trigger Capabilities
Scheduled Trigger Management
Create Scheduled Trigger
Create Scheduled Trigger
Set up automatic execution at specific times using cron expressions.Features:
- Flexible scheduling with cron syntax
- Template variables for reusable prompts
- Custom execution instructions
- Multiple triggers per agent
Get Scheduled Triggers
Get Scheduled Triggers
View all scheduled triggers for the current agent.Information Shown:
- Trigger schedule (cron expression)
- Execution instructions
- Enabled/disabled status
- Last run time
- Next scheduled run
Toggle Scheduled Trigger
Toggle Scheduled Trigger
Enable or disable triggers without deleting them.Use Cases:
- Temporarily pause automation
- Seasonal adjustments
- Testing and maintenance
- Resource management
Delete Scheduled Trigger
Delete Scheduled Trigger
Permanently remove scheduled triggers.Important: Deleted triggers cannot be recovered. Consider disabling instead if you might need them again.Example:
Event Trigger Management
List Event Trigger Apps
List Event Trigger Apps
Discover which applications support event-based triggers.Information Provided:
- App name and slug
- App logo
- Available integrations
- Event capabilities
List App Event Triggers
List App Event Triggers
View available triggers for a specific application.Information Provided:
- Trigger slug and name
- Description and type
- Configuration options
- Payload schema
- Setup instructions
Create Event Trigger
Create Event Trigger
Set up automation that responds to real-world events.Process:
- Choose application
- Select event type
- Configure trigger settings
- Define agent response
- Use template variables for reusability
Template Variables
Template variables make triggers reusable across different contexts:Using Template Variables
1
Define Variables in Prompts
Use
{{variable_name}} syntax in trigger instructions:2
Users Provide Values
When installing or using the trigger, users provide their specific values:
3
Dynamic Execution
The trigger executes with user-specific context:
Common Template Variables
Scheduled Trigger Examples
Using Cron Expressions
Cron expressions provide flexible scheduling:- Common Schedules
- Advanced Schedules
- Cron Format
Daily Automation Examples
Weekly & Monthly Automation
Event Trigger Examples
Email-Based Automation
Client Email Response
Trigger: New email from Configuration:
- App: Gmail
- Event: New email received
- Filter: From domain matches
Calendar-Based Automation
Meeting Preparation
Trigger: Meeting scheduled with in titleConfiguration:
- App: Google Calendar
- Event: New event created
- Filter: Title contains
Task Management Automation
High-Priority Task Alert
Trigger: High-priority task assignedConfiguration:
- App: Asana/Trello
- Event: Task assigned to you
- Filter: Priority = High
Social Media Monitoring
Brand Mention Alert
Trigger: mentioned on TwitterConfiguration:
- App: Twitter
- Event: New mention
- Filter: Contains
Sales & CRM Automation
New Lead Processing
Trigger: New lead created in Configuration:
- App: Salesforce/HubSpot
- Event: New lead added
- Filter: Source =
Complex Automation Workflows
Multi-Stage Triggered Workflow
1
Stage 1: Morning Data Collection
Scheduled Trigger: Daily at 6 AM
2
Stage 2: Analysis & Processing
Scheduled Trigger: Daily at 7 AM
3
Stage 3: Distribution
Scheduled Trigger: Daily at 8 AM
4
Stage 4: Event Response
Event Trigger: Significant market movement
Adaptive Automation
Create triggers that adapt based on context:Combining Triggers with Other Tools
+ Agent Configuration
Create triggers that configure other agents dynamically based on events
+ Data Providers
Schedule regular data collection from LinkedIn, Yahoo Finance, Amazon, etc.
+ Web Search
Automatically research topics on schedule or when events occur
+ Files and Folder
Organize triggered outputs in structured, dated folders
+ Document Creator
Generate reports automatically on schedule
+ Integrations
Respond to events from connected apps like Slack, Gmail, Calendar
Best Practices
Start Simple
Begin with basic scheduled triggers before creating complex event-based automation
Use Template Variables
Make triggers reusable with instead of hardcoding values
Test Thoroughly
Test triggers manually before setting to automatic execution
Monitor Initially
Watch first few executions closely to catch issues early
Disable vs. Delete
Disable triggers temporarily rather than deleting if you might need them again
Document Triggers
Keep clear documentation of what each trigger does and why it exists
Batch When Possible
Group related checks into single triggers rather than many separate ones
Handle Failures
Include error handling and fallback instructions in trigger prompts
Managing Triggers
Viewing All Triggers
Enabling and Disabling
Updating Triggers
Organizing Triggers
- By Purpose
- By Frequency
- By Agent
Troubleshooting
Trigger not executing as scheduled
Trigger not executing as scheduled
Check:
- Trigger is enabled (not disabled)
- Cron expression is correct
- Timezone settings are accurate
- Agent has necessary tools enabled
- No conflicting triggers
- View trigger execution history for errors
Event trigger not firing
Event trigger not firing
Verify:
- Event source app is properly connected
- Event filter configuration is correct
- App permissions allow event monitoring
- Event type is supported
- Profile ID and trigger config are valid
- Test with manual event if possible
Trigger executes but produces errors
Trigger executes but produces errors
Review:
- Agent has all required tools and integrations
- Instructions are clear and executable
- External services are accessible
- Template variables have values
- Check execution logs for specific errors
- Test instructions manually first
Template variables not substituting
Template variables not substituting
Ensure:
- Using correct syntax
- Variable names match exactly (case-sensitive)
- Values provided during trigger setup
- No typos in variable names
- Variables used in supported fields
Too many trigger executions
Too many trigger executions
Optimize:
- Increase time between scheduled runs
- Combine multiple triggers into one
- Add filtering to event triggers
- Use batch processing instead of real-time
- Disable redundant triggers
Triggers running at wrong time
Triggers running at wrong time
Check:
- Cron expression matches intended schedule
- Timezone is set correctly
- Daylight saving time considerations
- Server time vs. local time
- Use online cron calculator to verify
Summary
You’ve successfully learned how to:Create scheduled triggers with flexible cron expressions
Set up event-based triggers that respond to real-world changes
Use template variables to create reusable automation
Manage, enable, disable, and delete triggers
Build complex multi-stage automation workflows
Apply best practices for reliable automation
Troubleshoot common trigger issues
Combine triggers with other Utari tools for powerful workflows