
For your sample JSON (states data), you can do something like this:
ClearCollect(
colStates,
ForAll(
Table(ParseJSON(YourFlowName.Run().result).body),
{
State: Text(Value.state),
Capital: Text(Value.capital),
Population: Value(Value.population),
Area: Value(Value.area),
Districts: Value(Value.districts)
}
)
)
//result - your response key nae from power automate
Please follow the below blog for more detailed step-by-step guidance.