Create a webhook recipe from template

Prev Next

A webhook recipe will detect and retrieve newly generated Alerts, Stories, or Leads and send the information to a specified destination URL.

To create a webhook recipe from template:

Step 1: Open the required template

  1. From the Hunters menu, navigate to Workflows > Workflow Manager.

    image.png

  2. Under Projects, navigate to Automated Workflows > Webhooks.

    image.png

  3. Locate the recipe you want to create (Alert, Story or Lead), click on the … menu and then select Clone. This will ensure you don’t override the template so you can use it again in the future.


  4. Rename the recipe and click Edit.

Step 2: Connect your Hunters account

💡Tip
If you’ve already connected Hunters to a recipe before, you can simply select the connection from the list and skip to the next step.

  1. Follow these guidelines to create a Hunters API token with a Customer role (or higher).

  2. Copy the Client ID and Client secret provided in the token creation process.

  3. Navigate back to the recipe and click the Trigger step to edit it.

    Create email recipe from template - Select trigger step(1)

  4. On the right side panel, name your connection and paste the Client ID and Client secret in the appropriate fields.

  5. Select your Region based on the region set up for you upon Hunters tenant creation.

  6. Click Connect.

Step 3: Set up destination URL

  1. From the recipe flowchart click step 3 (Hunters alert via HTTP) to set up the destination URL. This will tell the webhook where to send the information to.

    image.png

  2. On the right-side panel, name your connection, select an Authentication type and Base URL, and complete the required authentication details.

    📘Learn more

    Learn more about HTTP connection setup.

  3. Click Connect.

📘 Note

Once the connection is established you will see the step properties. We suggest not to edit these settings without the appropriate knowledge of API management.

Step 4: Save and activate the recipe

  1. Once done, click Save and then Exit.

       
  2. Now click Start recipe to activate the workflow.

    image.png