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 / Single form attachment...
Power Automate
Answered

Single form attachment to email

(0) ShareShare
ReportReport
Posted on by 14

Hi 

I am very very new to Power Automate. I read a lot of the similar but often is for an array of attachments. I simply have one or no attachments. These are saved obviously on OneDrive. I just need to add to an email the link to the attachment. The form is below:

Screenshot 2023-03-26 at 15.51.13.png

The flow is below:

Screenshot 2023-03-26 at 15.56.05.png

Screenshot 2023-03-26 at 15.56.23.png

Screenshot 2023-03-26 at 15.56.32.png

Any help is appreciated!

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @JohnAd ,

     

    I made a sample for you.

    vxiaochenmsft_0-1679882800664.png

    vxiaochenmsft_1-1679882828098.png

     

    Best Regards,

    Wearsky

  • JohnAd Profile Picture
    14 on at

    Thank you - I'll try this. Never used JSON and sample file before. Got to read about it. .... I will report back with ... success (?)

  • JohnAd Profile Picture
    14 on at

    I have now implemented the JSON code in your example. It is working perfectly. for my own benefit, I'd love to understand  the structure of the 

    json(outputs('Get_response_details')?['body/r342f9ec91764407ba7052d919e827511'])?[0]?['link']

    are ? used as section breaks?

    what is the [0]

    i assume the ['link'] returns the associated section after the : in the code

    the form response code was

     "r342f9ec91764407ba7052d919e827511": "[{\"name\":\"Invitation.pdf\",\"link\":\"https://school-my.sharepoint.com/personal/jada_sch_org_uk/Documents/Apps/Microsoft%20Forms/ORG%201/Question/Invitation.pdf\",\"id\":\"012LEEEJAJQ7X6PZWDVFA37MMZ3ZZRWCKA\",\"type\":null,\"size\":500972,\"referenceId\":\"012LEEEJHVDOKQSB5VQNDLNYK5343MJN5P\",\"driveId\":\"b!t1Al12Pyv0Spk4XrLo6Jd9evfn9LhXxDoW_EsEzQ9WUXJXF9frz1TYoloZX339CO\",\"status\":1,\"uploadSessionUrl\":null}]"
    }

     

    thank you for the support

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard