cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Subha
Regular Visitor

Connecting PVA and SQL server using power automate

I am trying to connect create a chat bot using power virtual agents, so i need to connect PVA to Azure SQL server using power automate to execute the query so that the bot will fetch the answers, i need help in connecting PVA to azure SQL database.

3 REPLIES 3
renatoromao
Super User
Super User

Hi @Subha ,

 

Thanks for using the PVA! 🙂

 

You can question the user to get the variables and parameters that you want to use inside your Query like "Project name, Status, or something like that".

After to question to the user, you can create an action calling Power Automate.

Inside your Power Automate, you can create inputs (parameters) that you want to receive.

Inside your Power Automate, you can create a connector SQL Server: https://flow.microsoft.com/pt-br/connectors/shared_sql/sql-server/

 

And the result, you can use markdowns to return using outputs to the PVA: https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Renato Romão
https://www.linkedin.com/in/renatoromao/

 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

I am facing issues in connecting to the sql server using power automate.. so step wise instructions would be helpful or any blog which clearly explains about the connection to the SQL server would be great . Thanks

@Subha ,

 

Can you take some pictures of your workflow, please?

 

---

Thanks!

Renato Romão

https://www.linkedin.com/in/renatoromao/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

Helpful resources

Announcements
March Update

Welcome to the User Group Private Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (16,239)