How to get the DriveItem-type of a Drive Name string

Hi!

I’m using Upload File activity from Microsoft 365 package. For the Destination Folder property, it’s asking for a DriveItem-type input. How can I provide the DriveItem type if I only know the Drive Name where I’ll be uploading the files?

Thank you!

Solved this using Get File/Folder activity.

2 Likes

Hi @_pjflo

Please follow the below steps.

  1. Use Activities - Get File or Folder activity to get the desired folder to upload file. This will return you driveItems.

  2. Use the driveitem returned from step 1.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.