Skip to content

Connect OneDrive to Outlook

Connect OneDrive to Outlook to save email attachments and exports into tidy OneDrive folders, and email people a link when something new is saved.

Build your own

Build any OneDrive and Outlook automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between OneDrive and Outlook in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Save only attachments over 1 MB from emails in my Clients folder to OneDrive, and skip images like signatures and logos.

When a file is added to my OneDrive Contracts folder, have AI read it and email me the renewal date and notice period.

Use cases

Why people connect OneDrive and Outlook

How the two apps work together

  • New Outlook messages and OneDrive file changes can reach a trigger link through Microsoft Graph change notifications, or the script checks every few minutes.
  • Attachments are saved to OneDrive in the folder structure you describe.
  • Outlook emails can be sent with OneDrive links when files are added.
  • Accountants save client documents from email

    Attachments from client emails are saved to OneDrive folders named after each client. Year-end documents are already in place.

  • Freelancers share large files by link

    When a file is added to a OneDrive delivery folder, the client gets an Outlook email with a share link. Large files do not bounce.

  • Admins back up email attachments

    All attachments from a mailbox folder are copied to OneDrive daily. Important files are kept even if mail is cleaned up.

  • Managers get notified of new shared files

    New files in a shared OneDrive folder trigger an Outlook email to the reviewer. Approvals do not wait for someone to check the folder.

More apps

OneDrive, Outlook and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

Attachments to OneDrive with a Teams post

When an email with an invoice attachment reaches my Outlook, save it to my OneDrive Invoices folder and post the file link in our Teams Finance channel.

Log saved attachments in Excel

Each time an Outlook attachment is saved to OneDrive, add a row to my Files Excel table with sender, filename and link.

Delivery folder updates to Slack and email

When a file is added to my OneDrive Client Deliveries folder, email the client a link from Outlook and post a note in #deliveries on Slack.

Setup

Connect OneDrive and Outlook once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

OneDrive

File storage

  1. At entra.microsoft.com, open App registrations and create a registration with the Web redirect URI https://clickruntime.com/oauth/callback, or reuse the one you made for Outlook.
  2. Under Certificates & secrets, create a client secret and copy its value.
  3. Under API permissions, add Microsoft Graph delegated permissions Files.ReadWrite.All and offline_access, and grant admin consent if your organisation asks for it.
  4. In the ClickRuntime dashboard, open Connections, choose OneDrive and enter the Tenant ID, Client ID and client secret.

Outlook

Email

  1. At entra.microsoft.com, go to Identity → Applications → App registrations → New registration. Choose single tenant for a work account, or any organisation plus personal accounts for Outlook.com, and add the Web redirect URI https://clickruntime.com/oauth/callback.
  2. Under Certificates & secrets, create a new client secret and copy its value straight away.
  3. Under API permissions, add Microsoft Graph delegated permissions Mail.ReadWrite, Mail.Send, offline_access and User.Read, then grant admin consent if your organisation requires it.
  4. In the ClickRuntime dashboard, open Connections, choose Outlook and enter the Tenant ID, Client ID and client secret.

FAQ

Questions about connecting OneDrive and Outlook

Does it work with OneDrive for Business and personal OneDrive?
Yes. It uses whichever account you connect, work or personal.
Can it save into a shared folder?
Yes, as long as your account can write to that folder.
Are shared links public?
You choose. Links can be limited to people in your organisation or to specific people, which is the safer default.
Will it fill up my OneDrive?
Only with what you ask it to save. The backup automation also deletes copies older than the number of days you set.
Will saved files overwrite older versions?
You choose. The script can add a date to filenames, or overwrite and rely on OneDrive version history.
Can it share files with people outside my organisation?
It can create sharing links if your Microsoft 365 policy allows external sharing.
Does it work with OneDrive for Business?
Yes. Both OneDrive for Business and personal OneDrive work through Microsoft Graph.

Tell your assistant what OneDrive and Outlook should do together

Free plan. No credit card.