OUTLOOK List folders function

The OUTLOOK List folders function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to list folders.

For a full list of available functions, please read OUTLOOK functions.


Description

The OUTLOOK List folders function allows you to list all folders with metadata (name, total item count, unread count). Optionally lists subfolders recursively.


Setting it up

To use the OUTLOOK List folders function, follow these instructions:

{{popups:rpas/add:action=outlook-get-folders}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK List folders function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the OUTLOOK List folders option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
AccountYesText-The Outlook e-mail account
Parent folderNoText-Parent folder path to list from. Lists top-level folders if omitted.
RecursiveNoSwitchOffWhether to list subfolders recursively
VariableYesText-Variable to store the folder list

Output variables

VariableTypeDescription
VariableListList of folder objects with name, total count, and unread count

Errors

ErrorDescription
Outlook not openOutlook is not running
Folder not foundThe specified parent folder does not exist

Tips

  • Enable Recursive to get a complete folder tree
  • Use this to discover folder names before selecting or moving e-mails

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.