Hi @Anonymous
You can go to settings of the Get Items action and set limit to 5000
This should fetch 5000 records
Same thing for the for loop

If you have Flow P1 or P2 license you can expand this threshold to 100,000
Since you have 8k records you would have to fire get items query in a loop
example - fetch 5000 items first
then process it into sql
then again run same loop for next 5k items and process
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly