OUTLOOK Delete a folder function

The OUTLOOK Delete a folder function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to delete a folder.

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


Description

The OUTLOOK Delete a folder function allows you to delete a folder and all its contents from the Outlook mailbox.


Setting it up

To use the OUTLOOK Delete a folder function, follow these instructions:

{{popups:rpas/add:action=outlook-folder-delete}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK Delete a folder 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 Delete a folder option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
AccountYesText-The Outlook e-mail account
Folder / mailboxYesText-The folder path to delete (e.g. Archive or Inbox::OldProject)

Output variables

This action does not produce output variables.


Errors

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

Tips

  • This deletes the folder and all e-mails within it
  • Use :: to target nested folders (e.g. Inbox::OldProject)

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.