Integrations · Sentry
AI support agent that checks Sentry for the customer's errors
When a customer says “it's broken”, the proof is usually already in Sentry. Oncallly finds the errors that hit that customer, reads the stack trace, and follows it into your code to find the cause. Then it drafts the reply, or sends the bug to the engineer who owns that code.
What Oncallly checks in Sentry
- Errors that hit this customer. Unresolved issues from the last 14 days, matched by the customer's email: what the error is, where it happens, how often, and when it was first and last seen.
- Errors matching what they quoted. If the customer pastes an error message, Oncallly searches your unresolved issues for it.
- The stack trace. From the issue's latest event: the exception and message, the top stack frames (file, function and line), the environment and the release.
- Then your code. With GitHub connected, it opens the files in the stack trace to see why the error happens, not just that it does.
Tickets it helps answer
“The export button does nothing.”
“I keep getting “Something went wrong” when I save.”
“It worked yesterday, now it won't load.”
“TypeError: cannot read properties of undefined”
What it can and can't do in Sentry
It can
- Find the issues that affected the ticket's customer
- Search errors by the message a customer quotes
- Read stack traces to find where the problem is
It never
- Resolve, assign or change issues
- Return users' IP addresses or personal details from events
Connect Sentry
- Create an internal integration. In Sentry: Settings → Developer Settings → Custom Integrations → Create New Integration → Internal Integration.
- Give it read access to issues. Set Issue & Event to Read. Nothing else is needed.
- Paste its token into Oncallly. With your organization slug. Self-hosted Sentry works too: add your Sentry URL.
Common questions
Can an AI support agent read Sentry errors?
Yes. Oncallly connects to Sentry with an internal integration token that only has read access to issues and events. It finds the errors that hit the ticket's customer and reads their stack traces while it investigates.
Does it see my users' personal data in Sentry?
Oncallly uses the customer's email to find their errors, but user details from events, such as IP addresses, are never returned to it. That keeps one customer's data out of another customer's ticket.
Does it work with self-hosted Sentry?
Yes. Enter your Sentry URL when you connect it. Leave it empty for sentry.io.
What if we use PostHog for errors instead?
Oncallly reads PostHog's error tracking too, along with the customer's recent activity and session replays. You can connect either or both.
Read next
- IntegrationsAI support agent that reads your GitHub code to answer ticketsOncallly reads the repository you choose to answer how-it-works questions and find bugs, routes them to the code owner, and can open a pull request with a tested fix. It never merges.
- IntegrationsAI support agent that reads PostHog errors and session replaysOncallly reads the errors PostHog captured for the ticket's customer and what they did just before, with session replay links, to work out what went wrong. Read-only.
Let Oncallly check Sentry for you.
Start free, connect your helpdesk and tools, and test it on tickets your team already answered. Nothing is sent.