Integration Walkthrough
In Ravenna
The Ravenna PagerDuty integration uses OAuth 2.0 authentication, which means you do not need to create a service or copy integration keys in PagerDuty. Instead, you will authorize Ravenna to access your PagerDuty account directly.Step 1: Navigate to Integrations
- Log in to your Ravenna account.
- Click on your profile icon in the top right corner.
- Select Settings from the dropdown menu.
- In the left sidebar, click Integrations.
- Scroll down to the Incident Management section.
- Locate the PagerDuty integration card.
Step 2: Connect to PagerDuty
- Click the Connect button on the PagerDuty integration card.
- A dialog will appear. Click Connect with PagerDuty to begin the OAuth authorization flow.
- You will be redirected to PagerDuty’s authorization page.
In PagerDuty
Step 3: Authorize Ravenna
- On the PagerDuty authorization page, review the permissions that Ravenna is requesting:
- Read access to schedules
- Read access to on-call data
- Read access to users
- Ensure you are authorizing access for the correct PagerDuty account (check the account name at the top of the page).
- Click Allow to grant Ravenna access to your PagerDuty account.
- You will be automatically redirected back to Ravenna.
In Ravenna
Step 4: Confirm Connection
- Once redirected back to Ravenna, you will see a success message indicating the integration is connected.
- The PagerDuty integration card will now display a Connected status with a green indicator.
- Your PagerDuty schedules are now available for use in Ravenna workflows.
Step 5: Use in Workflows
- Navigate to Workflows in the left sidebar.
- Create a new workflow or edit an existing one.
- Add an action and select PagerDuty from the list of integrations.
- Choose Validate On-Call Membership as the action type.
- Select a Schedule from the dropdown menu (this will display all schedules from your PagerDuty account).
- Configure the workflow to take action based on whether the user is on-call (e.g., route ticket, send notification, escalate).
- Click Save to save your workflow.
Troubleshooting
OAuth authorization fails
OAuth authorization fails
Schedules not appearing in workflow dropdown
Schedules not appearing in workflow dropdown
Cause: Integration not properly connected or no schedules exist in PagerDutySolution:
- Verify the integration shows as Connected in Settings > Integrations
- Check that schedules exist in your PagerDuty account by navigating to People > On-Call Schedules in PagerDuty
- Try disconnecting and reconnecting the integration
- Refresh the Ravenna page after reconnecting
On-call validation returns incorrect results
On-call validation returns incorrect results
Cause: User email mismatch or schedule configuration issueSolution:
- Ensure user emails in Ravenna exactly match user emails in PagerDuty (comparison is case-insensitive)
- Verify the correct schedule is selected in your workflow configuration
- Check the schedule configuration in PagerDuty to ensure users are properly assigned to on-call shifts
- Confirm the schedule is active and has current on-call assignments
How to Uninstall
If you need to disconnect the PagerDuty integration from Ravenna:- Navigate to Settings by clicking your profile icon in the top right corner.
- Click Integrations in the left sidebar.
- Scroll down to the Incident Management section.
- Locate the PagerDuty integration card.
- Click the Disconnect button next to the PagerDuty integration.
- A confirmation dialog will appear. Click Confirm to proceed with disconnection.
- The integration will be removed and the card will display a Connect button again.
- Log in to PagerDuty.
- Navigate to your User Profile by clicking your profile icon.
- Select My Profile from the dropdown.
- Click the User Settings tab.
- Scroll down to the Authorized Applications section.
- Locate Ravenna in the list of authorized applications.
- Click Revoke Access next to Ravenna.
- Confirm the revocation when prompted.