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 / Add link to attachment...
Power Automate
Answered

Add link to attachments into HTML table

(1) ShareShare
ReportReport
Posted on by 69
Hi,
 
I have a daily automation which checks for any submitted records into a SharePoint site for the previous day.  If there are more than zero records it finds the records and drops them into a HTML table then sends an email.  This includes a link to each individual record creating, which takes the user to the SharePoint form.  It works great ... however, each of the records has a jpeg attachment, which I'd like to create a link for in the table.  How do I look for the link to each attachments and add this to the HTML table please?
 
Thanks.
Flow.PNG
Categories:
I have the same question (1)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
     
    One question - if a list item has multiple attachments ?- should every link of each attachment should be enclosed in a cell corresponding to row in html table ?- or can we assume one attachment per list item ?
     
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • RS-29010719-0 Profile Picture
    69 on at
    Hi, there will only ever be one attachment per list item. And there will always be 1 attachment. Thanks. 
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
     
    I think u need to use get attachments to get details of attachment present in each list item and append it to an array where you have details from each list item, finally then converting the array to html table format. see below for reference
     
     
     
     
    Outside the loop, use create html action
     
    This would work !
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • RS-29010719-0 Profile Picture
    69 on at
    Brilliant.  That works.  Thanks very much!
  • David_MA Profile Picture
    14,485 Super User 2026 Season 1 on at
    @RS-29010719-0 you last posted that something someone posted worked to solve your issue. Can you please mark it as answering this post so it will close it out. If other people have the same issue, it will help them to know which response solved your problem. Thank you!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard