Skip to content

File Storage

Reads and writes data from a file stored inside the file storage.

Categories: file-storage, helpers

Type: fileStorage/v1


Actions

Read from File as String

Name: read

Reads data from the file as string.

Properties

NameLabelTypeControl TypeDescriptionRequired
fileEntryFileFILE_ENTRYFILE_ENTRYThe object property which contains a reference to the file to read from.true

Output

Sample Output:

Sample content

Type: STRING

Write to File

Name: write

Writes the data to the file.

Properties

NameLabelTypeControl TypeDescriptionRequired
contentContentSTRINGTEXTString to write to the file.true
filenameFilenameSTRINGTEXTFilename to set for data. By default, “file.txt” will be used.null

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT

Download File

Name: download

Download a file from the URL.

Properties

NameLabelTypeControl TypeDescriptionRequired
urlURLSTRINGTEXTThe URL to download a file from.true
filenameFilenameSTRINGTEXTFilename to set for data. By default, “file.txt” will be used.null

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT