sentry-create-alert

Create Sentry alerts via the workflow engine API with triggers, conditions, and notification actions.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/imrishuroy/algopatterns --skill sentry-create-alert-imrishuroy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-create-alert
Source: https://github.com/imrishuroy/algopatterns/tree/main/.agents/skills/sentry-create-alert
Command: npx skills add https://github.com/imrishuroy/algopatterns --skill sentry-create-alert-imrishuroy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Configuring Sentry alerts through the workflow engine API requires knowing polymorphic condition payloads, integration IDs, and region-specific endpoints, which is error-prone when done manually. ## Core Features & Use Cases - Workflow Alert Creation: Build and POST complete alert payloads with triggers, filter conditions, and actions to the Sentry workflows API. - ID Resolution: Look up user, team, and integration IDs via the Sentry API before constructing payloads. - Multi-Channel Notifications: Configure email, Slack, PagerDuty, Discord, MS Teams, Opsgenie, Jira, and GitHub actions. - Use Case: A developer wants an email and Slack notification whenever a high-priority issue regresses with more than 50 events per hour; this Skill gathers the details, resolves IDs, builds the payload, and creates the alert. ## Quick Start Create a Sentry alert that emails me and posts to our Slack channel when a high-priority issue regresses in my organization.

Frequently Asked Questions about sentry-create-alert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Sentry alert using the API?

Create a Sentry alert by POSTing a workflow payload to /api/0/organizations/{org}/workflows/ with an auth token that has the alerts:write scope. The payload defines triggers, filter conditions, and actions such as email or Slack notifications.

What token scope is needed for Sentry workflow alerts?

The Sentry org auth token needs the alerts:write scope, though org:admin or org:write are also accepted. A 401 error means the scope is missing, while 403 means the token does not belong to the target organization.

Which notification channels does the Sentry workflow engine support?

The workflow engine supports email, Slack, PagerDuty, Discord, Microsoft Teams, Opsgenie, Jira, and GitHub actions. Integration-based channels require an integrationId obtained from the organization's integrations endpoint.

Why does my Sentry alert API request return 404?

A 404 usually means the organization slug is wrong or the region is incorrect, such as using us.sentry.io instead of de.sentry.io for EU organizations. Verify both the org slug and the regional endpoint before retrying.

How do I filter Sentry alerts by issue priority or event frequency?

Use actionFilters with conditions like issue_priority_greater_or_equal with a bare integer comparison (75 for High) or event_frequency_count with a value and interval such as 1hr. The comparison field shape depends on the condition type.