> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/command-centre/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/adding-steps-or-branches.md).

# Adding Steps or Branches

Adding new steps and branches enables users to configure a workflow from scratch or modify an existing workflow template.&#x20;

## Adding a step&#x20;

{% 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 %}

### Select the + icon on the workflow chart.

Between all workflow steps, a **+ icon** is available to add a new element, such as a step or a branch. Clicking the + icon opens the configuration side panel, displaying a list of step types you can choose from.

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

{% step %}

### Click on the selected new step type &#x20;

Choose the type of new step to add by clicking on it from the side panel. It will be inserted between the steps where you clicked the + icon.
{% endstep %}

{% step %}

### Configure the new step&#x20;

Follow the [Steps](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps.md) configuration instructions to configure the new step.
{% endstep %}
{% endstepper %}

## Adding a workflow branch&#x20;

{% 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 %}

### Select the + icon on the workflow chart.

Between all workflow steps, a **+ icon** is available to add a new element, such as a step or a branch. Clicking the + icon opens the configuration side panel.&#x20;

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

{% step %}

### Tick Create a new branch & enter new branch name  &#x20;

In the side configuration panel, check the box next to **Create a new branch** and enter the new branch name.
{% endstep %}

{% step %}

### Choose the step type the branch leads to

To create a new workflow branch, you must also create its subsequent step. To add the new step in the branch, click on the new step type in the configuration sidebar. Follow the [Steps](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps.md) configuration instructions to configure the new step.
{% endstep %}

{% step %}

### Set up the Actions in the parent branch step&#x20;

To initiate a branch, ensure the starting step has an **Action** configured to guide the workflow to the new branch. Actions determine the workflow's direction. Refer to the [Actions tab](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/common-steps-configuration.md#actions-tab) configuration instructions to set up the parent branch step.&#x20;
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/adding-steps-or-branches.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
