> 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/unpublish-a-workflow.md).

# Unpublish a workflow

Use **Unpublish** when you want to stop a published workflow.

This applies to:

* **Tools**
* **Chats**
* **Automation**

{% hint style="warning" %}
Unpublishing deactivates the workflow and reverts it to **Draft** status.
{% endhint %}

### How to unpublish

1. Go to the **Flows** page.
2. Find the published workflow you want to stop.
3. Click the three-dot menu.
4. Click **Unpublish**.
5. Click **Confirm**.

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

After that, the workflow returns to **Draft**.

You can edit it, test it, and publish it again later.

### What changes after unpublishing

* the workflow is no longer active
* shared access stops
* the workflow moves back to **Draft**

### Tips

* Unpublish your workflow before making major changes.
* Use **Draft** to test safely before publishing again.
* Double-check shared links after republishing.

### Next steps

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