Links

Set up a Bot status monitor in Power Automate

A sample integration showing how to get automatic notifications when your bots go offline.

Introduction

This guide will outline the steps involved in configuring a Bot Status monitor in Power Automate. With this flow correctly set up, an email will be automatically generated notifying you of when any of your Bots working in Enate go offline.

Prerequisites :

  • Microsoft Power Automate licensed version.
  • Enate instance URL
  • Username and password for that instance (user must have Team Leader access)
  • RobotFarmGUID (thst you want to receive notifications from). Select GUID from tblRobotFarms where Name = 'Enter-BotFarm-Name'
  • Email address of people whom you want to be notified

Step 1 : Configure Office 365 Outlook Connector in Power Automate.

  1. 1.
    Go to Power Automate dashboard ( https://emea.flow.microsoft.com/ )
  2. 2.
    On left menu bar go to ‘Data’ > ‘Connections’.
3. Click on ‘New Connection’.
4. Choose ‘Office 365 Outlook’
5. Click on ‘Create’.
6. Choose a user account and complete the authentication process.

Step 2 : Importing the flow

1. Choose the ‘My Flows’ option from the left side menu bar on the dashboard and click on ‘Import’.
2. Download the .zip file of the from here:
Bot_Status_Monitor.zip
4KB
Binary
Bot Status Monitor.zip
3. Upload the provided .zip file into Power Automate.
4. After it has uploaded successfully, click on the ‘Update’ option
5. Select the ‘Create as new’ option from the dropdown and click on ‘Save’.
6. Click ‘Select during import’ under Import Setup in the Related Resources field.
7. Select email account that you connected in step 1 and click on ‘Save, then ‘Import’.
8. After a successful import, your screen should look like this:

Step 3: Configure Flow

1. Go to the ‘My Flows’ option from the left side menu bar on the dashboard. This will show you your Imported project. Then click on the edit button.
2. Click on ‘Variable to be initialized’
3. You can then choose which fields to initialize:
Details of how to initialize the various fields:
1. URL: Enter enate instance URL: Ex: => https://enate.community/XYZ​
N.B. Do not use speech marks ‘/’
2. User Name and Password: Enter the credentials for your chosen URL.
3. RobotFarmGUID: your can get this from the database. Select GUID from tblRobotFarms where Name = 'Enter-BotFarm-Name'.
4. Email Subject and Header: Enter your Email Subject and header for the notification Email.
5. To Email Addresses: enter the Email addresses which you want to send the notification to, separateing each email address with a semicolon ‘;’ Ex. [email protected];[email protected];[email protected]​
Note: Do not use email of people outside of your organization.
Click on ‘Save’ and a green confirmation message will appear.
6. Once the green confirmation message has appeared, go back and click ‘Turn on’ to switch on the flow.
This will make the yellow header disappear, telling you that the flow is up and running.
Now the flow is running, you should get an email notifying you of every time one of your Bots working in Enate goes offline.

How to integrate with Power Automate

Check out our Power Automate section for more information about how to integrate it with Enate here: