Latenode

Automatically upload new Gmail attachments to OneDrive

This template watches Gmail for new attachments, downloads each file, and uploads it to a OneDrive folder you choose.

Use it so invoices, briefs, and other attachments live in OneDrive without dragging them over. Connect Gmail and OneDrive, then point the trigger at new attachments and pick the destination folder.

Updated Sep 16, 2026Est. run: 6sEst. cost: $0.0004
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Copies new Gmail attachments into OneDrive as they arrive
  • Downloads the file from Gmail
  • Uploads it to the OneDrive folder you choose
  • Keeps Gmail and OneDrive credentials on their own connections

How it works

1
Trigger

Watch Gmail for attachments

The scenario starts when a new email with an attachment arrives in the Gmail inbox you connect.

2
Action

Download the file

Latenode fetches the attachment bytes from Gmail. If the message has more than one file, each file is handled in turn.

3
Action

Upload to OneDrive

The file is saved in the OneDrive folder you pick.

Setup guide

1

Connect Gmail

Add a Gmail connection with access to the inbox that receives the attachments.

2

Connect OneDrive

Add a OneDrive connection with write access to the folder that should receive copies.

3

Point trigger and folder

Add a Gmail trigger for new attachments, download each file, and upload it to the OneDrive folder. Narrow by sender or label if you only want some mail.

Requirements

A Gmail inbox Latenode can read
A OneDrive folder Latenode can write to
Messages that include file attachments

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.