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 / Question regarding ima...
Power Automate
Unanswered

Question regarding image attachment option within flow

(1) ShareShare
ReportReport
Posted on by 156
I have two flows already set up. The first one words perfectly. Submissions arrive to a Microsoft Form for articles in a newsletter. Each of these contributions does not necessarily have an image to upload, but the option is there if they do. This then links to a Sharepoint list where I have a column for the uploaded images as these attachments.
 
It's the second flow I am having difficulty with. I think the fact that not every contribution made to the Microsoft Form will have an image attachment is the stumbling block. I tried to add a condition to help with this but the flow only gets so far and fails at "Get attachment content".  What am I doing wrong and how can I fix this? Thanks. 




 
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,587 Most Valuable Professional on at
    Using a Condition to handle responses that don't have an attachment is fine, but to work you need to have the actions that work with the attachments inside the condition.  Right now you are retrieving the attachment content after the condition has been processed and closed.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • PB-04020944-0 Profile Picture
    156 on at
    Thank you for your response, . Can you please possibly outline the correct order which I am required to set out to make this work effectively? Thank you. I am still finding my way with Power Automate so would appreciate your guidance. 
  • Pstork1 Profile Picture
    69,587 Most Valuable Professional on at
    Hard to say without the complete details on what you are doing in the flow.  But basically the loop that takes the image content and adds it to an array variable needs to be inside the True side of the condition.  If the loop outside the condition is looping through the same things as the later loop then you only need one loop.  But still need the actions inside the True side of the condition.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • PB-04020944-0 Profile Picture
    156 on at
    Thank you kindly for taking the time to respond and help me, .
     
    I have done as you suggest but also abandoned the inclusion of "Append to array" in favour of the "Select" option.
     
    This is how it looks currently and the flow runs successfully now which is great. However, it creates multiple Word Docs and doesn't populate into just one with several pages. Any idea how to fix that? 
     
    Thanks again! 
     
  • Pstork1 Profile Picture
    69,587 Most Valuable Professional on at
    You are getting multiple documents because you are creating the documents in a loop.  To get a single document you need to populate a repeating section within the document template.  Here's an article on how to do that.  Power Automate: Create Word Document With A Repeating Section  
     
    But I have a different question.  I don't see anywhere in the flow that you are using the actual image content that you are retrieving in the condition.  What are you doing with the content after you retrieve it?

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 285 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 193

#3
Haque Profile Picture

Haque 180

Last 30 days Overall leaderboard