> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usertick.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Usertick runs surveys on websites, by link, by QR code and by email, and collects every response in one inbox with reports, dashboards and workflows. The REST API lives at https://app.usertick.com/api/public/v1 and uses Bearer API keys or OAuth access tokens; the JavaScript SDK is the @usertick/snippet package on npm.

# Publish and manage a workflow

> Fix what blocks publishing, publish a workflow, edit it while it runs, and turn it on or off, duplicate it or delete it.

Usertick saves your edits as a draft while you work. The line under the workflow's name shows **Saving…**, **Saved** or **Unsaved changes**, and the published version keeps running until you publish the draft.

![The To fix before publishing list open from the 5 to fix count in the editor's top bar, with each step's problem and a Fix link on each item](https://mintcdn.com/usertick/b7hHAD5bKMN_XhRp/images/workflows-to-fix.png?fit=max\&auto=format\&n=b7hHAD5bKMN_XhRp\&q=85\&s=e64035347fc3169fc317c7238832a70b)

What blocks publishing

## Publish a workflow

**1. Fix what blocks publishing**

If the top bar shows a count such as "2 to fix", select it. **To fix before publishing** lists each problem, and **Fix** opens the step that has it.

**2. Publish**

Select **Publish workflow**. Usertick publishes the draft, leaves edit mode and shows the workflow as it now runs.

**Worth checking before publishing** lists warnings that don't block the publish, such as a condition that names a deleted category or theme.

Publishing for the first time turns the workflow on. A later publish keeps the workflow on, off or paused as it was, unless changes to its survey paused the workflow, in which case publishing turns it back on.

To leave edit mode without publishing, select the back arrow next to the workflow's name. If you changed a published workflow, Usertick asks **Leave without publishing?**. **Keep as draft** keeps the changes for later, **Discard changes** goes back to the published version and **Publish** publishes them.

## Edit while someone else is editing

Only one person can edit a workflow at a time. While someone else edits it, the workflow is read-only for you, with a notice that names them, and you can edit it after they leave.

To edit anyway, select **Take over**. The other person's saved version loads first and they switch to read-only, so none of their saved work is lost. The same applies to a workflow you have open in another tab.

## Turn a workflow on or off, duplicate or delete it

While a workflow is open for viewing, the **…** menu next to **Edit workflow** offers these actions, and the **…** menu of each row on the **Workflows** page offers the same ones.

* **Turn on** and **Turn off.** A workflow that is off runs nothing, and runs already in progress, such as one in a wait, end without sending. **Turn on** becomes available after the first publish.
* **Duplicate workflow** creates a draft copy named "Copy of" followed by the name, and opens it in edit mode.
* **Delete** asks you to type the workflow's name, then deletes the workflow and its run history and stops any runs in progress. You can't undo the deletion.

**Turn on** is grayed out when the survey already has as many workflows on as your plan allows, and for a workflow that a change to its survey paused. See [When the survey changes](https://docs.usertick.com/workflows/activity.md#when-the-survey-changes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.