Latenode

Automatically upload new Gmail attachments to OneDrive

This Latenode automation allows users to automatically detect when a new email with an attachment arrives in their Gmail inbox and then upload a copy of that file to a specified folder in their OneDrive storage. This can help users streamline their email workflows by ensuring important attachments are backed up and accessible across their productivity tools without manual intervention.

Updated Apr 6, 2026Est. run: 26sEst. cost: $0.0703
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. 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 credits work →
Email

Workflow preview

What this template does

  • Detects new emails with attachments in your Gmail inbox
  • Uploads a copy of the attachment to a specified OneDrive folder
  • Preserves important email attachments in a secure cloud storage location
  • Enables access to attached files across your productivity tools
  • Generates a backup of email attachments without manual intervention

How it works

1
Trigger

Connect to Gmail

The automation connects to the user's Gmail account and monitors their inbox for new emails with attachments.

2
Logic

Filter for emails with attachments

The automation filters the user's inbox to only process emails that contain attachments, ensuring that the workflow only acts on relevant messages.

3
Action

Upload to OneDrive

For each email with an attachment, the automation uploads a copy of the file to a specified folder in the user's OneDrive storage, providing a secure backup and easy access to the attachment across the user's productivity tools.

Setup guide

1

Add Gmail credential in Latenode

1. In the Latenode Credentials panel, add a new credential for Gmail. 2. Authenticate with your Google account to grant Latenode access to your Gmail inbox.

2

Configure Gmail node in Latenode builder

1. In the Latenode visual builder, add a Gmail node. 2. Select the Gmail credential you added in the previous step. 3. Configure the node to monitor your inbox for new emails with attachments.

3

Add OneDrive credential in Latenode

1. In the Latenode Credentials panel, add a new credential for Microsoft OneDrive. 2. Authenticate with your Microsoft account to grant Latenode access to your OneDrive storage.

4

Configure OneDrive node in Latenode builder

1. In the Latenode visual builder, add an OneDrive node. 2. Select the OneDrive credential you added in the previous step. 3. Configure the node to upload files to a specific folder in your OneDrive storage.

5

Map email attachment to OneDrive upload

1. In the Latenode visual builder, connect the Gmail node to the OneDrive node. 2. Map the email attachment from the Gmail node to the file input in the OneDrive node.

Requirements

Connect a Gmail account that can receive emails with attachments
Connect a Microsoft OneDrive account with write access to a specific folder
Configure the Gmail trigger to detect new emails with attachments
Configure the OneDrive action to upload attachments to the specified folder

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.

More templates

You might also like

Browse all templates →
Email

Sync Outlook calendar events to Harvest for automated time tracking

This automation template allows users to automatically create a corresponding time entry in Harvest, a time tracking and invoicing application, whenever a new calendar event is scheduled in Microsoft Outlook. The automation pulls in key details from the calendar event, such as the title, date, and duration, and uses this information to populate the Harvest time entry. This integration streamlines the process of logging work time, ensuring that billable hours are accurately tracked and recorded. The primary user for this automation would be professionals who rely on both Outlook and Harvest to manage their schedules and finances, seeking a seamless way to bridge these two tools.

26s$0.0703
Email

Streamline Outlook email management with ChatGPT-powered replies

This automation allows Outlook users to generate AI-based email replies by processing incoming messages with ChatGPT. The solution integrates with Microsoft Outlook, analyzing each incoming email and then drafting a personalized response using the power of large language models. Once the AI-generated reply is ready, the automation can either automatically send the message or present it to the user for review before sending. This streamlines the email management process, enabling users to quickly and intelligently respond to a high volume of messages with minimal effort.

26s$0.0703
Email

Automatically send SurveyMonkey surveys for flagged Outlook emails

This workflow automatically triggers a SurveyMonkey survey to be sent whenever a new email is flagged in a user's Microsoft Outlook mailbox. By streamlining the process of soliciting feedback, this automation helps businesses promptly and systematically gather crucial data from their customers or employees. The workflow is triggered by a 'New Flagged Email' event in Microsoft Outlook, and it then sends the configured SurveyMonkey survey to the relevant recipients. This efficient process saves users time by eliminating the manual steps of identifying flagged emails and sending surveys individually.

7s$0.0004