Subscribe

UiPath Apps

The UiPath Apps Guide

Connection-Specific Rules

Overview


Each connection comes with its specific set of rules.
For a better understanding how these rules work, follow the exercise below.

Sending an email


For this exercise, we will send an email from an app using the Microsoft Outlook 365 connection.

  1. Open your existing application or start a new one.

  2. Reference the Microsoft Outlook 365 connector to your app. For more information on how to do this, see the Referencing a Connector in your App page.

  3. Add a Button input control to your app.

  4. Configure the Click event of the button:
    4.1 Add the Send the message specified in the request body using either JSON rule part of the Microsoft Outlook 365 connector.



    4.2 Expand the message property by clicking on the Plus sign next to it.
    4.3 In the new container, expand the body property by clicking on the Plus sign next to it.
    4.4 Write your message in the content property. For example, write ="Hello world!".
    4.5 In the subject property, add the email property. For example, add ="Sent from UiPath Apps".
    4.6 Expand the toRecipients property by clicking on the Plus sign next to it.
    4.7 Expand the emailAddress property by clicking on the Plus sign next to it.
    4.8 Write the recipient's email in the address property.

📘

Tip:

If you add html in the contentType property, you can add HTML text.

13641364

If you preview the app and click on the button in runtime, an email will be sent to the configured recipient address.

📘

Note:

When configuring Connection-specific rules, whenever a Plus sign is displayed this means that you can expand that property. If there is no Plus sign, you can just configure that specific property.

Updated 7 days ago

Connection-Specific Rules


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.