The OneDrive connector uploads to and downloads from the OneDrive cloud storage service.
Key Capabilities
- Microsoft OneDrive cloud storage integration with OAuth authentication and automatic token refresh
- Bidirectional file transfer functionality with folder-based organization and glob pattern filtering
- Optional file deletion after download with overwrite protection
- Optional caching to ensure only new or updated files are downloaded
Overview
Each OneDrive connector connects to a specified OneDrive storage account. Within the remote storage, you set a single folder as the upload target and a single folder as the download target.
Files that reach the OneDrive connector in the flow are uploaded to the upload target folder, and files found in the download target folder are downloaded and entered into the flow. The connector supports upload and download filters to send and receive only specific file names and/or file extensions.
Account authentication uses OAuth, so you must enter account credentials in an external site portal the first time the connector connects. The external portal generates an OAuth token that the connector uses to connect, then the connector handles token refresh automatically.
Connector Configuration
This section contains all of the configurable connector properties.
Settings Tab
Authorization
Click the Connect button to authorize the connector with the storage service by redirecting to a site login portal. Once you enter the account credentials in the portal, the resulting authorization token is returned to and stored for repeated use.
Send
Settings related to uploading to the remote storage.
Receive
Settings related to downloading from the remote storage.
Caching
Settings related to caching and comparing files between multiple downloads.
When you enable caching, the file names are case-insensitive. For example, the connector cannot distinguish between TEST.TXT and test.txt.
Advanced Tab
Advanced Settings
Settings not included in the previous categories.
Proxy Settings
Logging
Miscellaneous
Automation Tab
Automation Settings
Settings related to the automatic processing of files by the connector.
Alerts Tab
SLAs Tab
Establishing a Connection
All that you need to establish a connection with the OneDrive connector is a set of OneDrive account credentials. Click the Connect button on the Settings tab to be directed to a login portal site. Enter your account credentials in this portal to return an authorization token to the connector. This process is only necessary for the first time the connector connects to the storage service.
Uploading and Downloading
Upload
To upload files, set the Remote Folder field in the Send portion of the Settings page to the folder where files should be uploaded. Each OneDrive connector uploads to a single folder location.
Use the Overwrite remote files option to indicate whether files that already exist in the remote folder should be overwritten or skipped.
After configuration is complete, files placed in the connector Transactions tab are uploaded to the remote storage. If Send Automation is enabled, the upload happens automatically; otherwise, you can send individual files from the Transactions tab.
Download
To download files, set the Remote Folder field in the Receive portion of the Settings page to the folder where files should be downloaded.
Use the File Mask to set a glob filter (for example *.txt) that limits the downloads to files matching the filter. To specify multiple filters, use the Receive Filter option on the Advanced tab.
Use Delete to specify whether successfully downloaded files should be removed from the remote storage.
After configuration is complete, files are downloaded according to the Receive Automation settings, or you can manually click the Receive button on the Transactions tab.
Macros
Examples