SharePoint assign file action
- Updated: 2025/01/15
Use the Assign file action to open a file stream for a SharePoint file and assign it to a file variable. The FileStream allows the API Tasks to run automation on files without downloading them to the local desktop or within the Control Room storage.
You can use the Assign file action for all file types that SharePoint supports.
For example, use the Assign file action to open a file stream for a text file located in a SharePoint location and assign it to a text file variable. You can then use this text file variable for automations that use the Upload file, Upload list image, and Upload list attachment actions.
Prerequisites
- Ensure that you are logged in to the Control Room with appropriate permissions.
- Ensure that you are authenticated before initiating any SharePoint action. For more details, see Configure OAuth connections in Control Room.