Skip to content

Connect Raygun

Connect Raygun Crash Reporting so the AI can look up error groups for verified visitors, and your team can approve resolves.

4 min read 7 sections

This page explains how to connect Raygun Crash Reporting to an Axoryn project, what Axoryn reads from Raygun, and how resolving error groups is approved. It is for owners and admins who manage integrations.

Before you start

  • Plan. Raygun is a connector, included on the Engineer and Autopilot plans. On other plans the panel says Raygun is on the Engineer plan, with nothing to fill in. See Billing and usage.
  • Role. Only owners and admins can connect, change or remove integrations.
  • Raygun webhooks require a Raygun Team plan or higher.
  • A Raygun Personal Access Token with the scopes cr.errors:read and cr.errors:write.

Connect Raygun

  1. In Raygun, create a Personal Access Token with cr.errors:read and cr.errors:write.
  2. Copy the application identifier of the Raygun application you want to connect.
  3. In Axoryn, open your project, select Integrations in the sidebar, select Add integration, then select Raygun.
  4. Fill in Application identifier and Personal access token. Both are required.
  5. Select Continue, choose the tools in What the AI may do, then select Continue to test. The test reads one error group from that application. Nothing is saved until it passes. Then select Done.
  6. Open the Raygun card, copy the Webhook URL from the Connection tab, and paste it into Raygun: the application, Integrations, Webhook. Enable it.

Warning: Raygun webhook deliveries are authenticated only by the webhook URL. Keep it private. If it leaks, select Regenerate URL and paste the new URL into Raygun. The old one stops working immediately.

What Axoryn reads

ToolTypeWhat it does
”Search error groups”ReadLists recent error groups in the connected application. Returns up to 10.
”Get error group”ReadFetches one error group by its ID.
”Resolve error group”Changes dataResolves an error group, in a given version or unknown. Off by default.

In a visitor conversation, the read tools only return data for visitors whose identity is verified. For anyone else, Raygun isn’t called and the AI gets nothing. See Identify your users.

For a verified visitor, each error group contains only its ID, its message with email addresses replaced by [redacted], its status and when it last occurred. Links and creation dates stay out of conversations.

Synced error groups

Every 10 minutes, Axoryn syncs up to 50 error groups from the application. The Raygun webhook keeps them current in between: new errors, reoccurrences and status changes. The AI can match a verified visitor’s report against these synced errors. When a conversation is handed to your team, the handoff brief can list them under Errors around this time, with a link to Raygun. See Human handoff.

Resolving error groups needs approval

Resolve error group is off by default. To turn it on, open the integration, go to the AI tools tab, turn it on, and select Save AI tools.

During a conversation, a resolve request waits under Needs you on the Integrations page until an owner or admin selects Approve and run or Reject. Visitors can never approve it, and requests expire after 24 hours. See Integrations overview.

No automatic error fixes

When you open the Raygun integration, it says “Automatic fixes are not supported: Raygun errors carry no severity, so none can qualify for an automatic fix. Connect for visibility; use Sentry or Rollbar for automatic code fixes.” See Connect Sentry and Connect Rollbar.

Activity, health and disconnect

  • The Activity tab lists every lookup and change the AI made through Raygun in the last 90 days.
  • The card shows its health. Problems appear under Needs you with a fix.
  • To pause the integration, switch off Active in the Connection tab and select Save.
  • To remove it, select Disconnect and confirm. The AI stops using it right away, its webhook URL stops working, and synced error groups from it are deleted. To be sure the token can’t be used anymore, also revoke it in Raygun.

Troubleshooting

What you seeWhat to do
Test fails with HTTP 401 or HTTP 403The token was rejected or lacks cr.errors:read. Create a token with both scopes.
Test fails with HTTP 404The application identifier is wrong. Copy it again from Raygun.
Approved resolve fails with HTTP 403The token lacks cr.errors:write.
”The provider is rate limiting requests.”Axoryn retries automatically.
Still stuck? Check Troubleshooting or the FAQ. What changed recently