Help Centre › Building Processes
This article describes the RPA Outlook functionality to find e-mails matching search criteria.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Find an e-mail function allows you to search for e-mails matching filter criteria such as subject, sender, date range, read status, and attachments. Returns a list of matching e-mail data.
Setting it up
To use the OUTLOOK Find an e-mail function, follow these instructions:
{{popups:rpas/add:action=outlook-find}}
Once on a process map:
- Navigate to the process where you would like to add the OUTLOOK Find an e-mail function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the OUTLOOK Find an e-mail option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Account | Yes | Text | - | The Outlook e-mail account |
| Send | No | Switch | Off | Automatically send after composing |
| To | No | Text | - | Recipient e-mail address(es) |
| CC | No | Text | - | CC recipients |
| BCC | No | Text | - | BCC recipients |
| Message | Yes | Textarea | - | The e-mail message body |
| Attachments | No | Table | - | File paths to attach |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | List | A list of matching e-mail dictionaries with id, subject, from, to, cc, timestamp, unread status, attachment info, and a truncated body. |
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| Folder not found | The specified folder does not exist |
Tips
- Combine multiple filters to narrow your search results
- Use the sort parameter to control result order (latest or oldest first)
- Set a limit to avoid retrieving too many results