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:
    Create a scheduled trigger to run daily at 9 AM:
    - Monitor {{company_name}} brand mentions
    - Analyze sentiment
    - Generate daily report
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:
    Show me all scheduled triggers for this agent
Enable or disable triggers without deleting them.Use Cases:
  • Temporarily pause automation
  • Seasonal adjustments
  • Testing and maintenance
  • Resource management
Example:
    Disable the weekend reporting trigger
    Pause all triggers during holiday period
Permanently remove scheduled triggers.Important: Deleted triggers cannot be recovered. Consider disabling instead if you might need them again.Example:
    Delete the outdated quarterly report trigger

Event Trigger Management

Discover which applications support event-based triggers.Information Provided:
  • App name and slug
  • App logo
  • Available integrations
  • Event capabilities
Example:
    Show me all apps that support event triggers
    What applications can trigger automation?
View available triggers for a specific application.Information Provided:
  • Trigger slug and name
  • Description and type
  • Configuration options
  • Payload schema
  • Setup instructions
Example:
    What event triggers are available for Slack?
    Show me Gmail event trigger options
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:
    Create a trigger that:
    - Monitors new emails in Gmail
    - From {{client_name}}
    - Automatically drafts response
    - Saves to drafts for review

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:
    Monitor {{company_name}} brand mentions on social media
    Track {{competitor_name}} product launches
    Alert on {{keyword}} discussions in {{industry}}
2

Users Provide Values

When installing or using the trigger, users provide their specific values:
    company_name: "Acme Corp"
    competitor_name: "TechRival Inc"
    keyword: "artificial intelligence"
    industry: "healthcare"
3

Dynamic Execution

The trigger executes with user-specific context:
    Result: Monitor Acme Corp brand mentions on social media

Common Template Variables

{{company_name}} - Your company name
{{brand_name}} - Brand being monitored
{{competitor_name}} - Competitor to track
{{product_name}} - Product being analyzed
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:
    Every minute:
    * * * * *
    
    Every 5 minutes:
    */5 * * * *
    
    Every hour:
    0 * * * *
    
    Daily at 9 AM:
    0 9 * * *
    
    Daily at 6 PM:
    0 18 * * *
    
    Every weekday at 8 AM:
    0 8 * * 1-5
    
    Every Monday at 9 AM:
    0 9 * * 1
    
    First day of month at midnight:
    0 0 1 * *
    
    Every Sunday at 10 AM:
    0 10 * * 0

Daily Automation Examples

Schedule: 0 7 * * 1-5 (Weekdays at 7 AM)

Trigger Instructions:
Search for overnight news about {{industry}}
Summarize top 5 developments
Check {{company_name}} stock performance
Compile into morning briefing document
Save to "Daily Briefs/{{date}}"
Send via Slack to #team-updates

Weekly & Monthly Automation

Schedule: 0 9 * * 1 (Mondays at 9 AM)

Trigger Instructions:
Review last week's completed tasks from {{project_tool}}
Identify blockers and risks
Compile team accomplishments
Generate weekly status report
Post to {{team_channel}}
Schedule follow-ups for open items

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:
  Read email content and context
  Draft personalized response based on:
  - Email subject and content
  - Previous conversation history
  - {{client_name}} relationship notes
  Save draft to Gmail for review
  Add task to follow-up list if needed

Calendar-Based Automation

Meeting Preparation

Trigger: Meeting scheduled with in titleConfiguration:
  • App: Google Calendar
  • Event: New event created
  • Filter: Title contains
Agent Response:
  Extract meeting attendees and topic
  Research attendee backgrounds on LinkedIn
  Gather relevant {{company_name}} materials
  Create meeting prep document with:
  - Attendee profiles
  - Discussion topics
  - Company background
  - Previous interactions
  Save to "Meeting Prep/{{date}}-{{title}}"

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:
  Extract task details and deadline
  Assess current workload
  Check for conflicting priorities
  Generate prioritization recommendation
  Send Slack notification with context
  Add to daily planning document

Social Media Monitoring

Brand Mention Alert

Trigger: mentioned on TwitterConfiguration:
  • App: Twitter
  • Event: New mention
  • Filter: Contains
Agent Response:
  Capture tweet and context
  Analyze sentiment (positive/negative/neutral)
  Assess urgency and required response
  Draft response if needed
  Log to brand monitoring spreadsheet
  Alert team if negative or high-engagement

Sales & CRM Automation

New Lead Processing

Trigger: New lead created in Configuration:
  • App: Salesforce/HubSpot
  • Event: New lead added
  • Filter: Source =
Agent Response:
  Extract lead information
  Research company on LinkedIn and web
  Enrich lead data with:
  - Company size and industry
  - Decision makers
  - Recent news
  - Competitive intel
  Update CRM with enriched data
  Generate personalized outreach template
  Assign to appropriate sales rep

Complex Automation Workflows

Multi-Stage Triggered Workflow

1

Stage 1: Morning Data Collection

Scheduled Trigger: Daily at 6 AM
    Collect overnight data from:
    - Yahoo Finance ({{stock_symbols}})
    - Twitter trends in {{industry}}
    - News about {{company_name}} and {{competitors}}
    Save raw data to "Data/Daily/{{date}}/"
2

Stage 2: Analysis & Processing

Scheduled Trigger: Daily at 7 AM
    Analyze collected data:
    - Calculate market sentiment
    - Identify emerging trends
    - Flag unusual patterns
    Generate analysis report
    Save to "Analysis/Daily/{{date}}.pdf"
3

Stage 3: Distribution

Scheduled Trigger: Daily at 8 AM
    Read analysis report
    Create executive summary
    Generate visualizations
    Send via email to {{distribution_list}}
    Post summary to {{team_channel}}
    Archive in {{document_storage}}
4

Stage 4: Event Response

Event Trigger: Significant market movement
    If {{stock_symbol}} moves >5%:
    - Generate immediate alert
    - Analyze cause and context
    - Send urgent notification
    - Create deep-dive report

Adaptive Automation

Create triggers that adapt based on context:
Scheduled Trigger: Every 4 hours

Instructions:
Check current day and time
If weekday during business hours:
  - Monitor {{business_channels}}
  - Track urgent items
  - Send notifications for high-priority
If weekend or off-hours:
  - Monitor critical alerts only
  - Batch non-urgent items
  - Send summary once daily

Adjust monitoring intensity based on:
- {{season}} (busy vs. slow periods)
- {{event_status}} (during campaigns vs. normal)
- Recent alert volume (scale up if busy)

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

Show me all scheduled triggers for this agent

List all active automation for my Marketing Agent

What triggers are configured for the Research Assistant?

Enabling and Disabling

Disable the weekend reporting trigger temporarily

Pause all triggers during the holiday period

Re-enable the daily monitoring trigger

Turn off event triggers while we're in maintenance mode

Updating Triggers

Update the daily brief trigger to:
- Run at 8 AM instead of 7 AM
- Add {{new_competitor}} to monitoring list
- Include pricing analysis

Modify the email response trigger to:
- Only respond to priority clients
- Use updated response template
- CC {{manager_email}} on all responses

Organizing Triggers

    Monitoring Triggers:
    - Brand mention monitoring
    - Competitor tracking
    - Market surveillance
    
    Reporting Triggers:
    - Daily briefs
    - Weekly summaries
    - Monthly analytics
    
    Response Triggers:
    - Email auto-response
    - Social media engagement
    - Lead processing

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