Write to Text File
Write the contents of a variable into a new or existing text file.
When adding a 'Write to text file' command, you have the option to select either the Local File System or SharePoint Online as the file storage location.
-
Select Local File System as your file storage location.
-
Enter the full file path and file name of the text file where you want to write data.
-
If the file does not exist, the wizard will create one with the name you entered.
-
-
Enter the name of the variable whose contents you wish to write to the file.
-
Choose how to treat any existing text in the file:
-
Add the contents of the variable to the end of the existing text (append text).
-
Replace the existing text with the contents of the variable (overwrite text).
-
-
Expand the Error handling option to provide instructions to the wizard on how to manage encountered errors. For more information on error handling, see Error handling.
You can write to a text file stored in your SharePoint Online.
See here for details, SharePoint Online.