Document Understanding page number

I am using Document Understanding to process one pdf.
The pdf will be in anyone page amongst 5 page. After digitize step how to get the page number in which the pdf is contained.
Please explain

  1. Digitization: Use UI Path’s Document Understanding to digitize the PDF.
  2. Get Page Count: Use the Get Page Count activity to get the total number of pages in the PDF.
  3. Find Content: Use Find Text Position or Find Element activities to locate specific text or elements within each page.
  4. Identify Page: Determine the page number based on where your content is found using the activities mentioned.

This approach helps you pinpoint the page number containing your PDF content after digitization in UI Path.

Regards,