cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

 

If you are building a PVA for a legacy application which has crafted a web interface for Customers but the data you need to fetch resides in an On-Premise SQL Server being used by a WIndows Client, this approach comes in handy. I had to fetch job description from an on-premise SQL Server for my PVA hosted on a standalone marketing site web Page. SO below steps were followed in integration with a Power Automate Flow.

 

 

Create a new Flow with a SQL GetRow action or alternate step and configure the connection with your On-Premise SQL Server. Configure a query with Inputs from the PVA or a direct query to simply fetch the rows.

This is achieved by adding a Gateway for your on-prem database and using that on Power Automate Gateways.

Now once this is saved, call this flow from your PVA Authoring canvas and your PVA would be able to respond to user input 

based on data fetched from on premise SQL Server.

 

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

Note: Please follow the steps bottom up in case implementing this starting from Gateway!

This is achieved by creating a flow and call as an action from your PVA.

 
 

image.png

 

Create a new Flow with a SQL GetRow action or alternate step and configure the connection with your On-Premise SQL Server.

 

image.png

 

This is achieved by adding a Gateway for your on-prem database

image.pngimage.png

image.png

 

 

 

 

 

 

 

1 REPLY 1
Abhi_power
New Member

This is my post!!!

Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (1,640)