# 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


---

# 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/import-file-from-figshare.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.
