> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/going-further/managing-workflows.md).

# Managing Workflows

Workflows can be deleted to improve organization or when they are no longer needed. If removed by accident, these deleted workflows can also be restored.

Workflows can also be triggered directly from the Shopify admin! This feature is supported for Orders, Draft Orders, Products, and Customers in Shopify.

## Deleting a workflow

Navigate to the workflow you want to delete on the Workflows tab, select the three vertical dots to the right of the workflow title, then click Delete.

<figure><img src="/files/RAkFxISgOAHWFQfnPXub" alt="Screenshot of the Workflows tab in MESA with the three vertical dots menu open on a workflow. Spotlight the Delete option."><figcaption></figcaption></figure>

## Restoring a workflow

1. Click Deleted on the Workflows tab.

<figure><img src="/files/eY5Za3tKLVZvT2JNL7ML" alt="Screenshot of the Workflows tab in MESA. Spotlight the Deleted tab."><figcaption></figcaption></figure>

2. Locate the desired workflow, then click Restore on the far right.

<figure><img src="/files/MNIECTnKxZxNqPXRyvmt" alt="Screenshot of the Deleted workflows list in MESA. Spotlight the Restore button on the far right of a workflow."><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Deleted workflows are stored for 30 days. After 30 days, they are permanently deleted and cannot be recovered.
{% endhint %}

## Triggering workflows from the Shopify admin

Workflows can be triggered from both the individual view and the list view in Shopify. However, the workflows must be turned on in MESA for them to run successfully. Follow the steps for Individual View to run a workflow on a single order (or other instance), and follow the steps for List View to run a workflow across multiple orders (or different instances).

### Individual view

The example below will run a workflow that sends Shopify Orders to Google Sheets from the Shopify interface.

1. Navigate to the Order, Draft Order, Product, or Customer that matches the workflow trigger.
2. Select More actions > Run MESA Workflow to run an individual Order, Draft Order, Product, or Customer.

<figure><img src="/files/er6rWP3Dzx1zH2QWHiBy" alt="Screenshot of a Shopify order page. Open the More actions menu and spotlight the Run MESA Workflow option."><figcaption></figcaption></figure>

3. Select the active workflow you want to run this on.

<figure><img src="/files/BWQbg3Oszk7BwGNIvuGA" alt="Screenshot of the Run MESA Workflow dialog in the Shopify admin. Spotlight the active workflow selection dropdown."><figcaption></figcaption></figure>

4. Click Run workflow.

<figure><img src="/files/wZoilOYrRIdrbbVIHFh8" alt="Screenshot of the Run MESA Workflow dialog in the Shopify admin. Spotlight the Run workflow button."><figcaption></figcaption></figure>

5. Optionally, select View my workflows to redirect to your workflows page in MESA.

When a workflow is triggered from the Shopify admin, you will see a badge indicating the source of the run in the workflow [Activity](https://docs.getmesa.com/workflow-activity).

<figure><img src="/files/dmiHHLNCiM4ubT72I9cv" alt="Screenshot of the MESA workflow Activity tab. Spotlight the badge indicating the run was triggered from the Shopify admin."><figcaption></figcaption></figure>

### List view

This example demonstrates how to run multiple orders on a workflow simultaneously.

1. From the list view, select one or more orders.

<figure><img src="/files/pvCJChtzIliSIWd739Mf" alt="Screenshot of the Shopify Orders list view. Spotlight the selection checkboxes for one or more orders."><figcaption></figcaption></figure>

2. Next, select the three horizontal dots to the right of Capture payments.

<figure><img src="/files/4hxxbvu9Az7jHXRSaf5U" alt="Screenshot of the Shopify Orders list view bulk actions bar. Spotlight the three horizontal dots to the right of Capture payments."><figcaption></figcaption></figure>

3. Select Run MESA Workflow under the Apps section.

<figure><img src="/files/rc3brqx1QbrT07paLErF" alt="Screenshot of the Shopify Orders list view bulk actions menu. Spotlight the Run MESA Workflow option under the Apps section."><figcaption></figcaption></figure>

4. Similar to Individual View, you can select which MESA workflow you'd like to run these orders on, then click Run workflow.
5. Optionally, select View my workflows to redirect to your workflows page in MESA.
