capabilities.work

Storage Read and Update File

A 4-step recipe with Microsoft Windows 10. We can help you get access.

Recipe · 4 steps

Storage Read and Update File

Locate a file in a known folder, read it, and write updated content back.

  1. List files of the requested type in the known folder and capture the first file's path as the working file id.
  2. Fetch detailed properties for the selected file, including size and modification time.
  3. Read the current text content of the file before overwriting it.
  4. Write the new text content back to the same file using a UTF-8 text write.
What you'll need to have ready
  • folderId: Known folder to list files from.
  • fileType: Optional file extension filter (e.g. .txt).
  • newContent: New text content to write back to the file.
For your developer

Arazzo workflow microsoft-windows-10:read-and-update-file, 4 operations: listStorageFiles → getStorageFile → readFileContent → writeFileContent. Specs on APIs.io.