Storage

Read and write files on the local machine, Google Drive, and OneDrive.

One group for every place a run keeps files. The local components read and write text or binary files, copy them, search by name pattern or regex, and list or write whole directories, all relative to the workflow's working directory. They never create intermediate directories, so ensure parent paths exist before writing.

The Google Drive and Microsoft OneDrive components work through a connection resolved from the connections store, listing a folder's children, downloading one item's metadata and content, or creating and replacing a file. The synced listing detects the Google Drive for Desktop and OneDrive folders already present on the machine and returns their local roots, so a workflow can reach provider files with the plain local components and no API authentication at all.

Components

Each component links to its own page with its full options and outputs.

NameDescription
storage:google:drive:listLists Google Drive files visible to the app's drive.file grant, using a connection resolved from the connections store.
storage:google:drive:readDownloads one Google Drive file's metadata and content, using a connection resolved from the connections store.
storage:google:drive:writeWrites content into Google Drive under the app's drive.file grant, creating a new file or replacing an existing one, using a connection resolved from the connections store.
storage:local:dir:readRead a directory with filters
storage:local:dir:writeCreate or delete a directory
storage:local:file:copyCopies a file from source to destination, preserving file permissions
storage:local:file:find
storage:local:file:readReads the full contents of a file and returns it as both a string and raw bytes
storage:local:file:writeWrites or appends content to a file, optionally deleting it first
storage:local:synced:listDetects locally synced Google Drive for Desktop and OneDrive folders and returns their local root paths, so workflows read and write provider files with the plain fs components and zero API auth.
storage:microsoft:onedrive:listLists the children of a OneDrive or SharePoint folder over Microsoft Graph, using a connection resolved from the connections store.
storage:microsoft:onedrive:readDownloads one OneDrive or SharePoint file's metadata and content over Microsoft Graph, using a connection resolved from the connections store.
storage:microsoft:onedrive:writeWrites content into a OneDrive or SharePoint drive over Microsoft Graph, creating or replacing the target file, using a connection resolved from the connections store.