Help Centre › Building Processes
This article describes the RPA Outlook functionality to search contacts.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Search contacts function searches the Outlook address book for contacts matching name, e-mail, or company criteria using substring matching. Returns a list of matching contacts with their details.
Setting it up
To use the OUTLOOK Search contacts function, follow these instructions:
{{popups:rpas/add:action=outlook-contact-search}}
Once on a process map:
- Navigate to the process where you would like to add the OUTLOOK Search contacts 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 Search contacts option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Name | No | Text | - | Substring to match against full name |
| No | Text | - | Substring to match against e-mail address | |
| Company | No | Text | - | Substring to match against company name |
| Limit | No | Text | 50 | Maximum number of results to return |
| Variable | Yes | Text | - | Variable to store the results list |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | List | A list of contact dictionaries, each containing: name, email, company, phone_business, phone_mobile, job_title, address, id |
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
Tips
- Provide at least one search criterion to narrow results
- Searches use substring matching, so partial names or e-mails will match
- Use the contact ID from results to delete or reference specific contacts