Productivity Activities
Last updated Jul 9, 2024

Add Attachment



Uses the Microsoft Graph Add attachment API to add an attachment (FilePath) to a specified event (Event).

Project compatibility

Windows - Legacy | Windows



  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.
  • Account - (Optional) The email address with which to interact. This may include any shared mailbox to which the current user has access rights. If left blank, the current user's account is assumed. This property supports String variables and string formatted values.
    Note: Account field is mandatory for ApplicationIdAndSecret and ApplicationIdAndCertificate authentication types.
  • Event - The event that needs to be updated. This field supports only Event variables. Enter the output property variable from either the Search Events or Create Event (Events or Event) activities. If you're using the Events output property from the Search Events activity, specify the item in the array that you want to use (e.g., myEvents(0)).
  • FilePath - The local location of the file that you want to attach. The size of the attachment must be under 4MB. This property supports String variables and string formatted values.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

How it works

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Office 365 Scope activity to your project.
  3. Add an activity or run an external process that outputs a Event object (e.g., Search Events or Create Event).
  4. Add the Add Attachment activity inside the Microsoft Office 365 Scope activity.
  5. Enter values for the Input properties.
  6. Run the activity.

    • Your input property values are sent to the AddAttachment API.

  • Description
  • Project compatibility
  • Configuration
  • How it works

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.