Skip to main content

How to export SharePoint list data to Excel using Flow(Power automate)

Daily export the SharePoint list items to excel format, send an email.





Step 1:Create SharePoint List and add items.

What Is A SharePoint List?

A SharePoint list is similar to an Excel Table, it’s a container for data.
SharePoint lists allow you to store data in list format with rows and columns.

From the homepage of your SharePoint site, press the New button then choose List from the options. Give the list a name(CLF Data) and description and press the Create button.
Step 2 : Go to flow https://flow.microsoft.com/ and use your credentials to create a flow.

Step 3: Use "Recurrence" action to run flow on specific time for daily/weekly/monthly.
Step 4 : Create a excel file in your desktop and insert table ,add columns then upload to SharePoint Document Library.



Step 5 : Add " List rows present in a table" action in flow to identify your table.

Step 6 : Insert "Apply to each" control to delete existing records.


Step 7 : Insert "Get items"action to get SharePoint list data.

Step 8 : Insert "Apply to each" control to get SharePoint list data output and add output to rows in excel file.
Step 9 : Insert "Get file content using path" action to get newly created excel file(included SharePoint List data).
Step 10 : Insert "Apply to each" control to select get file path output to send an email.
Step 11 :  Insert "Send an email"to send excel file to others.

Step 12 : If you want you can clear the excel file after sending an email to others.
Step 13 :Just add "list rows present in table" action to identify your excel file.
Note: If more than 250 rows , use threshold value(Go to settings) in the above action.
Step 14 : Insert "Apply to each" control to get the above step output then insert "delete a row" action to delete rows in excel file.

That's it.





Comments

Popular posts from this blog

Tab Control in Asp.Net

Scenerio: I need your help in designing tab control in   asp.net .My requirement is I need a tab control in   asp.net (C#) like  for example goto my computer ,right click c drive and select properties.we get tabs like general,security etc....... like that i need to design one tab control(no need of any rightclick) in my web page and the database table columns should come as tabs and inseide the tab data of that particular column should come.   Example:Employee master tab1:Employee name.........his name in the tab tab2:Age.............his age tab3:Address........his address   Solution:   You can do this using a simple div <style type="text/css"> .tabs         {             position: relative;             height: 20px;             margin: 0;   ...

AI and Microsoft: Revolutionizing Efficiency in Nonprofit Organizations

  How AI and Microsoft Enhance Efficiency in Nonprofit Organizations In today’s fast-paced world, nonprofit organizations face unique challenges—limited resources, increasing demands, and the constant need to do more with less. But what if technology could be the game-changer they need? In my latest research paper,  "How AI and Microsoft Enhance Efficiency in Nonprofit Organizations" , I explore how cutting-edge technologies like Artificial Intelligence (AI) and Microsoft’s innovative tools are revolutionizing the way nonprofits operate. From streamlining administrative tasks to enhancing donor engagement and optimizing resource allocation, AI and Microsoft’s solutions are empowering nonprofits to focus on what truly matters—their mission. This paper dives deep into real-world examples, practical applications, and the transformative potential of these technologies. Whether you’re a nonprofit professional, a tech enthusiast, or simply curious about the intersection of technolo...

Social tagging overview in Sharepoint 2010

A tag is a word or phrase that identifies an individual piece of information according to a set of attributes or criteria. Tags make it easy to find and share information about a specific subject or task. Social tagging helps users categorize information in ways that are meaningful to them. Social tagging can improve the quality of search results by filtering against specific tags, and it can also connect individuals who want to share information with other users who have like interests. This article describes the social tagging features in Microsoft SharePoint Server 2010. This article does not describe how to configure social tagging features. It also does not discuss how to implement social tagging features as part of an overall social media strategy for an enterprise. About using social tagging features Social tagging features help users to share information and to retrieve relevant, high-quality content more efficiently. Such sharing encourages collaboration and b...