UiPath Documentation
activities
latest
false

Productivity activities

Last updated May 12, 2026

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:

    • Set up your Microsoft OneDrive & SharePoint connection.
    • 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:

    • In the To field, add the in_MyEmail variable.
    • In the Subject field, add, for example, the following text: New file added: + CreatedFile.FullName.
    • 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated