# Zapier -> PagerDuty

This guide explains how to send notifications through [Zapier](https://zapier.com/) WebHook to the PagerDuty app

## How the connection HackenProof -> Zapier Webhook works <a href="#h_b54e7052c7" id="h_b54e7052c7"></a>

This guide explains how our Zapier WebHook can help companies when they run a bounty program at HackenProof.

<mark style="background-color:purple;">Please note! It's Zapier Webhook integration, not Zappier App</mark>

As you know, HackenProof uses a ticket-based system that has [different stages of reports](https://docs.hackenproof.com/bug-bounty/reports-basics) processing.

Once you connect your bug bounty program to your Zapier account, the bot will send notifications about the following:

* new reports (that includes the Program name, Report title, Report severity, and Report URL)

<mark style="background-color:purple;">In this version, we don't send information about changes in reports like Report Status or Report Severity</mark>

### Step 1. Generate your ZapierHook URL <a href="#h_f317ea7e93" id="h_f317ea7e93"></a>

* Navigate to the Zapier dashboard
* Create a new Zap

<figure><img src="https://downloads.intercomcdn.com/i/o/751784523/ccf20a10036684556690ed66/image.png" alt=""><figcaption></figcaption></figure>

* Choose Trigger: Webhooks by Zapier

<figure><img src="https://downloads.intercomcdn.com/i/o/751793272/0ef06d556739555b086b7d35/image.png" alt=""><figcaption></figcaption></figure>

* Choose the Event type: Catch Hook

<figure><img src="https://downloads.intercomcdn.com/i/o/751794381/4ef293a7c381b3e8a1653df2/image.png" alt=""><figcaption></figcaption></figure>

* Press the Continue button:

<figure><img src="https://downloads.intercomcdn.com/i/o/751799008/e4c2ae64adffb7fb0f89d0b3/image.png" alt=""><figcaption></figcaption></figure>

* Pick off a Child Key and press Continue. Here you can name it as you wish.

<figure><img src="https://downloads.intercomcdn.com/i/o/751802890/b6257081496897d31487df1f/image.png" alt=""><figcaption></figcaption></figure>

* Copy the ZapierHook URL:

<figure><img src="https://downloads.intercomcdn.com/i/o/751804476/3fe5bac5a62127f8b231c9e5/image.png" alt=""><figcaption></figcaption></figure>

### Step 2. Add the copied ZapierHook URL to HackenProof: <a href="#h_8e2c72e6a9" id="h_8e2c72e6a9"></a>

* Navigate to your Program integration section and choose Zapier:

<figure><img src="https://downloads.intercomcdn.com/i/o/751807355/e5eb049d475ef7cbc9876149/image.png" alt=""><figcaption></figcaption></figure>

* Paste your copied ZapierHook URL and press Connect button

<figure><img src="https://downloads.intercomcdn.com/i/o/751808706/4af7a8b9e911498009b08ffb/image.png" alt=""><figcaption></figcaption></figure>

* Press Test Webhook:

<figure><img src="https://downloads.intercomcdn.com/i/o/751809740/33da9fbedf554dc0403345fb/image.png" alt=""><figcaption></figcaption></figure>

### Step 3. Connect your PagerDuty app to send notifications about incoming HackenProof reports <a href="#h_de42549935" id="h_de42549935"></a>

* So now you need to find your App

<figure><img src="https://downloads.intercomcdn.com/i/o/751895122/52d988ac01968226711fac70/image.png" alt=""><figcaption></figcaption></figure>

* Now, you need to find and connect Zapier to your PagerDuty space

<figure><img src="https://downloads.intercomcdn.com/i/o/752441709/1c9f3c387ece58a40a7a5d16/image.png" alt=""><figcaption></figcaption></figure>

* Choose your PagerDuty account and event type: Add Trigger Event. Then press the Continue button

<figure><img src="https://downloads.intercomcdn.com/i/o/752445619/db510e188f8d7e2f570f6c57/image.png" alt=""><figcaption></figcaption></figure>

* Specify your PagerDuty Integration Key (Note! you can add it as a custom field):

  * Integration Key can be found in the *PagerDuty space: Service -> Service Directory -> Navigate to your Service space -> Integration tab*
  * Open the settings of the created Zapier integration and copy the Integration Key

    ![](https://downloads.intercomcdn.com/i/o/752622418/39077dd3c4439970b958b6c8/image.png)
  * If you don't have Zapier integration yet, then press the Add an integration:

    <figure><img src="https://downloads.intercomcdn.com/i/o/752625047/d5d117a884a78a2cf173eb17/image.png" alt=""><figcaption></figcaption></figure>
  * find Zapier App and press the Add button:

    <figure><img src="https://downloads.intercomcdn.com/i/o/752633047/85cd0104976e751bed75dfa6/image.png" alt=""><figcaption></figcaption></figure>

  <figure><img src="https://downloads.intercomcdn.com/i/o/752791545/d16a26b2685161215c36655b/telegram-cloud-photo-size-2-5454054978235779974-y.jpg" alt=""><figcaption></figcaption></figure>
* Add Description. Here you can all the necessary information that ZapierHook offers you, for example:
  * Program name:
  * Report ID:
  * Report URL:
  * Report Severity:
  * Report Status:
* Specify Incident Key. You can use Report ID as Incident Key.

Specify your PagerDuty Integration Key as a custom field!

<figure><img src="https://downloads.intercomcdn.com/i/o/752450954/4f9252e8454a7a492d31701c/image.png" alt=""><figcaption></figcaption></figure>

* Add optional fields if it's required by your team and press the continue button:

<figure><img src="https://downloads.intercomcdn.com/i/o/752454640/ba6889c3e5e29cc17df86a66/image.png" alt=""><figcaption></figcaption></figure>

* Now you can test your connection and publish the Zap

<figure><img src="https://downloads.intercomcdn.com/i/o/752601854/224da5c314cb0cee69e3efa0/image.png" alt=""><figcaption></figcaption></figure>

* Here is how the result looks like in our demo space:

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FmfrA5fM2tk5nruHZ0YOa%2Fimage.png?alt=media&#x26;token=097e069f-729d-4975-a177-78ef42f01009" alt=""><figcaption></figcaption></figure>
