Skip to content
Integration

Sentry integrations and automation

Say what should happen in Sentry, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

Sentry on Whenever

About Sentry

Integrate Sentry to manage your error tracking and monitoring.

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Through its MCP server, where its tools and permissions fit the job.

Plan your Sentry workflow

Sentry groups individual error events into issues, and the issue is the unit people actually act on: it has a status (unresolved, resolved, ignored), an assignee, a first-seen and last-seen time, a count of events and users affected, and the project and release it belongs to. Automations that work well deal in issues, not raw events. A noisy issue may produce thousands of events, and alerting on each one is how a team learns to mute a channel.

There are two ways in. The REST API, authenticated with an auth token or an internal integration’s token, lists and updates issues, reads events, manages releases and deploys, and queries projects and teams; it applies per-endpoint rate limits and reports them in response headers. Sentry also runs a hosted MCP server, which gives an assistant tools to search issues, read stack traces and look up projects with the permissions of the connected user. Use the API for fixed, repeatable reports and updates; the MCP connection suits workflows where an AI step investigates an issue.

For real-time triggers, an internal integration can subscribe to webhooks for issue events (created, resolved, assigned, ignored), errors, comments and metric or issue alert rules. The issue alert route is usually the best filter: let Sentry decide when an issue is new or regressed for a given environment, then have the webhook start the workflow. Webhook requests are signed with the integration’s client secret, which the workflow should check.

Releases tie errors to code. Creating a release and a deploy for each production rollout lets Sentry mark issues as regressed or resolved in a release, and lets a workflow compare new issues before and after a deploy. Token scopes matter here: event:read and project:read are enough for reports, while resolving issues needs event:write and creating releases needs project:releases.

Sentry workflow examples

Starter briefs to set up with your accounts, not finished workflows.

New production issues to an on-call channel

Triggered by a Sentry issue alert webhook so Sentry handles deduplication.

Build this workflow

Weekly top-issues report per project

A fixed REST API report, sorted by frequency.

Build this workflow

Open a GitHub issue for a regression

Uses an optional AI step to summarise the stack trace for the ticket.

Build this workflow

Related apps for your workflows

All integrations

Sentry FAQs

What token scopes does a Sentry automation need?

Read-only reports need event:read and project:read. Resolving or assigning issues needs event:write, and creating releases needs project:releases. Use an internal integration token rather than a personal one where possible.

How do I avoid one Slack message per Sentry event?

Trigger on issue alerts or the issue created webhook rather than individual events, and let Sentry’s alert rules decide what counts as new or regressed.

What are Sentry’s API rate limits?

Limits are applied per endpoint and per organisation, and each response includes rate-limit headers showing the remaining allowance and reset time.

When should I use the Sentry MCP server instead of the API?

The MCP server is suited to an AI step that needs to search issues and read stack traces with the connected user’s access. Fixed reports and updates are more predictable through the REST API.

How does a workflow know a Sentry webhook is genuine?

Sentry signs each integration webhook request and sends the signature in the Sentry-Hook-Signature header, computed with the integration’s client secret. Recompute it on the request body and reject requests that do not match.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.