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 Platform Community / Forums / Power Automate / Flow link to attachmen...
Power Automate
Unanswered

Flow link to attachments pointing to the same document

(0) ShareShare
ReportReport
Posted on by 6
I have a flow that collects responses from a Form and populates the information in a spreadsheet.  The form includes three questions to upload attachments, two are required and one is optional.  The documents drop into a SharePoint library and I'm adding hyperlinks in the spreadsheet to access them.  It took me a while, but I finally figured out how to parse the JSON for the attachments and accommodate the optional item.  The flow is working as intended.  The only piece I'm struggling with is that I've discovered all the hyperlinks point to the same document in the library, regardless of which parsing action I link them to.
 
Below is a screenshot of the flow as well as the action linking the form inputs with the excel fields.  For the three attachments, I selected "Body link" from the appropriate Parse JSON action; however, when I click on the links in the spreadsheet all three call the same document, the last one that was input on the form.  I'm not sure what I'm missing here so any help would be appreciated.  Couple things to note - when I click on "Body link" the expression in the action changes to "Link".  Also, when I added the "Link" to the action Power Automate automatically added the "For Each" actions and nested them.  I tried to move the " For Each" actions directly under their respective Parse JSON actions and un-nest them, but then the flow failed.  Not sure if these are factors or not.
 
 
 
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard