---
title: "Create an email recipe from template"
slug: "create-an-email-recipe-from-template"
updated: 2025-07-29T10:23:37Z
published: 2025-07-29T10:23:37Z
canonical: "docs.hunters.ai/create-an-email-recipe-from-template"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hunters.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an email recipe from template

A webhook recipe will detect and retrieve newly generated Alerts, Stories, or Leads and send the information to specified recipients via email.

**To create an email recipe from template:**

****Step 1: Open the required template****

1. From the Hunters menu, navigate to **Workflows > Workflow Manager**. ![image.png](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/image%28237%29.png)
2. Under **Projects**, navigate to **Automated Workflows > Automation Templates**. ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/image(12).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. ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create email recipe from template - Clone.jpg)
4. Rename the recipe and click **Edit**.

![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create email recipe from template - Rename and edit.jpg)

****Step 2: Connect your Hunters account****

> [!NOTE]
> 💡**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.  
>   
> ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Skip Hunters connection.png)

1. Follow [these](https://docs.hunters.ai/apidocs/manage-api-tokens) 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. ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create email recipe from template - Select trigger step(1).png)
4. On the right side panel, name your connection and paste the **Client ID** and **Client secret** in the appropriate fields. ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/image.png)
5. Select your **Region** based on the region set up for you upon Hunters tenant creation.
6. Click **Connect**.

****Step 3: Set up email addresses****

1. From the recipe flowchart click step 3 (**Send email via Workato**) to set up the email options. This will tell the workflow where to send the information to. ![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create email recipe from template - Select email step.png)
2. On the right-side panel, add recipients’ email addresses separated by a comma. ![Create email recipe from template - Email settings](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create%20email%20recipe%20from%20template%20-%20Email%20settings.png)

💡More options

You can further adjust the email settings by following one or more of these steps:

**Edit the email subject**

Use the **Subject** field to adjust the email subject line. You can use [data pills](https://docs.workato.com/recipes/data-pills-and-mapping.html) to enrich the subject with Hunters information, such as Alert/Lead/Story UUID, Risk, Detection time, Assignee, Status, and more.

**Design the email**

You can design the email using HTML by editing the existing HTML in the **Message** field. You can also use a simple text email by switching the **Email type** field to **Text**.

**Add CC and BCC recipients**

Click on **Show additional fields** to add the **CC** and/or **BCC** fields.

****Step 4: Save and activate the recipe****

1. Once done, click **Save** and then **Exit**.  
  
![](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/Create email recipe from template - Save and exit.png)
2. Now click **Start recipe** to activate the workflow.  
  
![image.png](https://cdn.document360.io/5f63f0e0-3c70-4d00-b623-82493be0bde5/Images/Documentation/image%28130%29.png)
