OUTLOOK Extract e-mail data function

The OUTLOOK Extract e-mail data function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to extract e-mail data using AI.

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


Description

The OUTLOOK Extract e-mail data function uses AI to extract structured data from the currently selected e-mail body. Specify the field names you want to extract (e.g. invoice number, amount, due date, vendor) and the AI will parse the e-mail content and return the values.


Setting it up

To use the OUTLOOK Extract e-mail data function, follow these instructions:

{{popups:rpas/add:action=outlook-extract-data}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
FieldsYesTable-List of field names to extract, e.g. invoice_number, amount, due_date, vendor
InstructionsNoTextarea-Additional extraction context or rules for the AI
VariableYesText-Variable to store the extracted data dictionary

Output variables

VariableTypeDescription
VariableDictionaryExtracted fields as key-value pairs (null for fields not found)

Errors

ErrorDescription
Outlook not openOutlook is not running
No e-mail selectedNo e-mail is currently selected
AI processing errorThe AI could not process the e-mail content

Tips

  • Use clear, descriptive field names for better extraction accuracy
  • Add instructions to guide the AI for complex or ambiguous data
  • Fields not found in the e-mail will have null values
  • Works best with structured e-mails like invoices, orders, and confirmations

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.