Each connection comes with its specific set of rules.
For a better understanding how these rules work, follow the exercise below.
For this exercise, we will send an email from an app using the Microsoft Outlook 365 connection.
Open your existing application or start a new one.
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.
Add a Button input control to your app.
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
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.
If you add
htmlin the contentType property, you can add HTML text.
If you preview the app and click on the button in runtime, an email will be sent to the configured recipient address.
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