POWER AUTOMATE DESKTOP - DATABASE Pre-Requisites Power Automate Desktop Access to database Under the database action, we have only three sub actions, namely: Open SQL connection Execute SQL statement Close SQL connection Open SQL Connection The first step is to connect to the database. So, we will use the Open SQL connection action and provide a connection string to establish the connection (the connection string in the video is a sample). When the connection is successful, the connection details is stored in a variable during execution. Execute SQL statement This action can be used to execute SQL queries. Here, I am using select query and the result is stored in a variable of type datatable. Close SQL connection It is a best practice to always close the database connection once the required queries are executed. YAY! BONUS!😮 How to execute a stored procedure using database action? Stored Procedure without arguments Stored Procedure with arguments (Comma separated in...
POWER AUTOMATE & MICROSOFT DATAVERSE - 3
PRE-REQUISITES
- Login to Power Automate
- Create a manually triggered flow
- In this post, I will be using the data that is available in the Accounts table
ADD NEW DATA ROWS INTO A DATAVERSE TABLE
Select the action "Add a new row" under Microsoft Dataverse, select a table and then enter the data to be added into the table.
After running the flow, check the table to see the data has being entered.
DELETE A ROW FROM A DATAVERSE TABLE
To delete a value from a table, we need to know the GUID/Row ID. That can be fetched from the table or use list rows in cloud flow.
GET A ROW BY ID FROM DATAVERSE TABLE
If you know the GUID of a row from a table in dataverse, we can use it to fetch many details related to that row.
Test:
UPDATE A ROW IN DATAVERSE TABLE
If you know the GUID of a row from a table in dataverse, we can use it to update some details related to that row.
Please leave a comment in case of queries.
Comments
Post a Comment