Learn how to integrate PagerDuty and Slack using Pabbly Connect to automate notifications for resolved incidents. Follow our detailed tutorial for seamless integration. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Integration

To integrate PagerDuty and Slack effectively, you will first need to access Pabbly Connect. Begin by opening a new tab in your browser and navigating to the Pabbly Connect website. If you don’t have an account, click on the ‘Sign Up for Free’ button to create one, which takes just a couple of minutes.

After signing up or logging in, click on the ‘Access Now’ button under the Pabbly Connect section. This action will direct you to your Pabbly Connect dashboard, where you can manage your workflows. Here, you will create a new workflow to automate notifications for resolved PagerDuty incidents.


2. Creating a New Workflow in Pabbly Connect

In the Pabbly Connect dashboard, you will find an option to create a new workflow. Click on the ‘Create Workflow’ button, which will prompt you to name your workflow. For this integration, name it ‘Send Slack Messages for Resolved PagerDuty Incidents’. using Pabbly Connect

  • Select a folder to save your workflow.
  • Click on the ‘Create’ button to proceed.

Once the workflow is created, you will see two sections: Trigger and Action. The Trigger section will specify what event will initiate the workflow, while the Action section will define what happens when that event occurs. Here, you will set up PagerDuty as the Trigger application and Slack as the Action application.


3. Setting Up the Trigger with PagerDuty

To start, select PagerDuty as the Trigger application in your workflow. You will then need to choose the trigger event, which in this case is ‘Incident Resolved’. This means that every time an incident is resolved in PagerDuty, it will trigger the workflow.

To connect PagerDuty with Pabbly Connect, you will need to use a Webhook URL. Copy the generated Webhook URL from Pabbly Connect and navigate to your PagerDuty account. In the PagerDuty account, go to the ‘Integrations’ section and select ‘Add Webhook’ to paste the copied URL. Make sure to choose the correct service scope and select the ‘Incident Resolved’ event.


4. Setting Up the Action with Slack

Once you have configured the trigger, it’s time to set up the action. Select Slack as your Action application and choose the action event as ‘Send Channel Message’. This action will automatically send a message to your Slack channel whenever an incident is resolved in PagerDuty.

To connect Slack with Pabbly Connect, click on ‘Add New Connection’ and provide the necessary authentication details. You will need to allow access to your Slack account. Once connected, select the Slack channel where you want to send the notifications and compose your message using dynamic data from the PagerDuty incident response.

  • Map the incident title, urgency, priority level, policy ID, and agent ID from the PagerDuty response.
  • Ensure your message is clear, e.g., ‘Great news! An incident has been resolved: [incident title].’.

After mapping all necessary fields, save your action settings. This setup ensures that every time an incident is resolved, a message will be sent to your specified Slack channel automatically.


5. Testing the Integration

With both the trigger and action set up, it’s time to test the integration. Go back to your PagerDuty account and resolve an incident. You can do this by navigating to the ‘Incidents’ section, selecting an incident, and clicking on the ‘Resolve’ button. After entering a resolution note, click on ‘Resolve Incident’.

Once the incident is resolved, return to Pabbly Connect and check for a response. You should see the details of the resolved incident. If everything is set up correctly, a message should appear in your Slack channel confirming the incident resolution along with the details you mapped earlier.

This integration between PagerDuty and Slack using Pabbly Connect will ensure your team is always updated about incident resolutions without manual intervention, enhancing your workflow efficiency.


Conclusion

Integrating PagerDuty and Slack using Pabbly Connect automates the notification process for resolved incidents. This setup streamlines communication within your team, ensuring everyone stays informed effortlessly.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.