Skip to main content
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.
SettingDescription
Remote FolderFiles processed by the connector are uploaded to the folder specified here.
OverwriteWhether files that already exist in the remote folder should be overwritten or skipped.

Receive

Settings related to downloading from the remote storage.
SettingDescription
Remote FolderThe remote folder from which files are downloaded.
File MaskA glob pattern that determines which files in the Remote Folder should be downloaded (for example, *.txt). If you need to specify multiple file masks, use the Receive Filter in the Advanced Settings instead.
DeleteCheck this to delete successfully downloaded files from the remote storage.

Caching

Settings related to caching and comparing files between multiple downloads.
SettingDescription
File Size ComparisonCheck this to keep a record of downloaded file names and sizes. Previously downloaded files are skipped unless the file size is different than the last download.
Timestamp ComparisonCheck this to keep a record of downloaded file names and last-modified timestamps. Previously downloaded files are skipped unless the timestamp is different than the last download.
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.
SettingDescription
RecurseWhether to download files in subfolders of the target remote path.
TimeoutThe duration the connector waits for a connection response before throwing a timeout error.
Receive FilterA glob pattern filter to determine which files should be downloaded from the remote storage (for example, *.txt). You can use negative patterns to indicate files that should not be downloaded (for example, -*.tmp). Use this setting when you need multiple File Mask patterns. Multiple patterns can be separated by commas, with later filters taking priority except when an exact match is found.
Local File SchemeA scheme for assigning filenames to messages that are output by the connector. You can use macros in your filenames dynamically to include information such as identifiers and timestamps. For more information, see Macros.
Processing DelayThe amount of time (in seconds) by which the processing of files placed in the Transactions tab is delayed. This is a legacy setting. Best practice is to use a File connector to manage local file systems instead of this setting.

Proxy Settings

Logging

Miscellaneous

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.
SettingDescription
SendWhether files arriving at the connector are automatically uploaded.
Retry IntervalThe amount of time before a failed upload is retried.
Max AttemptsThe maximum number of times the connector processes the input file. Success is measured based on a successful server acknowledgement. If you set this to 0, the connector retries the file indefinitely.
ReceiveWhether the connector should automatically poll the remote download path for files to download.
IntervalThe interval between automatic download attempts.
Minutes Past the HourThe minutes offset for an hourly schedule. Only applicable when the interval setting above is set to Hourly. For example, if this value is set to 5, the automation service downloads at 1:05, 2:05, 3:05, etc.
TimeThe time of day that the attempt should occur. Only applicable when the interval setting above is set to Daily, Weekly, or Monthly.
DayThe day on which the attempt should occur. Only applicable when the interval setting above is set to Weekly or Monthly.
MinutesThe number of minutes to wait before attempting the download. Only applicable when the interval setting above is set to Minute.
Cron ExpressionA five-position string representing a cron expression that determines when the attempt should occur. Only applicable when the interval setting above is set to Advanced.

Performance

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