activities
latest
false
Productivity Activities
Last updated Oct 23, 2024

Notify me by email when a new file is created

Summary: When a file is added to a OneDrive folder, notify me by email and send me a link to the file.

Applications: OneDrive, Outlook Mail

Description:

This example explains how to create a workflow that automatically notifies you by email when a new file is created in OneDrive and sends you a link to the file.

This example presents Microsoft 365 activities such as File Created and Send Email.

Workflow

Tip: If you want to save time, use the Notify me by email when a new file is created template in Studio Web to build this workflow.
  1. Open Studio Web and create a new project.
  2. For How to start the automation select Event based, then select the Microsoft 365 File Created trigger activity.
  3. In the trigger activity:
    1. Set up your Microsoft OneDrive & SharePoint connection.
    2. Set the In Location field. For example, select one of your OneDrive folders and set additional filters, if needed.


  4. Before adding the next activity, open Data Manager and create a new variable to store your email address.
  5. Add a Send Email activity and configure it as follows:
    1. In the To field, add the in_MyEmail variable.
    2. In the Subject field, add, for example, the following text: New file added: + CreatedFile.FullName.
    3. In the Body of the email, add a message that suits your needs. Additionally, you can add the CreatedFile.Uri variable.


  6. You're done and ready to run your project!
  • Workflow

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.