# Delete a workflow

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="/files/E5W0fcgHVe1kIKRitJKw" 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="/files/MZJ75AO0GwM9vcNzPAra" 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="/files/diIBPhPaS8IYBPH7OMxd" 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).


---

# 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://docs.diaflow.io/workflow-builder/delete-a-workflow.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.
