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

# Manage Workflows

> Manage Cashfree Relay workflows from the Merchant Dashboard: view runs, edit logic, activate or pause schedules, troubleshoot failures, and delete unused flows.

This topic describes how to manage existing workflows from the Relay dashboard. You can edit, activate, deactivate, delete, and monitor workflows from the **Workflows** and **Runs** tabs.

## Edit a workflow

You can edit an existing workflow from either the **Workflows** tab or the **Runs** tab. Editing opens the same canvas used during creation, where all components, including the trigger, nodes, and conditions, are editable.

### Edit from the Workflows tab

1. Log in to the [Merchant Dashboard](https://merchant.cashfree.com/auth/login) and go to **Payment Gateway** > **Relay**.
2. On the **Workflows** tab, click the name of the workflow you want to edit. The workflow canvas opens.
3. Make the required changes to the trigger, nodes, or conditions.
4. Click **Save** to apply your changes.

### Edit from the Runs tab

1. On the **Runs** tab, click the name of the workflow you want to edit. The canvas opens in read-only mode, showing the execution state of that run.
2. Click **Edit Flow** in the top-right corner of the canvas to switch to edit mode.
3. Make the required changes.
4. Click **Save** to apply your changes.

## Activate or deactivate a workflow

You can activate or deactivate a workflow from the **Actions** column on the **Workflows** tab.

1. Go to **Payment Gateway** > **Relay**.
2. In the **Actions** column for the workflow, click the toggle.
   * Turning the toggle on activates the workflow. The status changes to **Active**.
   * Turning the toggle off deactivates the workflow. The status changes to **Paused**.

<Note>
  A workflow in the **Inactive** state has never been activated since it was created. Activating an Inactive workflow for the first time requires no confirmation step. Turning the toggle on changes the status directly to **Active**.
</Note>

## Delete a workflow

1. Go to **Payment Gateway** > **Relay**.
2. In the **Actions** column for the workflow, click the delete icon. A **Delete Workflow** confirmation dialogue appears.
3. Click **Delete** to confirm, or **Cancel** to go back.

<Warning>
  Deleting a workflow is permanent and cannot be undone. All configuration, including triggers, nodes, and conditions, will be removed.
</Warning>

## Monitor workflow runs

The **Runs** tab displays the execution history for all workflows. Use this tab to track run status and timing.

1. Go to **Payment Gateway** > **Relay**.
2. Click the **Runs** tab. The list displays the following information for each run.

| Column        | Description                                                                                             |
| ------------- | ------------------------------------------------------------------------------------------------------- |
| Workflow Name | The name of the workflow that was executed. Click the name to view the execution canvas for that run.   |
| Started At    | The date and time when the workflow run started.                                                        |
| Status        | The result of the run. Possible values are **In Queue**, **In Progress**, **Completed** and **Failed**. |

The list is paginated and shows up to 10 entries per page.

<Note>
  Clicking a workflow name in the **Runs** tab opens a read-only canvas showing the execution state of that run. To make changes to the workflow, click **Edit Flow** on the canvas.
</Note>
