Getting Started
Connect your Sentry organization to give Blocks access to error reports and issue data. Once connected, Blocks can look up errors, read stack traces, and pull error context when working in GitHub, Slack, and other platforms.Blocks cannot be invoked from Sentry. Sentry is used as a data source only — Blocks reads from your Sentry organization to provide context when handling requests made elsewhere.
Setting Up the Sentry Integration
Connect Sentry via Settings > Integrations > Sentry in the Blocks dashboard. A single OAuth flow connects your Sentry organization — no per-user account linking is required.What Blocks Can Do
Once your Sentry organization is connected, Blocks can:- Look Up Error Reports: Find and read Sentry issues including error messages, frequency, and affected users
- Read Stack Traces: Inspect stack traces and exception details to understand the root cause of errors
- Reference Open Issues: Pull relevant Sentry issues into context when debugging or implementing fixes
- Provide Richer Context: Use Sentry error data to give more accurate, targeted answers when you make requests in GitHub or Slack
Using Sentry in Requests
After connecting your Sentry organization, you can ask Blocks to reference error data from any supported platform:Blocks will automatically search your Sentry organization for relevant issues when it would help complete a request. You can also explicitly reference a Sentry issue ID or describe the error you want Blocks to look up.
Best Practices
- Reference Issue IDs: Including a Sentry issue ID in your request helps Blocks find the exact error quickly
- Describe the Error: If you don’t have an issue ID, describing the error message or affected area helps Blocks locate relevant issues
- Combine With GitHub: Sentry works best alongside GitHub, where Blocks can investigate an error and immediately open a PR with a fix
- Keep Environments Organized: If you have multiple Sentry projects or environments, mention which one is relevant when making a request
Next Steps
New to Blocks? Check out the Getting Started guide to learn the basics. Learn more about:- GitHub Integration for invoking Blocks from code reviews
- Slack Integration for invoking Blocks from conversations
- Skills for reusable prompts

