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

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

Outputs

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

Use Cases

New User Onboarding
Event: user_signed_up
Agent behavior: Evaluate user profile, check account fit, send personalized onboarding guidance, assign CSM if enterprise tier
Trial Conversion Outreach
Event: trial_started
Agent behavior: Check activation milestones, search for prior engagement, send contextual onboarding email or Slack message
High-Value Purchase Follow-up
Event: purchase_completed
Agent behavior: Analyze purchase context, generate personalized thank-you email, notify account owner via Slack
Churn Risk Response
Event: subscription_canceled
Agent behavior: Gather cancellation context, check usage patterns via Find Event, create Intercom ticket for retention team

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