# Workflows

A workflow is a sequence of tasks that are performed based on predefined logic. A workflow improves efficiency and reduces errors by automating a series of complex tasks that otherwise need to be performed manually and repetitively.
For more information, see Workflow.

 - [POST /auth_providers](https://developer.zuora.com/v1-api-reference/api/workflows/createauthproviderworkflows.md): Creates an authentication provider for reuse in Workflow tasks and supported integrations.
 - [PUT /auth_providers/{provider_id}](https://developer.zuora.com/v1-api-reference/api/workflows/updateauthproviderworkflows.md): Updates an authentication provider that is used for Workflow tasks and supported integrations. Only supplied fields are changed. The `auth_type` field cannot be changed after creation.
 - [DELETE /auth_providers/{provider_id}](https://developer.zuora.com/v1-api-reference/api/workflows/deleteauthproviderworkflows.md): Deletes an authentication provider that is used for Workflow tasks and supported integrations.
 - [DELETE /workflows/versions/{version_id}](https://developer.zuora.com/v1-api-reference/api/workflows/delete_workflowversion.md): Delete a workflow version based on the version id. ### User Access Permission You must be assigned the **Workflow Manage Access** permission to run this operation.
 - [GET /workflows](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflows.md): Retrieves a list of workflow definitions available in your Zuora tenant. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [POST /workflows/import](https://developer.zuora.com/v1-api-reference/api/workflows/post_workflowimport.md): Create a new workflow definition and its first version using the exported JSON document of an existing workflow version. ### User Access Permission You must be assigned the **Workflow Manage Access**
 - [GET /workflows/metrics.json](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflowsusages.md): Gets workflow task usage sorted by day within a specified time frame. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [GET /workflows/tasks](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflowstasks.md): Retrieves a list of workflow tasks available in your Zuora tenant. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [PUT /workflows/tasks/batch_update](https://developer.zuora.com/v1-api-reference/api/workflows/put_workflowstasksupdate.md): Updates a group of workflow tasks. ### User Access Permission You must be assigned the **Workflow Manage Access** permission to run this operation.
 - [GET /workflows/tasks/{task_id}](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflowstask.md): Retrieves a specific workflow task by its ID. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [POST /workflows/tasks/{task_id}/rerun](https://developer.zuora.com/v1-api-reference/api/workflows/post_workflowstaskrerun.md): Reruns a specific workflow task by its ID. ### User Access Permission You must be assigned the **Workflow Run Access** permission to run this operation.
 - [GET /workflows/workflow_runs/{workflow_run_id}](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflow_run.md): Retrieves information about a specific workflow run by its ID. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [DELETE /workflows/{workflow_id}](https://developer.zuora.com/v1-api-reference/api/workflows/delete_workflow.md): Deletes a specific workflow by its ID. ### User Access Permission You must be assigned the **Workflow Manage Access** permission to run this operation.
 - [GET /workflows/{workflow_id}](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflow.md): Retrieves information about a specific workflow by its ID. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [PATCH /workflows/{workflow_id}](https://developer.zuora.com/v1-api-reference/api/workflows/patch_updateworkflow.md): Updates a specific workflow by its ID, which allows you to [configure the settings of a workflow](https://docs.zuora.com?resourceId=platform-manage-access-permissions-workflow) via API. ### User Acces
 - [GET /workflows/{workflow_id}/export](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflowexport.md): Exports a workflow version into a JSON file. This file can be used to create a copy of this workflow version. ### User Access Permission You must be assigned the **Workflow View Access** permission to
 - [POST /workflows/{workflow_id}/run](https://developer.zuora.com/v1-api-reference/api/workflows/post_run_workflow.md): Run a specified workflow. In the request body, you can include parameters that you want to pass to the workflow. For the parameters to be recognized and picked up by tasks in the workflow, you need to
 - [GET /workflows/{workflow_id}/versions](https://developer.zuora.com/v1-api-reference/api/workflows/get_workflowversions.md): Return a list of all workflow versions under a workflow definition ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
 - [POST /workflows/{workflow_id}/versions/import](https://developer.zuora.com/v1-api-reference/api/workflows/post_workflowversionsimport.md): Create a new workflow version under a workflow definition using the exported JSON document of an existing workflow version. ### User Access Permission You must be assigned the **Workflow Manage Access
 - [PUT /workflows/workflow_runs/{workflow_run_id}/stop](https://developer.zuora.com/v1-api-reference/api/workflows/put_stopworkflowrun.md): Stop a specific workflow run by its ID. ### User Access Permission You must be assigned the **Workflow View Access** permission to run this operation.
