Triggers: wake your agent when something changes
Roma tells your agent the moment a list changes, instead of it checking.
A trigger wakes your agent the moment something on your lists changes, instead of the agent finding out on its next scheduled run. It names a list and a change to listen for, and where to send it. Each time it fires, your agent gets an event with the item as it is now and what changed, within a second. Triggers live on the Automations page, beside your automations, and your agent, the operator or a script of yours makes one.
What a trigger listens for
A trigger names which change, on which list:
A property changes. Then the property and, if you like, what it becomes. "Status becomes In progress on Releases", "Stage becomes ready to go on Properties", "Due date changes on Tasks". Any value, or one value.
An item is added.
An item is deleted.
Anything about an item changes.
A list is always named, so an agent is never flooded with every change in your account. Sam keeps a Releases list with a Stage property. His trigger on Stage becoming "ready to go" fires once when that happens and stays quiet for every other edit on the list.
The developer side reaches a few more events, an item moved or restored, a list created, changed or deleted, an automation finishing, and your reply to the agent in a task chat. The whole list is on /developers/events.
Where the event goes
Two ways, settled when the trigger is made:
Agent polls. Nothing to set up on Roma's side but an API key for your agent. Each change becomes an event your agent asks for whenever it likes. Roma holds the request open up to 25 seconds and answers the moment an event waits, and the events queue on Roma's side until fetched, so a laptop that was asleep picks up where it left off. This is the way for Claude Code or Codex on your Mac, or a script.
Webhook. An address on the internet that accepts a request: your own server, or a Claude Routine's fire URL with its bearer token. Roma sends a signed request within a second of the change. If the address does not answer, Roma tries again after 1 minute, 1 hour and 6 hours, then the trigger pauses itself as Failing. Fix the address with Edit, or press Resume to try again.
ChatGPT has a third way. On Plus and up, a Work chat on chatgpt.com can subscribe to Roma's events by itself, with Roma added on the web Plugins page. Ask it to subscribe, and the subscription shows on your Automations page like any other trigger. Connect ChatGPT and Codex to Roma.
Make a trigger
New automation offers On demand and On a schedule and no third answer. A trigger is made for an agent, by the agent or on its behalf, and shows on the Automations page once it exists. Four doors:
Your agent makes its own. Tell the agent you connected, in its chat: "Wake up when a task on Releases reaches ready to go." It has one tool that makes, changes or removes a trigger, and names the change, the list and the property to listen for, and the way it wants to be reached, a poll with its key or an address of its own. The agent asks you before it runs, as with any change.
Ask the operator. In your Roma chat: "Wake my Claude Code when a task on Releases moves to In progress." The operator shows a card with the trigger before it is made, and your yes makes it.
Over the REST API. A script makes one with your API key: a POST with the events, a filter and the transport. The answer carries the trigger's id and, for a webhook, its signing secret, this once. API keys and signing in from an agent has the key, and /developers the request.
An agent of yours gets one by itself. An agent connected under Settings → Agents has its own trigger made for it as part of its setup, so you never make one for a delegation.
Twenty triggers per account. For a poll, the trigger's page lists what your agent needs: an API key from Settings → Connections, the address to poll with that key, and a loop that polls and acts on each event. The loop, with examples for Claude Code, Codex and a script, is on /developers/events. A webhook's signing secret is shown once, when the trigger is made, and your server uses it to check that each request came from Roma.
The trigger's page
The page is the twin of an automation's. The pill at the left of the bar reads Active, Paused or Failing, and opens Pause or Resume. Edit opens two cards, when it runs with the change and the list, and what it does with the transport settled. The menu at the right has Delete automation, since to the page every row is an automation.
Two cards say what it does: When it runs, as the sentence its picks make, and What it does, the address or the poll with what the agent needs under it. Under them, Previous runs lists every delivery: when it rang, one line saying what happened ("Ship the release moved from To do to In progress"), and how it went, delivered with the answer's code, failed with a retry pending, waiting for the agent's poll, or gave up. Open a delivery to see the data the agent received and to Resend it. Send a test sends a real sample event through the trigger's own transport, so you can see the loop work before anything changes on the list.
On the Automations page, triggers sit in the same list as your automations, each row with its state and how its last delivery went. What an automation is explains the rest of that page.
When you delegate a task
Handing a task to one of your agents in its Delegate field fires one event of its own, the delegation, the one signal that hands an agent work. It carries the task as it is, the agent it went to and the property that changed. An agent connected under Settings → Agents has its own trigger for it, which hears only the tasks delegated to it and your replies to its posts. That is how picking the agent in Delegate wakes it. Your agents covers the hand-off.
What the agent receives
Every event carries four things. The item as it is now, with its title, list, status, properties and body, so the agent can usually act without a second read. What changed, with the earlier value and the new one for each field. Who made the change: you, the operator or an agent. And one sentence describing it, the item quoted and the person named. The agent then reaches Roma back through the connection it already has, reads what it needs, does the work in the item's body and posts in the item's chat if something needs you. What an agent can and cannot do in your account has those rules.
Replying to an agent in a task chat
When an agent that a trigger wakes posts in a task's chat, its post offers Reply. Your reply reaches that agent as an event and does not go to the operator. A message typed without Reply goes to the operator as usual. An agent that reads the chat on its own next run can say so when it posts and gets the same Reply. Otherwise its post is a note with no Reply on it. The conversation on a task or note explains that chat.
Questions people ask
Does a trigger run my agent for me?
No. A trigger tells your agent that something happened and hands it the item. The agent has to be listening, with a loop that polls or an address that accepts the request, and does its work through its own Roma connection. A Claude Routine is the one case where the webhook starts the agent itself, in the cloud, with nothing of yours running anywhere.
What if my laptop was asleep when the change happened?
With Agent polls, the events wait on Roma's side until your agent asks for them. When the laptop wakes and the loop polls again, it gets everything since its last poll, in order, and nothing is lost.
Why did my trigger stop?
A webhook whose address did not answer is retried after 1 minute, 1 hour and 6 hours. After that the trigger pauses itself and reads Failing, and the delivery shows what the address answered. Fix the address with Edit, which brings it back, or press Resume to try the same address again. A trigger that reads Paused is one you paused yourself.
Can I see what was sent?
Yes. Every delivery is listed under Previous runs on the trigger's page. Open one to read the data exactly as the agent received it, the item and what changed, and press Resend to send it again.