Skip to main content

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

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
Example:
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
Example:
Enable or disable triggers without deleting them.Use Cases:
  • Temporarily pause automation
  • Seasonal adjustments
  • Testing and maintenance
  • Resource management
Example:
Permanently remove scheduled triggers.Important: Deleted triggers cannot be recovered. Consider disabling instead if you might need them again.Example:

Event Trigger Management

Discover which applications support event-based triggers.Information Provided:
  • App name and slug
  • App logo
  • Available integrations
  • Event capabilities
Example:
View available triggers for a specific application.Information Provided:
  • Trigger slug and name
  • Description and type
  • Configuration options
  • Payload schema
  • Setup instructions
Example:
Set up automation that responds to real-world events.Process:
  1. Choose application
  2. Select event type
  3. Configure trigger settings
  4. Define agent response
  5. Use template variables for reusability
Example:

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

Best Practice: Use descriptive variable names that make it obvious what value should be provided. {{primary_competitor}} is clearer than {{comp1}}.

Scheduled Trigger Examples

Using Cron Expressions

Cron expressions provide flexible scheduling:

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
Agent Response:

Calendar-Based Automation

Meeting Preparation

Trigger: Meeting scheduled with in titleConfiguration:
  • App: Google Calendar
  • Event: New event created
  • Filter: Title contains
Agent Response:

Task Management Automation

High-Priority Task Alert

Trigger: High-priority task assignedConfiguration:
  • App: Asana/Trello
  • Event: Task assigned to you
  • Filter: Priority = High
Agent Response:

Social Media Monitoring

Brand Mention Alert

Trigger: mentioned on TwitterConfiguration:
  • App: Twitter
  • Event: New mention
  • Filter: Contains
Agent Response:

Sales & CRM Automation

New Lead Processing

Trigger: New lead created in Configuration:
  • App: Salesforce/HubSpot
  • Event: New lead added
  • Filter: Source =
Agent Response:

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

Troubleshooting

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
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
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
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
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
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
Triggers & Automation transforms your Utari workers from on-demand assistants into autonomous agents that work continuously, monitoring conditions, responding to events, and executing tasks automatically—creating truly intelligent automation that adapts to your business needs.

Next Steps

Agent Configuration

Configure agents optimized for automated execution

Data Providers

Automate data collection with scheduled triggers

Integrations

Connect apps for event-based automation

Files and Folder

Organize automated workflow outputs