
1 - Create a new cloud flow in a solution and add a Get items action.
2 - In the solution, create an environment variable where Data Type equals Data source and Parameter Type equals Site.
3 - n the solution, create another environment variable where Data Type equals Data source and Parameter Type equals List. This will store the SharePoint list name as a variable.