# Importing Workflows

When creating a new workflow, it is recommended to base it on a template. This approach makes configuration easier and faster, and aids in gradually learning the workflow's capabilities.

## Importing a workflow

To import a workflow template

{% stepper %}
{% step %}

### Download a template&#x20;

The workflow templates, stored as JSON files, can be found in the workflow template library in [Gallagher's Security Hub](https://resources.security.gallagher.com/Sales_and_Marketing_Tools/Sales_Toolkits/Product/AccessNow).&#x20;
{% endstep %}

{% step %}

### Navigate to the Workflow Builder module &#x20;

The Workflow Builder module displays all existing workflows and enables the creation of new ones. Follow either of the instructions below to create a new workflow from a template or import a template into an existing workflow.
{% endstep %}
{% endstepper %}

#### New Workflow From a Template&#x20;

To create a new workflow from a template:

{% stepper %}
{% step %}

### Create a new workflow &#x20;

Follow the instructions for how to [create a new workflow](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/creating-a-new-workflow.md) and continue until you reach the  workflow editor view.
{% endstep %}

{% step %}

### Import a template &#x20;

Use the **Upload** button at the top of the workflow editing screen and choose the file to import.&#x20;

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

{% step %}

### Imported workflows are automatically saved.

The imported workflow saves automatically. However, any changes you make to it, need to be saved manually.
{% endstep %}
{% endstepper %}

#### Overwriting Existing Workflow with a Template&#x20;

To import template to an existing workflow:

{% stepper %}
{% step %}

### Navigate to the selected workflow&#x20;

Follow the instructions for how to [edit a workflow](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/editing-a-workflow-version.md) and continue until you reach the edit workflow view.
{% endstep %}

{% step %}

### Import a template &#x20;

In the workflow builder view, click the **Upload** button at the top of the screen and select the file to import.

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

{% step %}

### Imported workflows are automatically saved.

The imported workflow overwrites the existing one and is automatically saved. Any changes you make to it, need to be saved manually.
{% 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/working-with-workflow-templates/importing-workflows.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.
