UiPath Integrations

The UiPath Integrations Guide

Welcome to the UiPath Integrations guide. You will find comprehensive guides and documentation to help you start working with UiPath Integrations, as well as support if you get stuck.

In order to download the solutions mentioned here please visit the official UiPath Go! Marketplace here.

*Note that only integrations built in-house at UiPath are detailed below. For a complete list of UiPath's technology partners, see here.

Quickstart - Create, Upload, Get, and Send

Overview

The purpose of this guide is to help you create a working sample that uses different Microsoft Office 365 activities, including the Create Folder, Upload File, Get Item, and Send Mail activities.

After completing the steps in this guide, you'll have an automation sequence that does the following:

  1. Establishes a connection to your registered Microsoft Office 365 application (Microsoft Office 365 Scope).
  2. Creates a new folder in your OneDrive to store a new workbook (Create Folder).
  3. Uploads a file to the new folder (Upload File).
  4. Gets the file uploaded file metadata (Get Item).
  5. Verifies the results of the Upload File and Get Item activities by sending you an email that includes a link to your uploaded file (Send Mail).
Quickstart message sequence diagram (how it works)

Quickstart message sequence diagram (how it works)

Prerequisites

Before you begin:

  1. Complete the Microsoft Office 365 Setup steps.

Steps

Build your project

  1. Add the Microsoft Office 365 Scope activity to your project.
    1. Enter the ApplicationId for your registered application (for more information, see the Setup guide).
    2. From the AuthenticationType drop-down list, select the applicable type (e.g., InteractiveToken).
      • If you select InteractiveToken and run the sequence while you're present, you don't need to add a Password, Tenant, or Username in the Unattended section (leave empty).
    3. From the Services drop-down list, select Files (you can select the other services as well).
  2. Add the Create Folder activity after the Microsoft Office 365 Scope activity.
    1. Enter a Name for the folder (e..g, "Quickstarts").
    2. In the ParentDirectory property, enter the directory where this folder will be created.
      • If you want to create the folder in your root directory (like we do in this example), leave this property empty.
    3. Create and enter a new DriveItem variable for your Folder value (e.g., newFolder).
      • When creating your variable, select Microsoft.Graph.DriveItem as the variable type.
  3. Add the Upload File activity after the Create Folder activity.
    1. In the Destination property, enter the DriveItem variable you created for the Create Folder activity (e.g., newFolder).
    2. Enter the LocalFilePath of the file that you want to upload (e.g., _"C:\UiPathProjects\DemoFile.docx")
    3. Create and enter a new DriveItem variable for your Result value (e.g., uploadedFile).
      • When creating your variable, select Microsoft.Graph.DriveItem as the variable type.
  4. Add the Get Item activity after the Upload File activity.
    1. In the ItemID property, enter the DriveItem variable that you created for the Upload File activity (e.g., uploadedFile) and append .Id at the end of the variable (e.g., uploadedFile.Id)
    2. Create and enter a new DriveItem variable for your Item value (e.g., getFile).
      • When creating your variable, select Microsoft.Graph.DriveItem as the variable type.

Test your project

  1. To verify that your file was uploaded and found in your new OneDrive folder, add the Send Mail activity after the Get item activity.
    1. In the Body property, enter the following String to include a link to the file: "Here is a link to the file: "+getFile.WebUrl.
    2. Enter a Subject for your email (e.g., "Link to OneDrive File").
    3. Enter your email address in the To property (e.g., {"[email protected]"}).
      • Remember to include your email address inside {}. For more information, see the Send Mail To property details.
  2. Click start and verify your results by checking your email and clicking the link to view your file.

You're done!

When you're ready, try the other Quickstart guides to get more familiar with the different Microsoft Office 365 activities.

To learn more about the other Microsoft Office 365 activities, see the Activities page for a complete activity list and links to the activity detail pages.

Updated 3 months ago


Quickstart - Create, Upload, Get, and Send


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.