web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / pdf from each link of ...
Power Automate
Unanswered

pdf from each link of a webpage

(0) ShareShare
ReportReport
Posted on by 2

Hey everyone, 

 

I´m new in PowerAutomate, so please don´t judge me, if my problem is too simple. I already tried a lot, but my run fails. 

 

There is a webpage build like an encyclopaedia (A-Z). On the left side, all terms are chronologically ordered. Take a look here: https://ec.europa.eu/food/food-feed-portal/screen/novel-food-catalogue/search

 

What is working is (via the recorder): take all links and write them into an excel sheet. The recorder recognized what I want by clicking in the second entry. 

 

However, if I try to record a flow with "click on a link, make a screenshot as pdf" does not work. When I do this twice, the recorder does not recognize, that I want him doing this flow for all links. 

 

Can somebody give me a hint? 

 

Greetings from Munich! 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you share a screenshot of the flow that you have managed to generate by now? Also, how exactly do you plan on saving the screenshot as a PDF file? It will save it as an image by default and there is no native action to convert an image to a PDF file in PAD. You would need to use scripting or a 3rd party service to do it.

  • amomuc Profile Picture
    2 on at

    Do you mean the flow, with which a text extraction in excel is working? Here is a screenshot of this. 

     

    The screenshots need not not be "beautiful" and could be saved as an image. pdf would be better, because searchable. But I could also convert the images in pdf and perform a text recognizing step. If you have a solution with images, I would be very happy too 🙂 

    Power_Automate_links-from-webpage-to-excel.png
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Well, you will need to build a loop there to click on several links. You'll need to modify the selector for the link to be able to pass in some sort of a variable after extracting all available links. The elements actually have proper Ids or similar parameters including the names of the actual elements you're trying to click, so that should be quite straight forward.

     

    See here for reference on how to modify selectors: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

    Also here: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen 

     

    As to saving the page as PDF, your best bet would likely be using Send keys to send Ctrl+P to the browser window to call the "Print" dialog and then automate it to "print" the page to PDF.

    -------------------------------------------------------------------------
    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard