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 / Forms attachments, can...
Power Automate
Answered

Forms attachments, can't build condition correctly!

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

 

I've been attempting to fix this issue now for ages, and can't for the life of me figure it out. 


Basically, I've created some MS Forms for my company and want the answers to be emailed to the respective parties. I have done this, and it works really well. However, the issue lies with any attachments of photos when completing the said form. The issue lies here, I have a flow, it gets the answers and it emails said answers. If any attachments are included, they are attached to the email. All good, works great. 

 

However, the issue lies when they DON'T attach anything to the email, well then the flow fails and the email isn't pushed out! I know it has something to do with conditions etc, but I can't figure out what needs to be done for this to work.

 

I've attached screenshots of my flow, any assistance would be great!

 

Thanks

Luke

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @LuBurt

    To check if there is attachment with the form response, please configure the condition as below:

    length(body('Get_response_details')?['rfd1b4aaa0a4f441da35ecb4dca0bdf7d'])

    vqiaqimsft_0-1692066545496.png

     

  • LuBurt Profile Picture
    5 on at

    @v-qiaqi-msft brilliant, worked like a charm... Thank you so much! 🙂

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
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard