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

Community site session details

Session Id :
Power Automate - Using Flows
Suggested answer

Add link to attachments into HTML table

(0) ShareShare
ReportReport
Posted on by 10
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.
Categories:
I have the same question (1)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,009 Super User 2025 Season 2 on at
    Add link to attachments into HTML table
     
    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
    10 on at
    Add link to attachments into HTML table
    Hi, there will only ever be one attachment per list item. And there will always be 1 attachment. Thanks. 
  • Nived_Nambiar Profile Picture
    18,009 Super User 2025 Season 2 on at
    Add link to attachments into HTML table
     
    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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow