> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# File Save Node

> Save files into the Vectorshift platform

<img src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/general/file-save.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=940ab459dd4104138776c40748fbf9f7" alt="File Save" width="530" height="399" data-path="images/platform/pipelines/general/file-save.png" />

The file save node allows you to save files in the VectorShift platform, which will be visible on the "Files" tab.

## Node Inputs

1. File Name: The name you want to give to the file(s)
   * Type: `Text`
2. Files: The contents of the file you want to save to the platform
   * Type: `List<File>`

For providing the files you have two options:

1. If toggle is on Upload: Upload a file by clicking the upload button
2. If toggle is on Variable: Reference files from other nodes

## Node Outputs

1. File Name: The name of the file saved in the platform
   * Type: `Text`
   * Example usage: `{{file_save_0.file_name}}`

## Example

The below example shows a pipeline that converts text to a file, and then saves the file in the VectorShift platform.

1. Text Node: Contains the text
2. Text to File Node: Converts the text to pdf
   * File Type: `PDF`
   * Text to convert to file: `{{text_0.text}}`
3. File Save Node: Saves the file to the platform
   * File Name: `Example File`
   * Files: `{{text_to_file_0.file}}`

<img src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/general/file-save-example.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=4800d358ac8161a7b4e315512484e539" alt="File Save Example" width="1907" height="834" data-path="images/platform/pipelines/general/file-save-example.png" />

<img src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/general/file-save-example-file.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=8cf73cafecbe8716fc5200e13bece5f9" alt="File Save Example" width="1907" height="834" data-path="images/platform/pipelines/general/file-save-example-file.png" />
