cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Partisan
Post Partisan

Create a flow to take sharepoint List to sql server

Creating a flow outside of my app because we do not yet have a premium license with Microsoft.

I need to take, on a trigger Flow, send data to sql server from my sharepoint list.

I have a sharepoint list, but dont need to send all the data every night just a filter of the data.

 

I cant find a template specifically on how to do that ?

or get me started in the right direction.

 

David

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Create a flow to take sharepoint List to sql server

@DAVIDPOWELL 

I created a SP List to match your requirements with a choice field Active / Closed

Mira_Ghaly_0-1594937616425.png

Create a flow with a Trigger when an item is created or Modified

Mira_Ghaly_1-1594937728677.png

Add condition and choose Status Value

Mira_Ghaly_2-1594937855824.png

Do your Action to SQL in this Branch

Mira_Ghaly_3-1594937929456.png

i tested it and it worked well

Mira_Ghaly_4-1594937983353.png

 

If this helps please mark my Reply as a solution.

If this post helps you with your problem, please mark your as Accepted solution.
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
Highlighted
Memorable Member
Memorable Member

Re: Create a flow to take sharepoint List to sql server

Hi @DAVIDPOWELL

You will need to create a recurrent action as the trigger of your flow and schedule it to a specific time of the day. Then using sharepoint List Records action with the filter you like and add it to the Filter expression of your List Records action, Then you will need apply to all action to loop through your records and  add them to ur sql db. 

If this post helps you with your problem, please mark your as Accepted solution.
If you like my response, please give it a Thumbs Up.
Highlighted
Super User III
Super User III

Re: Create a flow to take sharepoint List to sql server

hi @DAVIDPOWELL  you can follow this example

 

sqlselect.PNG

 

 

But take care about premium accounts, you need to pay for an adicional flow licence the cost is about 15$ dolars month



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Post Partisan
Post Partisan

Re: Create a flow to take sharepoint List to sql server

@ChristianAbata ,

 

For the Filter Query part.  ???

I need to Filter where:

Status = "Closed"  and that would be my only filter in moving the Data.

 

How does that look in that section of the piece ? or how do i type it in specifically ?

 

Dave

Highlighted
Post Partisan
Post Partisan

Re: Create a flow to take sharepoint List to sql server

@ChristianAbata ,

 

any additional help ?

 

Dave

Highlighted
Memorable Member
Memorable Member

Re: Create a flow to take sharepoint List to sql server

@DAVIDPOWELL 

I created a SP List to match your requirements with a choice field Active / Closed

Mira_Ghaly_0-1594937616425.png

Create a flow with a Trigger when an item is created or Modified

Mira_Ghaly_1-1594937728677.png

Add condition and choose Status Value

Mira_Ghaly_2-1594937855824.png

Do your Action to SQL in this Branch

Mira_Ghaly_3-1594937929456.png

i tested it and it worked well

Mira_Ghaly_4-1594937983353.png

 

If this helps please mark my Reply as a solution.

If this post helps you with your problem, please mark your as Accepted solution.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,298)