Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Survey123 - when a survey response is submitted, IF attachment is uploaded - save this attachment to a sharepoint folder & create path to attachment in excel worksheet

Hi Team, 


I am struggling with creating this flow. 

Part 1.

When a survey is submitted, IF this has an attachment uploaded then create a file and save this attachment to a sharepoint folder.

Firstly I have no idea what dynamic content to input for the condition. 

Secondly, again, I don't know what dynamic content to input for File Content. 

I really don't know where to begin.



Part 2. 

When a survey response is submitted, this information goes into an excel spreadsheet - this all works well. 

However if there is an attachment uploaded, in the 'Attachment/s' column I want the path to the location of attachment to be automatically shown so it can be clicked on and taken to that attachment within the sharepoint folder. 

Again, no idea where to begin. 




Any help would be greatly appreciated. 




Community Support
Community Support

Hi @SunshineK ,


You could refer to screenshot to create the Condition:




And you could refer to link below to create the file in the sharepoint:


And you could add the link for the created file to the excel table, however we couldn't create a clickable link in the excel table in Microsoft flow currently.


Best Regards,



Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

New Member

Hi Summer,

I've been doing some research on this, by testing and by reading the following:


Basically, you need to use the URL for the attachments and an HTTP-request action to download the attachments, then you can attach them. Since the HTTP Request requires Power Automate premium, I haven't been able to test this myself.


If the feature service that hosts the attachments is not public, you also need to supply a login token with the HTTP request that downloads the file. To get this token, you need to first make an HTTP request that gets the token, then use it in the request that downloads the file.


You can read more about that here:


Best regards,

Thanks Alice. 

Given I am using Survey123 - I am not 100% sure if I am on the right track. 

It was 'successful' but didn't do what I wanted it to do. 

Firstly I know I missed the 'get response details' action - I don't know what to use here for survey123. 






The dynamic content of my 'attachment/s' that I want to save are options as follows:




I used 'feature attachments'.


As said - runs successful however in my folder which was initially empty it has create these subheadings:



Any help would be great?




Thank you Sverker. 


I got lost on the get token stuff. 


I can get access to certain parts of premium I guess .... I could use the HTTP action. 

However I couldn't use 'when a HTTP request is received' ?  


Will continue to play around with this flow. 


Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,956)