Archive Gmail files to OneDrive on a schedule

Utilities

What it does

When a scheduled interval triggers, this automation finds a new email in Gmail and uploads the file from that message to OneDrive. Someone can rely on this to move files without opening either app.

Who it's for

Operations teams who need to back up Gmail files to OneDrive on a regular cadence.

Apps used

How teams use this

Archive email attachments daily

Set the interval to run each morning so files from overnight emails are uploaded to OneDrive before the workday starts. The team has a single source of truth for all documents.

Sync reports to a shared drive

Route the automation to a shared Gmail inbox where reports arrive, then upload them to a team OneDrive folder. No one has to download and re-upload the files manually.

Filter emails by subject line

Add a condition to only upload files from emails with a specific subject, such as invoices or contracts. This keeps OneDrive organized and prevents unrelated files from cluttering the folder.

How it works

  1. Check for new email on schedule. At the specified interval, Gmail checks for a new email that contains a file link to upload to OneDrive.
  2. Upload file to OneDrive. OneDrive receives the file link from the Gmail message and uploads that file to the designated folder so it is backed up and organized.