Blocks

Microsoft OneDrive

List, upload, and download files via Microsoft Graph (OneDrive).

Manage OneDrive files using Microsoft Graph API with OAuth.

Back to Catalog
Toolsonedrive

Block Preview

Microsoft OneDrive

Microsoft OneDrive

List, upload, and download files via Microsoft Graph (OneDrive).

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Connect the required credentials or OAuth provider before running.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the onedrive block with monitoring enabled in production.

Inputs (UI)

OneDrive Account

oauth-input

Placeholder: Select Microsoft account

Layout: full

Provider: microsoft-onedrive

Operation

dropdown

Layout: full

Options: List Files, Upload File, Download File

Drive ID

short-input

Placeholder: Optional, defaults to /me/drive

Layout: full

Item ID

short-input

Placeholder: For download by ID

Layout: half

Path

short-input

Placeholder: /Documents/file.txt

Layout: half

Content Type

short-input

Placeholder: text/plain

Layout: half

Contents (upload)

long-input

Placeholder: File contents for upload

Layout: full

Inputs (API)

credential

string

Required

operation

string

Required

driveId

string

Optional

itemId

string

Optional

path

string

Optional

contents

string

Optional

contentType

string

Optional

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

onedrive_files
Microsoft OneDrive | NowFlow Blocks