# 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**](https://docs.senpiper.com/workflow-builder/how-to-create-workflows/define-workflow-step/updating-status-and-defining-future-actions-buttons). 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="https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FCF5uRuZRTDuHaXKvZ40M%2Fimage.png?alt=media&#x26;token=f96c6fb3-117f-4dd4-9fda-712033519092" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2F6sCYmsbxY9yH0awyRvIA%2FEnd%20Worflow.png?alt=media&#x26;token=1d9b497d-5602-40f3-aea9-3c8bf256abe0" alt=""><figcaption><p><em>Worflow Ended</em></p></figcaption></figure>
