Microsoft OneDrive for Business - Get folder contents

The Microsoft OneDrive for Business- Get folder contents action A tool for building the processes, logic, and direction within workflows. retrieves and stores information about the contents of a specified folder in Microsoft OneDrive for Business.

For example, if you want to know the contents of a folder, you can store the name, path, and URL of the items in a folder by using variables, which you can use throughout the workflow.

For more information about Microsoft OneDrive for Business, go to Microsoft OneDrive for Business.

Configure the Microsoft OneDrive for Business - Get folder contents action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  2. Select a Connection. If you do not have a connection, see Add a connection.
  3. Click the Microsoft OneDrive for Business - Get folder contents action.
  4. Type the Path to the folder you want to get the contents from. You can also browse the folder structure using the browse icon ().

Microsoft OneDrive for Business - Get folder contents action fields, buttons, and settings

Field

Description

Variable types

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Microsoft OneDrive for Business connection to use for getting the folder contents.

(n/a)

Path

The folder in Microsoft OneDrive for Business where the workflow retrieves information about contents. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

Store item name

The variable to store names of items in the folder. Accepts an inserted variable.

Collection

Store item path

The variable to store paths of items in the folder. Accepts an inserted variable.

Collection

Is folder

The variable to store the value that indicates whether or not item is a folder. Accepts an inserted variable. Value: True or False

Collection

Store created date

The variable to store creation dates of items in the folder. Accepts an inserted variable. Format: YYYY-MM-DD, HH:MM

Collection

Store modified date

The variable to store modification dates of items in the folder. Accepts an inserted variable. Format: YYYY-MM-DD, HH:MM

Collection