> For the complete documentation index, see [llms.txt](https://docs.senpiper.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.senpiper.com/workflow-builder/how-to-create-workflows/ending-workflows.md).

# Ending workflow

We can end the workflow after the status of a particular step is updated to the required value. For this let's go back to the[ **Updating status for a step of the workflow**](/workflow-builder/how-to-create-workflows/define-workflow-step/updating-status-and-defining-future-actions-buttons.md). When we click the **Define Future Actions** in the node, we get the option to **End Workflow.**

Let's say, for node n - 4 that we created, we want to end the workflow. The steps to achieve this are:

1\.   In node n - 4, click **Define Future Actions**.&#x20;

The **Define Actions** window is displayed on the right.

<figure><img src="/files/L3xxvx3vWrJaMRYgA2xH" alt=""><figcaption></figcaption></figure>

2\.   To end the workflow, click **End Workflow**. The workflow ends at this step.

<figure><img src="/files/2F5iwRFw8YgiXYc7m2Js" alt=""><figcaption><p><em>Worflow Ended</em></p></figcaption></figure>
