> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/workflow-builder/delete-a-workflow.md).

# Delete a workflow

Move a workflow to Trash, then delete it permanently from Trash when needed.

Deleting a workflow now happens in 2 steps:

* Move the workflow to **Trash**
* Delete it permanently from **Trash**

{% hint style="warning" %}
Once you delete a workflow from **Trash**, you cannot restore it.
{% endhint %}

### Move a workflow to Trash

Use this option when you are viewing the workflow list.

{% stepper %}
{% step %}

### Open the Flows menu

Click the three-dot menu on the workflow card.
{% endstep %}

{% step %}

### Move the workflow to Trash

You can use either path:

* click **Move to trash**
* click **Settings** → **Move to trash**

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F2ZDNAc1aE0qAPivDFnwN%2FMovetoTrash.gif?alt=media&amp;token=97d665b0-3f33-42a0-bd05-a923ed15d2d9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Confirm

Confirm that you want to move the workflow to **Trash**.
{% endstep %}
{% endstepper %}

### Move a workflow to Trash from within the editor

Use this option when the workflow is already open in the builder.

{% stepper %}
{% step %}

### Open the workflow menu

Click the three-dot menu in the builder.
{% endstep %}

{% step %}

### Open settings

Click **Settings**.
{% endstep %}

{% step %}

### Move the workflow to Trash

Click **Move to trash**.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F4FTTi4CkeyeZZnAaExGq%2Fcursorful-video-1776786837331.gif?alt=media&amp;token=e9c747f8-dfb0-4bcb-aa9c-283fe8fdd718" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Confirm

Confirm that you want to move the workflow to **Trash**.
{% endstep %}
{% endstepper %}

### Delete a workflow permanently from Trash

Use this step only when you are sure you no longer need the workflow.

{% stepper %}
{% step %}

### Open Trash

Go to **Trash**.
{% endstep %}

{% step %}

### Select the workflow

Find the workflow you want to remove permanently.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FolYdqbuXwcfa3F7AIgWB%2FDeleteWorkflow.gif?alt=media&amp;token=47b6b305-a75c-45e0-bfaf-33270c5c15e2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Delete permanently

Click **Delete**.
{% endstep %}

{% step %}

### Confirm

Confirm the permanent deletion.
{% endstep %}
{% endstepper %}

### Tips

* Use **Move to trash** if you may need the workflow again.
* Export the workflow first if you may need it again.
* Empty **Trash** only when you are sure the workflow is no longer needed.

### Next steps

* Learn how to [manage a workflow](/workflow-builder/manage-a-workflow.md).
* Learn how to [create a workflow](/workflow-builder/create-a-workflow.md).
