This flow is called from a Power app and does a Get Items from SharePoint, filters the rows and columns to only include the essentials, and then returns the results to Power apps.

The Select filters down to only the columns I want to return, then parse JSON to get the details of that array, finally a filter array to filter out unwanted rows.

Finally return the Body from the Filter array using HTTP response. Be sure to run it once and use the output to get a JSON schema.

In Power Apps the Run command is used to submit any parameters to flow and store the results as a collection.
ClearCollect(MyData, GetItemsDemo.Run(Value(TextInput2.Text)))