Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Upload to OneDrive

AI-generated

Summary

Uploads a binary file from each input item to a specified OneDrive or SharePoint drive using Microsoft Graph. Uses the configured binary property and optional filename and MIME type overrides.

Inputs

  • Binary Property (required) — Name of the input item's binary property containing the file; defaults to data.
  • Drive ID (required) — OneDrive or SharePoint drive ID to upload the file to.
  • File Name — Filename to use for the uploaded file. If empty, uses the binary property's filename.
  • Content Type — MIME type to send for the file; defaults to application/octet-stream.

Output shape

A single item per uploaded input file, containing the upload result.

The operation uploads through Microsoft Graph. The detailed result fields are not visible in the provided source pack.

Links

Discussion