Hi @4tN0x,
Thanks for clarifying. In that case you could use that first example. I would also add some additional filtering to make sure we don't retrieve system related libraries or lists.
Let's first start with the export part. Try something like below.
1. Use a Send an HTTP request to SharePoint action to retrieve the lists.
In the filter we are checking the BaseTemplate 100 and that it is not hidden in the interface.
_api/web/lists?$filter=LastItemUserModifiedDate le datetime'@{addDays(utcNow(), -90)}' and BaseTemplate eq 100 and Hidden eq false
2. In an apply to each loop through the lists found
body('Send_an_HTTP_request_to_SharePoint_-_Created')['value']
3. With in the loop use another Send an HTTP request to SharePoint action to retrieve the items.
_api/web/lists/getbytitle('@{item()?['Title']}')/items
4. Use a Create CSV table with the output of the second HTTP action:
body('Send_an_HTTP_request_to_SharePoint_-_List_Items')['value']
5. Use a Create File to for example create a csv in a document library and use the output of the Create CSV table action in the file content
@{concat('Export',item()?['Title'],utcNow('ddMMyyyyHHmmss'))}.csv
