web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / making a flow with SQL...
Power Automate
Unanswered

making a flow with SQL and sharepoint

(0) ShareShare
ReportReport
Posted on by 16

hello everyone 

am trying to make  flow that should autofill the shrepoint list once I entry the ID of an employee 
so my plan was using both cloud and desktop automate 
the flow : 
when a new item is added into a sharepoint list 
open SQL connection 
get the desired data from DB 
update the list according to the DB 

but am not able to make such a flow, if you have any advice would appreciate that 

FYI : i want to make the flow start when a new item is added into the list (which will be the ID) and then autofill the rest of the fields based on the given ID in the sharepoint list 
then update the sharepoint list and then use those data i got to send an email +creeating excel tables 
i have made the flow at the beginning without connecting to DB so all the columns are been entered manually.
any help will be much appreciated 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @TarekEzz ,

     

    You need to install a data gateway on the server where SQL DB located.

    Using Flow with on-premises data and applications | Power Automate Blog (microsoft.com)

     

    In the automated flow, you can connect to the database directly, no need to create desktop flow at all. However, due to different column types in SharePoint, it's hard to tell how to populate list columns using SQL data, you need to provide more detailed information about the two data sources.

     

    Best regards,

  • TarekEzz Profile Picture
    16 on at

    I have tried to connect and use only the automated flow which makes more sense, but for some reason when I applied the filter query, I was never able to get any results. 
    so I tried to use both desktop and cloud 
    but am not able to pass the variable which will be the ID that I get from CLoud flow to the desktop to use it as a filter and get me only the employee under that ID
    the second issue I faced was after I retrieved the data from DB in the desktop flow, how I passed it back to the cloud flow 


  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @TarekEzz ,

     

    So, let's troubleshoot why can't get the item from list rows actions when applying filter query. What query have you tried? What type is this column in SQL table?

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard