What you’ll build
A workflow triggered by the Sentryissue.created event. A triage job runs one agent step whose prompt embeds the specific issue — its title, culprit, and level — using ${{ event.* }} interpolation. The agent has your repository checked out, so it can investigate the code behind the error and summarize what a developer should check.
The workflow file
Create the following file at.shipfox/workflows/triage-sentry.yml in your repository:
${{ event.* }} expressions when the run is created, so the agent receives the actual issue — its title, culprit, level, and a link back to Sentry (webUrl). The agent’s summary streams to the step log.
Deploy it
Follow these steps to get the workflow running:- Create the file
.shipfox/workflows/triage-sentry.ymlin your repository. - Paste the YAML above, replacing
sentry_acmewith your Sentry connection slug. - Commit the file and push. The workflow appears in the dashboard and fires on the next matching issue.
source is your Sentry connection slug — shown in your integration settings
after you connect Sentry (for example sentry_<org>), not the literal word
sentry. Connecting Sentry requires the Sentry integration.Scope to a project
Shipfox deliversissue.created for every project in your connected Sentry organization. The event exposes the issue’s project as event.projectUrl, so you can point the agent at only what you care about — or name the project in the prompt:
Server-side filtering by project or team —
filter: event.projectUrl.contains("...") —
is on the roadmap; the filter field is parsed but not evaluated yet. Until then,
scope inside the workflow. See Expressions.Going further
Turn triage into action by combining it with the other guides:- Auto-fix and verify — follow the agent with a shell step and a gate so it retries until tests pass. See Gate & Retry.
- Open a PR or notify — add a
runstep that callsgh pr createor posts to your chat tool.
Branching on a structured agent decision (auto-fix vs. escalate) and structured
agent
output are on the roadmap. Today, act with run steps and gates.Next steps
- Sentry integration — connect Sentry and see every issue event.
- Agent Steps — configure models, thinking levels, and providers.
- Expressions — the
${{ }}context available to prompts.