Skip to content
ActionMicrosoft OneDriveUpdated May 2026

How do I create a OneDrive sharing link?

Short answer: Drop the "Microsoft OneDriveCreate OneDrive Sharing Link" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Item ID
itemId
stringRequiredItem ID
Link Type
type
optionsRequiredLink Type. Options: View only, Edit, Embed
Scope
scope
optionsOptionalScope. Options: Anyone with the link, Organization only
Sample request
{
"itemId": "{{trigger.itemId}}",
"type": "{{trigger.type}}",
"scope": "{{trigger.scope}}"
}
Returns
{
"id": "link-123",
"link": {
"type": "view",
"webUrl": "https://1drv.ms/..."
},
"roles": [
"read"
]
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Create OneDrive Sharing Link.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Create OneDrive Sharing Link.

What does the Create OneDrive Sharing Link action do in Microsoft OneDrive?
Generates a shareable URL with configurable scope (view/edit) and audience (anonymous/organisation/specific people). For "send the file to a customer" workflows.
What inputs does Create OneDrive Sharing Link require?
Required: Item ID, Link Type. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Microsoft OneDrive returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Create OneDrive Sharing Link support batch operations?
Yes. Run Create OneDrive Sharing Link inside a Loop node to process arrays. Tiny Command handles Microsoft OneDrive's rate limits automatically so you don't have to throttle manually.
More actions

Other Microsoft OneDrive actions.

Send create onedrive sharing link from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.