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}}