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 / Saving Photos from Jot...
Power Automate
Unanswered

Saving Photos from Jot form, Please help!

(0) ShareShare
ReportReport
Posted on by 184

So I have a jot form with a section to upload photos.  I have it uploading to a SharePoint document library, but it fails to open the file saying it is corrupt or something.  If put the file in an email, in the flow, it shows up as a hyperlink that I can click on then go to the photo.  How do I save a photo from Jot Forms to a SharePoint document library?

I was thinking I could do it from a link right?  Here's the output of the photo's question: 

<a href="https://www.jotform.com/uploads/smhoward/210424701527143/4892084308716402717/IMG_1965.JPG" target="_blank" title="IMG_1965.JPG">IMG_1965.JPG</a>

How do I extract just the url?

Categories:
I have the same question (0)
  • Paulie78 Profile Picture
    8,424 Moderator on at

    You can get the URL with the expression:

    split(outputs('hyperLink'), '"')[1]

    Like this:

    Paulie78_0-1613404576285.png

    But in the case of your particular URL above that results in a 302 redirect, so you also have to capture that, then you can download the image

     

     

  • Salamander94 Profile Picture
    184 on at

    So how would I capture the 302 redirect?  Or is there really no way to do what I'm trying to do?

  • Paulie78 Profile Picture
    8,424 Moderator on at

    It can be done easily, but if you want to download the image, then you need Power Automate premium, as you have to use the HTTP action to get it. Do you have PA Premium?

  • Salamander94 Profile Picture
    184 on at

    Okay so I have solved this using the HTTP action.  However, what do I do if they add more than one photo?  I get more than one url at that point but with the "split" action I am only getting one url out of it.

  • Paulie78 Profile Picture
    8,424 Moderator on at

    Yes, then the split expression we used won’t be effective.

    You’ll have to split on the hyperlinks so you get each one, and then loop through each of them to download the images.

  • Salamander94 Profile Picture
    184 on at

    How do I get each hyperlink separated though?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard