> 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

Unpublish a workflow to stop access and move it back to Draft.

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="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FXK8LZqLBdSvL4ca8JiTH%2FUnpublishWorkfow.gif?alt=media&amp;token=46c436b5-ad71-4016-b4bd-9d68956e5051" 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).
