How Find Event works
Find Event lets your agent query existing event data during a run. This is useful when the trigger event alone does not contain enough context to decide what action to take. The agent can look up any named event for the current user, apply filter conditions to narrow results, and choose whether to return the newest or oldest match. The returned event object — including its custom properties — becomes part of the agent’s working context for downstream tool calls and decisions.Configuration
Outputs
The found event data that matches the search criteria.
Use Cases
Behavior AnalysisBest Practices
Efficient Queries- Use specific event names rather than broad searches to keep lookups fast.
- Apply query conditions to filter irrelevant matches before they reach the agent.
- Prefer
newestselection when recent behavior matters most; useoldestfor first-occurrence analysis.
- Combine event data with user properties for richer decision-making.
- Reference custom properties from the returned event in downstream tool prompts.
- Chain Find Event with other tools (e.g. Smart Message, Set Custom Property) so the agent acts on real activity data.
- Ensure event names follow a consistent naming convention so the agent can reliably locate them.
- Keep custom property schemas stable across event versions to avoid unexpected nulls.
- Use query conditions as guardrails to prevent the agent from acting on stale or irrelevant events.