Agents
Inputs: turn your app's errors into tickets
Give an agent a URL where your app, website or error tracker sends its errors: they are grouped without using credits and the agent files tickets on its team's board.
spools webhook sentry errors
Before you start
Section titled “Before you start”Select Agents in the sidebar. Inputs create tickets on the agent’s team board, so the team needs its board (see Board and roadmap). Any agent can have inputs; the Incident triage role template is made for this job.
If the chat header shows Automations instead of Inputs, your inputs are there, as When something arrives automations with the Errors → tickets template: see Automations.
Create an input
Section titled “Create an input”- Open the agent’s chat and select Inputs in its header.
- Select New input and give it a Name, for example “Web errors”.
- Choose the Minimum level. With Error, the default, info and warnings are counted and dropped.
- Select Create input, then Copy URL.
The URL is the input’s only key: keep it private. If it leaks, select Regenerate URL: the old one stops working at once. Until the first event arrives, the input and the agent’s chat say Waiting for the first event.
Connect your app or error tracker
Section titled “Connect your app or error tracker”Paste the URL where your app or your error tracker sends webhooks:
- Sentry: add it as the webhook of an alert rule.
- Vercel: add it as a log drain (JSON).
- Your own backend: send a
POSTwith a JSON event. How to connect it, under the URL, shows a ready-to-paste example withlevel,title,message,urlandrelease.
Select Send test event to check it: in a few seconds the agent creates a ticket marked [Test], which you can delete.
From events to tickets
Section titled “From events to tickets”Events of the same error are grouped without the model, so a repeated error costs nothing: its ticket shows how many times it happened (for example “×152”). The agent wakes up in batches, about every 2 minutes, only for:
- new problems;
- errors whose count grew tenfold since it last looked;
- problems that come back after their ticket was moved to Done (it reopens the ticket).
Before creating a ticket it looks for an open one about the same problem. Show grouped events lists each group with its ticket; Ignore stops a group from waking the agent, and Pause stops the whole input.
Event text comes from outside, so in those runs the agent can only use its board, search the web and read its apps: no computer, no writing in apps and no memories.
Limits and credits
Section titled “Limits and credits”Receiving and grouping events is free. Each run of the agent uses credits like any other answer. Each input has a cap of Runs a day, and your plan a cap of events a month (Free: 1 input, 1,000 events and 12 runs a day). When a cap is reached, events wait or are counted and dropped, and the input says so.
