AI agents · Types
What is an event-triggered agent?
The short answer
It starts when something happens in a system: an email arrives, a file lands, a record changes, an alert fires.
It is one of the 3 forms of workflow agent, with the scheduled agent and the API agent.
| What starts it | Something happening in a system |
|---|---|
| Who decides the next step | The builder sets the job. The agent handles each event |
When should you use an event-triggered agent?
Use it when speed matters and the trigger is clear.
When should you not?
Not when the event carries too little to act on, or fires thousands of times an hour for work that could wait for a batch.
What does it need to run safely?
It needs protection against acting twice on the same event, a limit on runs per hour, a queue for the cases it cannot finish, and a rule for which actions wait for a person.
An example
When a claim form arrives, extract the details, check them against the policy and open a case with a recommendation.
What else is it called?
Event-driven agent, ambient agent, background agent, triggered workflow.
How do you build one on Katonic?
- New agent, Automate a process. Start blank and fill Identity.
- Trigger. Choose Webhook, "Run when an HTTP event arrives", and give it a Path. The other system posts to that address when the event happens.
- Or choose Event, "Run on a platform event (queue / topic)".
- Build Steps and Output as in tutorial 3.
- Branches & approvals. For any step that changes something, choose Add approval and name the reviewers.
- Deploy, turn on the API channel so the trigger address is shown, then Publish.
Questions people ask
What starts an event-triggered agent?
Something happening in a system.
Who decides its next step?
The builder sets the job. The agent handles each event.
What is a workflow agent?
A workflow agent works with nobody asking. A clock, an event or another system starts it, and it does a defined job in the background. Google describes these as background agents: little or no human interaction, and generally driven by events.