Integrations / Incidents & monitoring

Sentry

Look up and search issues and their latest events, resolve, assign or reprioritise issues, and trigger workflows from Sentry issue, alert, error and comment events.

7 tools 5 trigger events

Tools

sentry.list_issues

Search the organization's issues with Sentry's search syntax, newest activity first by default. Issue IDs are numeric, e.g. 1234567890.

queryprojectenvironmentstatsPeriodsortlimit

sentry.get_issue

Get an issue by its numeric ID, e.g. 1234567890.

issue_id*

sentry.get_latest_event

Get the most recent event of an issue, with its exception and top stack frames, tags, user and release.

issue_id*

sentry.list_projects

List the organization's projects with their slugs and numeric IDs.

query

sentry.update_issue writes

Resolve, unresolve or ignore an issue, assign it, or change its priority.

issue_id*statusassignedTopriority

sentry.api_get

Send a GET request to any Sentry API path under https://{host}/api/0/organizations/{organization} and return the response. For endpoints the named tools don't cover.

path*params

sentry.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Sentry API path under https://{host}/api/0/organizations/{organization}.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Sentry API path.

Connect

  1. In Sentry, open Settings → Developer Settings and create an internal integration. Give it Issue & Event read and write and Organization read permissions, then save it to get its token.
  2. Enter the token, your organization slug and the region host your organization lives on (sentry.io, us.sentry.io or de.sentry.io) on the connection.
  3. To trigger workflows, set the integration's webhook URL to the request URL shown on the connection page, tick the resources it should send (issue, error, comment), turn on Alert Action if alert rules should notify it, and paste its client secret on the connection.

Credentials

Auth token Client secret

Sentry API docs

Triggers

In Sentry, open Settings → Developer Settings, edit your internal integration, set its webhook URL to this URL and tick the resources to send, then paste its client secret on this connection. Turn on Alert Action to use it in alert rules.

Events

issueevent_alertmetric_alerterrorcomment
trigger
kind: sentry connection: sentry events: [issue] actions: [...] projects: [...]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.