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

# Build an automation with Workflows in Thread Admin

> Create a workflow in Thread Admin from scratch, from a template, or by converting a Flow. Add a trigger and steps on the canvas, test with a dry run, publish, turn it on, and review its runs.

> [!NOTE]
>
> Workflows is a limited-availability beta feature that Thread is rolling out gradually. If you don't see **Workflows** in Thread Admin yet, contact your Thread representative or CSM to ask about access.

Workflows is a visual automation editor in Thread Admin. It automates the same kind of work as [Flows](https://docs.getthread.com/inbox/flows.md), but you build each automation on a canvas: a trigger decides when the workflow runs, and the steps after it decide what happens. This guide walks you through building one, testing it, turning it on, and checking that it works.

To get started, open Thread Admin and select **Workflows** under **AUTOMATION** in the sidebar.

## Create a workflow

You can start from an empty canvas or from a template. You can also convert an existing Flow.

### Start from scratch or from a template

**1. Open the new workflow dialog**

On the **Workflows** page, select **New workflow**.

**2. Choose how to start**

To build it yourself, select **Start from scratch**. To use a template, browse or search the list and select one. The preview shows the template's steps and what **You set up after creating**.

**3. Name the workflow**

Enter a **Name**. You can also pick a **Folder**, which is optional.

**4. Create it**

Select **Create & open editor** for a blank workflow, or **Use template** for a template. The editor opens.

If your workspace doesn't offer templates yet, **New workflow** opens a shorter dialog. Enter a **Name**, choose a **Folder** if you want one, and select **Create**.

### Convert an existing Flow

If you already have a Flow that does the job, you can turn it into a workflow draft:

1. Go to **Flows** in Thread Admin.
2. Open the actions menu on a flow's row and select **Convert to Workflow**.
3. Choose a folder option and select **Convert**.
4. Review the conversion report, then select **Open draft**.

Converting only creates a draft. Your Flow keeps running until you go live from the workflow, as described in [Publish a converted Flow](#publish-a-converted-flow). To convert every active Flow at once, select **Convert all to Workflows** on the **Flows** page.

## Add a trigger and steps

A new blank workflow shows **Add a trigger to start**.

**1. Add a trigger**

Select **Add trigger** and choose when the workflow runs. Examples include **Ticket created**, **Ticket updated**, **Customer replied**, **SLA threshold crossed**, **Schedule**, and **Inbound webhook**.

**2. Set up the trigger**

Select the trigger on the canvas. Its settings open in the side panel.

**3. Add steps**

Use the **Add a step** panel to add steps. Search for a step, then select it or drag it onto the canvas. You can also drag from a step's output point and release on an empty part of the canvas to pick the next step.

**4. Fill in each step**

Select each step and complete its settings in the side panel. A step marked **Needs input** still has required settings to fill in.

Thread saves your changes as you work. The header shows **Saving…**, **Saved**, or **Not saved**. If something needs fixing, the header also shows how many issues the draft has. Select the count to see them.

## Test the workflow with a dry run

A dry run shows what the workflow would do without doing it. Calls, Slack posts, and ticket updates are simulated, so nothing leaves Thread.

1. In the editor header, select **Dry run**.
2. Choose the **Version** to test and the trigger to **Start from**.
3. For a ticket trigger, pick a **Sample ticket**. An **Inbound webhook** trigger uses a sample webhook request instead. A **Schedule** trigger needs no sample.
4. Select **Dry run**.

Under **What would happen**, you see each step in order and the overall result: **Would succeed**, **Would fail**, or **Would not start**. Adjust the workflow and select **Run again** as many times as you need. Select **Exit dry run** to go back to the editor.

## Publish and turn on the workflow

Your edits are a draft until you publish them. A published workflow only runs when you turn it on.

1. Select **Publish v1**. The button shows the next version number.
2. Optionally, describe your change under **What changed?**.
3. Select **Publish**.
4. Turn on the **Active** switch in the editor header.

You can't publish while the draft has issues to fix. The **Publish** button and **Active** switch only appear if you have permission to publish workflows.

When you publish a later version, the live version keeps running until the new one is published. Runs already in progress finish on the version they started on. To see past versions, select the version label next to the workflow name to open **Version history**. From there you can dry run or restore an earlier version.

To pause a workflow, turn off **Active** in the editor, or use the switch on its row on the **Workflows** page.

### Publish a converted Flow

A workflow converted from a Flow shows a **Converted from Flow** banner. Select **Publish & disable source Flow** to publish the workflow and turn off the Flow in one step, so no ticket is handled by both. If you need to switch back, select **Roll back to Flow**.

## Check a workflow's runs

Open the workflow and select the **Executions** tab. A badge on the tab shows the number of failed runs.

* Filter the **Runs** list by status: **All**, **Failed**, or **Running**. Select **More** for **Succeeded**, **Cancelled**, and **Skipped**.
* Search by ticket number or run ID, or pick a date range.
* Select a run to see which steps ran. Select a step to see its **Input**, **Output**, and **Parameters**.

If a run failed, select **Retry whole run** or **Retry from failed step**. You can also cancel a run that is still in progress with **Cancel run**.


## Related topics

- [Configure Autotask Email Workflow for Thread](https://docs.getthread.com/integrations/setting-up-an-email-communication-workflow-in-autotask.md)
- [Thread MCP Server: Developer Guide](https://docs.getthread.com/super-magic/thread-mcp-server-developer-guide.md)
- [Welcome to Thread](https://docs.getthread.com/index.md)
