Latenode

Store Microsoft 365 email content in Google Drive

This template watches Microsoft Outlook for new mail, builds a text file from subject and body in JavaScript, and creates that file in a Google Drive folder. Connect Microsoft Outlook and Google Drive. This uses Outlook mail, not calendar. Point the Drive step at the archive folder you want.

Updated Sep 16, 2026Est. run: 10sEst. cost: $0.0006
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

  • Archives new Outlook mail as Drive text files
  • Uses Outlook mail, not calendar
  • Names each file from the subject
  • Keeps Outlook and Drive on their own connections

How it works

1
Trigger

New Outlook message

The scenario starts when a new email arrives in the Outlook mailbox you connect.

2
Logic

Build the text file

JavaScript combines sender, subject, and body into a plain-text file named from the subject.

3
Action

Save to Google Drive

Google Drive creates a text file in the folder you choose.

Setup guide

1

Connect Microsoft Outlook

Add a Microsoft Outlook connection with permission to read mail. Add a trigger for new messages. This step is email, not a calendar event.

2

Connect Google Drive

Add a Google Drive connection with write access to the archive folder.

3

Map subject and body

In JavaScript, build the file name and text from sender, subject, and body. Create a new file from that text in Drive. Send a test email and confirm the file.

Requirements

A Microsoft Outlook mailbox connected in Latenode
Permission to read messages
A Google Drive folder Latenode can write to

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.