# Add Analysis Workflows to an Existing Biosample

You can use the biosample workflow file to add new analysis workflow instructions to existing biosamples.

1. Create a CSV file as follows. See [Biosample Workflow File Format](/basespace/files-used-by-basespace/biosample-workflow-files.md) for more information about the template file and field requirements.
   1. Download or open a biosample workflow template.
   2. For each biosample, enter the following required information.
   3. Biosample Name—The unique identifier for the source DNA.
   4. Default Project—The default project for storing analysis data.
   5. Analysis Workflow—The name of the analysis workflow.
   6. \[Optional] Enter additional analysis workflow parameters.
   7. Save the file.
2. From the biosamples master list, select the File drop-down arrow, point to Upload, and then select Biosample Workflow.
3. In the Upload a Biosample Workflow dialog, add your biosample workflow file.

{% hint style="info" %}
All template columns must be present in the biosample workflow file, but the Default Project cannot be changed using a biosample workflow. If the biosample does not exist in the specified project, BaseSpace Sequence Hub creates a new biosample in the project. For information about changing the default project for a biosample, see [Change Default Project](/basespace/biosamples/manage-biosamples.md#change-default-project).
{% endhint %}

BaseSpace Sequence Hub validates the file and identifies any errors.

* If there are errors in the file, correct the file and upload it again.
* If there are no errors, review the notifications and select Continue.


---

# 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://help.connected.illumina.com/basespace/biosamples/biosample-workflow/add-analysis-workflows-to-existing-biosamples.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.
