# run-workflow

## Description

The `run-workflow` adaptor runs another Workflow allowing you to re-use a workflow across multiple workflows without having to import the individual adaptors. This allows you to make common 'building block' workflows and use them in any number of new workflows.

## Inputs

**`workflow`**\
Type: `text`\
Required: Yes\
The ID or the URL of the workflow to run.

## Outputs

## Examples

### Example 1: Default Behaviour.

#### Inputs:

`workflow`: nCqNLD6DokPC2TUg8rmps

#### Outputs:

-> Executed the workflow `nCqNLD6DokPC2TUg8rmps`.

## Use cases

* Users with complex workflows, involving numerous adaptors for importing data from diverse sources or steps for cleaning datasets, might find it cumbersome to repeat initial steps with each dataset update. To streamline this process, consider integrating the 'Run Workflow' adaptor into a new workflow. This approach streamlines your workflow by replacing the many adaptors of the original workflow with one adaptor.&#x20;
* Some users may want to keep a portion of a workflow private or managed centrally. Other users may access and utilize this workflow in their individual workflows using the Run Workflow adaptor without having access to the original workflow.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cgps.gitbook.io/data-flo/reference-guide/run-workflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
