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 / How to attach file to ...
Power Automate
Unanswered

How to attach file to google form

(0) ShareShare
ReportReport
Posted on by 7

I am encountering an issue with uploading a file to a Google Form.

When I click on "Attach file" in Google Forms, it opens an iframe for file selection. The domain of the iframe is different from the main form. I retrieved the source (src) URL of the iframe and opened it in a new tab. However, when I upload a file, it doesn't link back to the original form. How can I resolve this problem?

 

Thank you in advance.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Ekkapon 

     

    I think we may need to close it via our actions itself. Actually i tried to automate the normal appraoch by which files are uploaded to google form like below

    clicking File Upload will open the upload file dialog like below

    Nived_Nambiar_0-1697953383788.png

     

    clicking browse will open a dialog box window from which we can select the file path which needs to be uploaded to.

     

    So i did the simmilar way of automating using power automate desktop like below

    Nived_Nambiar_1-1697953445804.png

     

    First it clicks on file upload button, then it clicks on browse button and type the file path and clicks open. then the file is uploaded , but when it is automated, once the file is uploaded the browse dialog box will not be closed, so as a alternative approach i used send keys to send keys on the below indicated window to close it. Not sure why it is not closing after uploading the file , But there was a aleternative to resolve this 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

    Nived_Nambiar_2-1697953512275.png

     

  • Ekkapon Profile Picture
    7 on at

    Thank you for your reply.

     

    My flow error on step 3(your 2nd pic), it fails to click on "Browse" button. 

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Ekkapon 

     

    Could disable send physical click option in that action and try it again ?

     

  • Ekkapon Profile Picture
    7 on at

    Hi @Nived_Nambiar 

     

    It's result is same.

    PAD.jpg

    It can't find the element.

     

    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

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 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard