# Master Templates

{% hint style="info" icon="lightbulb-on" %}
**Download the master template and notification email templates from Gallagher's** [**Security Hub**](https://resources.security.gallagher.com/Sales_and_Marketing_Tools/Sales_Toolkits/Product/AccessNow). \
They can be reused to expedite workflow configuration.
{% endhint %}

The **email master templates** provides a central location for defining shared email elements used across multiple workflow email templates. It allows administrators to maintain consistent branding (such as header, footer, styling, and layout) without manually updating each individual email template.

Linking a regular notification template to a Master Template causes its body content to fill the designated placeholder in the master layout automatically. This setup eliminates the need to repeat the header, footer, and layout across every email template, as these elements are centralized in one master template. Any updates to the master template will automatically apply to all linked templates.

{% hint style="info" %}
An update to the master template affects all dependent notification templates.
{% endhint %}

### **Notification Content Placeholder** <a href="#contentplaceholder" id="contentplaceholder"></a>

The **`{ContentPlaceholder}`** is essential inside a master HTML template, marking where the body of each notification template should be inserted. This placeholder is crucial; removing it will prevent email content from rendering correctly.

### Creating a New Master Template

{% hint style="info" %}
You can create multiple master templates for various types of email notifications.
{% endhint %}

{% stepper %}
{% step %}

### Open the Email Templates module

The module includes a list of all notification templates, including the master templates.
{% endstep %}

{% step %}

### Click the + New Template button&#x20;

This opens a window that allows choosing between creating a master template or a regular notification template. Choose the **Master Email Template** option.&#x20;

<figure><img src="/files/CChgc5Aej4mSfKyI7LzS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Insert the Master Template Content  (HTML or Plain text)&#x20;

Insert your HTML or plan text content, incorporating the template header, footer, and brand elements.&#x20;

{% hint style="warning" %}
Ensure to include the **`{Content Placeholder}`** to mark where the notification email body should be added after linking the template to a regular notification.
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/pOrWRc8AOaJTPke9E5NL" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Set the Content Type&#x20;

From the content type dropdown, select either HTML or plain text, based on the content used in the master template.
{% endstep %}

{% step %}

### Save the Master Template.&#x20;

The system saves the template and automatically assigns an ID.The master template is now ready and can be linked to the selected notifications.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/email-templates/master-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
