OUTLOOK Classify e-mails function

The OUTLOOK Classify e-mails function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to classify e-mails using AI.

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


Description

The OUTLOOK Classify e-mails function uses AI to classify e-mails in a folder into custom categories. You define the category labels (e.g. invoice, support, spam, newsletter) and the AI classifies each e-mail. Optionally, classified e-mails can be automatically moved, categorised, or flagged.


Setting it up

To use the OUTLOOK Classify e-mails function, follow these instructions:

{{popups:rpas/add:action=outlook-classify-email}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
CategoriesYesTable-Category labels to classify into, e.g. invoice, support, spam
FolderNoTextInboxFolder to classify
LimitNoText20Maximum number of e-mails to classify
ActionNoSelectNoneAction after classification: Move to folder, Set category, or Flag
VariableYesText-Variable to store classification results

Output variables

VariableTypeDescription
VariableListA list of dictionaries, each containing: id, subject, category

Errors

ErrorDescription
Outlook not openOutlook is not running
Folder not foundThe specified folder does not exist
AI processing errorThe AI could not classify the e-mails

Tips

  • Use clear, distinct category names for better classification
  • Start with a small limit to test classification accuracy
  • Combine with the move action to automatically sort e-mails into folders

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.