Microsoft Outlook connector methods

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • The Microsoft Outlook connector methods automate various actions on the Microsoft Outlook. In an automation flow, the methods are connected with other methods and components. To use the methods, you must first expose them.

    SetAccount

    Checks the validity of the email that is set up in the Microsoft Outlook client.

    Table 1. SetAccount method parameters
    Parameter Description Data port type Data type Default value Mandatory? Notes
    AccountName Email ID that the method validates. Data in String None Yes

    AddFolder

    Adds a folder and, optionally, a sub folder to the Outlook account set.

    Table 2. AddFolder method parameters
    Parameter Description Data port type Data type Default value Mandatory? Notes
    MainFolder Name of the folder that the method adds to the Outlook account. Data in String None Yes
    SubFolderName Name of the sub folder that the method adds under the main folder. Data in String None No If you use this parameter, you must use the IsSubFolder parameter.
    IsSubFolder Option to indicate that the folder created in the SubFolderName parameter is a subfolder under the main folder. Data in Boolean None No

    Close

    Closes the Microsoft Outlook window.

    DeleteFolder

    Deletes the specified folder and all subfolders under it.

    Table 3. DeleteFolder method parameters
    Parameter Description Data port type Data type Default value Mandatory? Notes
    FolderName Name of the folder that the method deletes. Data in String None Yes

    DeleteMail

    Deletes one or more emails.
    Tip:
    Use the GetMails method to provide the emails the DeleteMail method will delete.
    Table 4. DeleteMail method parameters
    Parameter Description Data port type Data type Default value Mandatory? Notes
    MailId Takes the email from which the method deletes the emails. Data in String None Yes