# Set up inventory workflows

Build the list of prep steps each new listing starts with.

Audience: dealer-managers
Availability: available
Canonical source: https://rooftoprv.com/docs/set-up-inventory-workflows

A workflow is an ordered list of prep steps, from the day an RV arrives to the day it's delivered. When your team adds a listing, ROOFTOP copies the steps from your default workflow onto that listing's **Unit prep** tab. That includes listings added with **Import from DMS**.

## Before you start

- You need the **Manage inventory workflows** permission.
- Only the default workflow is used for new listings. Other workflows don't give their steps to any listing.

## Create a workflow

Nothing you change on this page is kept until you select **Save**. That includes adding, removing, and reordering steps.

1. Go to **Inventory** > **Settings** > **Workflows**.
2. Select **New workflow**.
   A workflow named "Untitled workflow" opens. Your first workflow becomes the default.
3. Enter a **Name**.
4. Optionally enter a **Description**.
5. Leave **Active** on.
   Skip **Applies to**. It does nothing. The default workflow's steps go to every new listing, new or used.
6. Add steps. See the next section.
7. Select **Save**.
   A "Workflow saved" message confirms it.

## Add steps

Add steps in the order they should happen. Each kind of step gives staff a different action on the listing.

| Button | What staff do on the listing |
|---|---|
| **Inspection** | Start an inspection |
| **Repair order** | Create a repair order |
| **Event** | Schedule an event, such as a delivery |
| **Custom** | Mark the step done by hand |

**Default inspection template**, **Default work type (optional)**, and **Requires linked customer** don't change anything on the listing. Staff still choose the template when they start an inspection. The repair order is created without a work type.

1. Under **Steps**, select **Inspection**, **Repair order**, **Event**, or **Custom**.
   The new step starts with a name for its kind, such as "Schedule event".
2. Enter a **Label**.
   This is the name staff see on the listing. A step with no label is saved as "Untitled step".
3. Optionally enter a **Description (optional)**.
   Staff see it when they open the step.
4. Choose a **Phase**.
   **Internal** is for work your team does on its own. **Customer-facing** is for work that involves the customer. New inspection and event steps start as **Customer-facing**. Change them if that's wrong. The **Status** page can filter by phase.
5. For an event step, choose an **Event type**, such as **PDI** or **Delivery**.
   It starts as **Custom**. Set it to **Delivery** on your delivery step. The **Status** page uses that step's date to sort RVs by how close they are to delivery.
6. For an event step, choose a **Default duration (min)**.
   It starts as 60. When staff schedule the step, the event starts with this type, length, and the step's label.
7. To reorder steps, drag a step by its handle.
8. To remove a step, select the delete button on it.
9. Select **Save**.

## Choose the default workflow

Your dealership has one default workflow at a time. New listings get its steps.

1. Go to **Inventory** > **Settings** > **Workflows**.
2. Next to the workflow, select **Set default**.
   A "Default workflow updated" message confirms it. **Set default** also turns the workflow's **Active** setting on. The workflow that was the default before is no longer the default.

You can also turn on **Default** inside a workflow and select **Save**.

A workflow gives its steps to new listings only while **Active** is on. If you turn off **Active** or **Default** on your default workflow, new listings start with no steps.

## What happens next

- Changes apply to listings added after you save. Listings that already have steps keep the steps they have.
- A listing that already has steps doesn't get a workflow's steps again, even if you change the default.
- Staff can still add, skip, and delete steps on one listing without changing the workflow. See [Track prep work on a listing](https://rooftoprv.com/docs/track-prep-work-on-a-listing).

## Delete a workflow

> **Warning:** Deleting a workflow can't be undone. Listings that already have its steps keep them. If you delete the default workflow, new listings start with no steps until you set another default.

1. Go to **Inventory** > **Settings** > **Workflows**.
2. Select the delete button next to the workflow.
3. Confirm.
   A "Workflow deleted" message confirms it.

## Troubleshooting

**New listings have no prep steps**
Check that one workflow shows **Default** and **Active** on the **Workflows** page. Check that it has at least one step. Listings added before then don't get steps. Add them on each listing's **Unit prep** tab.

**Save is grayed out**
**Save** is only available after you change something. A workflow also needs a name. Without one, a "Workflow name is required" message appears.

**I set "Applies to" but used and new RVs get the same steps**
**Applies to** has no effect. The default workflow's steps go to every new listing.

**Staff have to pick an inspection template even though I set a default**
The **Default inspection template** isn't used when staff start an inspection. They choose the template each time.

## Related guides

- [Track prep work on a listing](https://rooftoprv.com/docs/track-prep-work-on-a-listing)
- [See the next prep step for each RV](https://rooftoprv.com/docs/see-the-next-prep-step-for-each-rv)
- [Add a listing](https://rooftoprv.com/docs/add-a-listing)
