Okay, I see. I thought you simply had a single case in a file that has multiple pages. But if you have multiple pages, each of which contains a separate case that you need to process, you do need another loop inside the existing one. You would need to loop through the pages and extract the text one page at a time.
I suggest doing a while loop with the condition being 1 = 1 (infinite loop) and then have a page index that you increment on each iteration with an Increase variable action.
Then use the page index in the Extract text from PDF action, so you keep reading one page at a time.
Finally, add a rule that makes your flow go to a label that is outside of the while loop on error on the Extract text from PDF action. This will make your flow stop extracting pages when you reach the final page. This is needed because there is no native way to get the number of pages in a PDF document, so you don't automatically know how many pages you need to extract.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.