One Drive Writer
One Drive Writer saves the content it receives from the flow to your Microsoft OneDrive storage as a text file, for example a summary or a report written by an agent.
It is an older component kept for the flows that already use it. For new flows, Files uploads, updates and shares OneDrive files with more control.
When to use it
- Saving to OneDrive the text of a report an agent prepares.
- Keeping an older flow that already uses it working.
Configuration
This component needs the credential of the Microsoft One Drive service. In the Credential field (required), pick one with Choose an option or create one with Add new credential. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | The credential of your Microsoft account. |
| Upload file or select file | A OneDrive file to copy into the folder, with the name in File Name (or its own name if that is empty). Leave it empty when the content arrives through File content. |
| File Name (required) | The file name. |
| Select folder to save files | The OneDrive folder where you want to save the file. Pick it in the selector; left empty, the file is saved in the root of your OneDrive. If the folder already has a file with that name, it is replaced. |
| File content | The content of the file. Connect the data with the text you want to save; the text of the first item is saved exactly as it is. |
If there is neither a file nor content, the component stops and asks you to upload or pick a file.
Output
Path to File returns the web address of the file created in OneDrive.
Example
A consultancy saves the summary of every client meeting in OneDrive:
- An agent summarises the meeting transcript.
- One Drive Writer receives the summary in File content, with File Name
client-meeting.txt. - The file is saved in OneDrive and Path to File returns its address.
Good practices
- In new flows use Files, which lets you choose the folder and the action precisely.
Related components
- Files: lists, reads, uploads, updates, deletes and shares OneDrive files.