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
with Microsoft Windows 10
Locate a file in a known folder, read it, and write updated content back.
- List files of the requested type in the known folder and capture the first file's path as the working file id.
- Fetch detailed properties for the selected file, including size and modification time.
- Read the current text content of the file before overwriting it.
- 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.