# Importing Workflows

To import a workflow onto the DNAnexus Platform, choose a project for the imported workflow to reside in. Once you are in the **Manage** tab of your project, click the **Add** button and from the dropdown select **Import Pipeline/Workflow**.

![](/files/JLcMqUXYsLx8YH7hFqYt)

On the **Import Pipeline/Workflow** form, enter the URL of the external workflow, and select the folder where the workflow is imported:

![](/files/Pm4LpKDYFbQvq1Xpvlbs)

## Converting Existing Workflows

Bash scripts can be used to run workflows on the DNAnexus Platform, but they can be inefficient when scripts need to be run more than once, or shared among collaborators.

To help reproducibility in working with data, the DNAnexus Platform supports the use of WDL workflows.

Converting scripts to WDL workflows ensures reproducibility and allows your workflows to be published and shared. Use [dxCompiler](/downloads.md#dxcompiler) to compile WDL workflows so that they can be run on the Platform.

The workflows mentioned above can also be run on the [Cloud Workstation](/developer/cloud-workstation.md) and in a Jupyter notebook. R and Python scripts can be run in these contexts as well, but can also be turned into applets or apps. Turning scripts into applets or apps allows for efficient GUI/CLI deployment, and allows for integration with modular workflows.

Git, conda, and Docker are provisioned in the JupyterLab environment, while Git and Docker are available on Cloud Workstation (conda can be added, for example, through Miniconda).

### Workflow Tutorials

Below are resources to help you get started creating and importing workflows from different languages and sources on the DNAnexus Platform.

* Converting WDL Workflows: [dxCompiler](/downloads.md#dxcompiler)
* [Using WDL to Develop Locally and Scale to the Cloud](https://www.youtube.com/watch?v=WGkDu0d8jCc) (Webinar)
* Turning R/Python scripts into applets: [Applet building](/faqs/developing-apps-and-applets.md)

### Running Imported Workflows

Running imported workflows is similar to running workflows that you have created yourself. For more details, see [Running Workflows](/user/running-apps-and-workflows/running-workflows.md).

### Importing Nextflow Workflows

For detailed information on how to import and run a Nextflow workflow, see [Running Nextflow Workflows](/user/running-apps-and-workflows/running-nextflow-pipelines.md), including [changing the head job instance type](/user/running-apps-and-workflows/running-nextflow-pipelines.md#changing-the-head-job-instance-type).


---

# 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://documentation.dnanexus.com/developer/workflows/importing-workflows.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.
