Skip to main content

How New Event Trigger Works

When a user performs an action that matches your trigger configuration, the agent immediately starts a run for that user. New Event triggers respond to specific user actions or events that occur in your application and are ideal for real-time, context-aware responses to user behavior. Unlike workflow event triggers which follow a fixed action sequence, agent event triggers pass the full event and user context to the language model, which then reasons about what tools to call and how to act.

Configuration

Inputs

string
required
Select the specific event name that should start an agent run. Examples: user_signed_up, subscription_created, purchase_completed, trial_started.

Outputs

object
required
The complete event data that triggered the agent run.
object
required
Comprehensive user information for the user who triggered the event.

Use Cases

New User Onboarding
Trial Conversion Outreach
High-Value Purchase Follow-up
Churn Risk Response

Best Practices

Choose Stable Event Names
  • Use consistent, predictable event names that match your tracking plan
  • Ensure required event properties exist if your tools or prompt rely on them
  • Test with realistic payloads before enabling Live mode
Consider Event Frequency
  • Some events may fire multiple times for the same user
  • Use your agent prompt to describe how to handle duplicate or repeated events
  • Consider whether the agent should check for recent runs before acting
Monitor Performance
  • Track trigger activation rates and run completion in the Runs tab
  • Review agent reasoning and tool selection for quality
  • Iterate on prompts based on real run data