> For the complete documentation index, see [llms.txt](https://cgps.gitbook.io/data-flo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cgps.gitbook.io/data-flo/reference-guide/import-file-from-figshare.md).

# import-file-from-figshare

## Description

<mark style="color:purple;">`import-file-from-figshare`</mark> *adaptor imports a file from* [*Figshare*](https://figshare.com).

This adaptor imports a file from [Figshare](https://figshare.com) into Data-flo to make it available to other adaptors for processing.

## Inputs

**`url`**\
Type: `text`\
Required: Yes\
The URL of the Figshare file to be imported (e.g., <https://figshare.com/articles/dataset/Mykrobe_Panel_Staph_version_20201001/13033103>). You can get this URL from the address bar in your browser.

## Outputs

**`file`**\
Type: `file`\
The imported file.

## Examples

### Example 1: Default behaviour.

#### Inputs:

`url:` <https://figshare.com/articles/dataset/Zhang_tree_BEAST_Fig2_tre/3380890>

#### Outputs:

`file`: Zhang\_tree\_BEAST\_Fig2.tre

-> Imported file `Zhang_tree_BEAST_Fig2.tre` from figshare

## Use Cases

* If Figshare serves as the users' data repository, this adapter allows them to upload a file for subsequent processing
* Users can import files from Figshare and use the [`export-to-microreact-project`](/data-flo/reference-guide/export-to-microreact-project.md)adaptor for visualization
