Search Mail

Search Mail enables you to search for one or more e-mails in a Mail Folder as per the keyword-based approach or across all the search criteria such as Subject, Body, From address, To address and Attachment. This operation can search in any of the Outlook folders that is present under any of the account. Only the top 10 unique IDs results are shown in search mail.

 

Search can be performed using:

  • Keyword to search across all criteria including the attachment content
  • Search criteria to search for a specific criterion. Here any/all (Subject, Body, From, To, Attachment) can be provided.
     

    NOTE:  

    You are restricted from using both the options so, either of these two options must be selected else, a warning appears.

Using Search Mail feature

  1. In the Feature dropdown list, select Search Mail.

  2. Click the   (Setting) icon to configure the input configuration. The Input Configuration screen appears.

  3. Define all the input parameters as In arguments and output parameters as Out arguments in the Argument bar to make it available for the selection.
  4. The Input configuration consists of two types of parameters which must be entered. All the searches are based on partial search.
    1. Mandatory Options:

      1. From the Mail Folder dropdown list, select the workflow argument / provide default value as per the configuration. For the list of accepted values for the Mail Folder Input configuration refer the below table -

      2. Advanced Options: Click Advanced Options to enter more input configuration as per your requirements. You can define the parameters for these search criteria either in the arguments or provide their default values.

        1. Corresponding to the Keyword field, select the argument holding the keyword based on which the Emails must be searched, including the attachment content and attached files.

          NOTE:  

          If Keyword is provided, other Advanced Options should not be defined.

        2. Corresponding to the Subject field, select the argument holding the subject text based on which mails are searched.

        3. Corresponding to the Body field, select the argument holding the body text based on which mails are searched.

        4. Corresponding to the From field, select the argument holding the from address text based on which mails are searched.

        5. Corresponding to the To field, select the argument holding the to address text based on which mails are searched.

        6. Corresponding to the Attachment field, select the argument holding the Attachment name text based on which mails are searched.

        7. Click Delete to remove the input parameter from the list.

  5. You can select the Is Default Value checkbox to set the selected input parameter as the default value.

  6. Once done, click Confirm.

The Search Mail feature of the Outlook activity is configured.
Below is the sample output: 

{"searchResult":[{"id":"AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAASXFxfBAAA="},{"id":"AAMkAGY3NDRmNzdmLTRiMWEtNDA5Ny05YTJmLTFhMzQ3YTA5OTVlOABGAAAAAACfaX52GHerSKvCFG4IUz2HBwBmk5_iauTiRZDadYaft_edAAAAAAEMAABmk5_iauTiRZDadYaft_edAAAY1YzcAAA="}]}