Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Automate Screenshot Process

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

is there a way to automatically screenshot a file and then save the screenshot to a certain folder?

 

I would like to save a PowerPoint file (only one slide!) to my OneDrive and then automatically create a screenshot of the whole slide. If taking a screenshot doesnt work, is it maybe possible to export the slide as an image?!

 

Thanks in advance and happy new year!

 

Tom

  • RezaDorrani Profile Picture
    12,141 on at
    Re: Automate Screenshot Process

    Hi @ts101 

    For SharePoint you can use the rest api 

    _layouts/15/getpreview.ashx?path=completefileurl&resolution=3

    to get a snapshot of a file (I beleive it picks up the first image) - check the documentation for this api

     

    for OneDrive graph api does have endpoints to get the thumbnails

    https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_list_thumbnails?view=odsp-graph-online

     

    Also, you could use the new UI flow (preview) to access onedrive and accordingly take snapshot of file

    UI flow Vlog https://www.youtube.com/watch?v=DBT_-T9WXWE&list=PLTyFh-qDKAiGh4gKhQN1Bu9qHsWVlbdVd

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • abm abm Profile Picture
    32,486 Most Valuable Professional on at
    Re: Automate Screenshot Process

    Hi @ts101 

     

    Not sure this can be achieved via Flow. Also the challenge is what's going to be your trigger for the flow (Manual?). 

     

    PowerPoint can save file as image by select file > save as > choose the location (one drive) and filename.  

     

    Thanks

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492