Skip to main content

Celonis Product Documentation

OneDrive (Action Flow)

Important

Any references to third-party products or services do not constitute Celonis Product Documentation nor do they create any contractual obligations. This material is for informational purposes only and is subject to change without notice.

Celonis does not warrant the availability, accuracy, reliability, completeness, or usefulness of any information regarding the subject of third-party services or systems.

With OneDrive modules in Celonis platform, you can manage files and folders in your OneDrive account.

To use the OneDrive modules, you must have a OneDrive account. You can create an account at onedrive.live.com.

Refer to the Microsoft Graph REST API documentation for a list of available endpoints.

Connect OneDrive to Celonis platform

To establish the connection in Celonis platform:

  1. Log in to your Celonis platform account, add a OneDrive module Action Flow to your Action Flow, and click Create a Connection.

    Note: If you add a module with an instant tag, click Create a webhook, then Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. Optional: Click Show Advanced Settings and enter your custom app client credentials, and Tenant ID.

  4. Click Save.

  5. If prompted, authenticate your account and confirm access.

    You have successfully established the connection. You can now edit your Action Flow and add more OneDrive modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.Connect an application

Build OneDrive Action Flows

After connecting the app, you can perform the following actions:

Files

  • Watch Files

    Note: This webhook is valid for a one month period after being created/updated. To keep it active, make sure to trigger it within the given period and it will automatically refresh a new expiration date.

    This webhook acts as a simple notification to inform you of changes to a user's drive and does not include any information about the changes that triggered it.

  • Watch Files/Folders

  • Search Files/Folders

  • Get a File

  • Download a File

  • Upload a File

  • Create a Folder

  • Get a Share Link

  • Move a File/Folder

  • Rename a File/Folder

  • Copy a File

  • Delete a File/Folder

Other

  • Make an API Call

  • Upload a File by URL

  • Send a Sharing Invitation

Unable to Upload or Update a File

There are several situations when uploading or updating a file may fail:

  • The uploaded file is too big and exceeds the maximum file size limit for your OneDrive plan, or you have used all of your OneDrive account's storage quota. To get more storage space, delete existing files from OneDrive, or upgrade your OneDrive account.

  • The previously selected folder to which the file is being uploaded no longer exists. The Action Flow is stopped, and you must select the target folder again.

  • Search Files and Folders - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Get a File - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Download a File - Files.Read.All, Group.Read.All, Sites.Read.All, offline_access, User.Read

  • Upload a File - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Create a Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Get a Share Link - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Move a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Copy a File - Move a File/Folder, Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Delete a File/Folder - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read

  • Make an API Call - Files.ReadWrite.All, Sites.ReadWrite.All, Group.ReadWrite.All, offline_access, User.Read