Back
OneDrive New file in folder. Gmail Send an email.

Email new OneDrive files via Gmail

Connect

How this automation works

Automatically send new OneDrive files to your chosen email recipients through Gmail. This Applet runs whenever a new file is added to a specific OneDrive folder, attaching that file to an outgoing Gmail message. It's perfect for forwarding documents to Kindle or sharing new uploads instantly with colleagues. Customize the message to fit your tone.

If
OneDrive icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time a new file is created in the folder you specify.
Filename FilenameNoExt ModifiedTime ModifiedBy FileUrl
Then
Gmail icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send an email to up to twenty recipients from your Gmail account.
to cc bcc subject body attachment_url

Services used in this Applet

Create your own Gmail and OneDrive workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

17 triggers, queries, and actions

New file in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time a new file is created in the folder you specify.

New file matching regex in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify

New file matching search in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new file whose filename or file contents contains the words you specify is added to the folder you specify

New file or folder shared with me

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new file or folder is shared with you

New photo in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new photo is created in the folder you specify.

New tagged photo in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new photo with the tag you specify is created in the folder you specify.

History of file matching regex uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent files whose filename matches the regular expression you specify is added to the folder you specify

History of file matching search uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files whose filename or file contents contains the words you specify is added to the folder you specify

History of files or folders shared with me

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files or folders shared with you

History of files uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files created in the folder you specify.

History of photo uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos created in the folder you specify.

History of photos with a tag uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent photos with the tag you specify is created in the folder you specify.

Add file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file at a given URL and add it to OneDrive at the path you specify. NOTE: 30 MB file size limit.

Append to a text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will append to a text file as defined by the file name and folder path you specify

Create text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new text file at the path you specify

Send an email

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send an email to up to twenty recipients from your Gmail account.

Send yourself an email

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send yourself an email. HTML, images and links are supported.

Add file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file at a given URL and add it to OneDrive at the path you specify. NOTE: 30 MB file size limit.

Append to a text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will append to a text file as defined by the file name and folder path you specify

Create text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new text file at the path you specify

History of file matching regex uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent files whose filename matches the regular expression you specify is added to the folder you specify

History of file matching search uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files whose filename or file contents contains the words you specify is added to the folder you specify

History of files or folders shared with me

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files or folders shared with you

History of files uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files created in the folder you specify.

History of photo uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos created in the folder you specify.

History of photos with a tag uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent photos with the tag you specify is created in the folder you specify.

New file in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time a new file is created in the folder you specify.

New file matching regex in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify

New file matching search in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new file whose filename or file contents contains the words you specify is added to the folder you specify

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Gmail and OneDrive

About Gmail

Connect Gmail to send emails to yourself and others.

Explore Gmail

More integrations with Gmail

About OneDrive

OneDrive is the place to store your files so you can access them from virtually any device. Use OneDrive and you'll never be without the documents, notes, photos, and videos that matter to you.

Explore OneDrive

More integrations with OneDrive

IFTTT helps all your apps and devices work better together

Get started for free