I have a forms that i would like to automate using flow.
So, based on some questions anwsers i would like to save them on an excel file on a specific folder and on a specific Sharepoint. If needed the flow should create a new folder to save the excel with the anwsers.
let me explain with an example:
1º forms question:
what is your company name:
(Each Company is a Sharepoint, so the results shold be saved on that sharepoint. If the user chooses Company A, the anwsers should be saved on the Comapny A Sharepoint.)
Second forms question:
What is your department?
( Each department is a folder inside each Companys Sharepoint. i've already stablished conditions on forms so i can't choose the Company A and the Companys 1B department)
thrid forms question:
What is your class name?
(Based on the anwser of the user it's created a new folder with the anwser to this question and inside of that folder would be created the excel file with the answer of one or more users)
9 users anwsers to the forms:
Answer: Company B
Answer: Department 1B
The Flow should create an excel file with 9 answers on the Sharepoint of the Company B, folder Department 1B, subfolder 042
Is this possible to do?
Thank you very much!
the flow should save
Solved! Go to Solution.
Thank you very much for your fast reply!
I don't understand your example flow, because i'm only working with the Microsoft Forms and not via email.
@absint0o here is an example with msforms.
as you see Im getting the name of file uploaded to create a folder and inside the file uploaded to the form
What should i put on the response id?
I'm still trying to understand your example... so, based on the 3 first answers given within the form so a file would be saved on a sharepoint, a folder and a subfolder right?
This was what i've got after running the flow (submitting a form):
inside of the parse JSON i've wrote:
sorry Christian, i'm not getting there with this thing of sending emails and create an work item.
My goal is when this form is submitted:
i think that is also another way of doing this.
So, all of my answers are being saved on a single excel:
so, if i can each time a new form is submitted filter out the excel to show only the Company A, department 1 and create a new subfolder to all diffrerent classes and save the excel with only that information would also work pretty well!
So, i've managed to succesfuly create a sub-folder based on an answer given on an forms, and the sub-folder is being created based on a condition, now my problem is how can i save on that sub-folder, all the results that only lead to that condition?
so, inside the sub-folder that is being created with the condition i want to create a file (excel) containing all the results that match the conditions (in this case: Company A), can you help me?
I think there is no direct way could achieve your goal, because the user's answer is uncertain cause the Excel file to be added is uncertain, the Excel connector does not support that select excel file path dynamically.
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you for all for your replies!
"Or just like you said, use the "Export all" feature of MS Form, after all responses submit, filter out these responses according to the company name, department name, and class name:"
And there's any way (automated or not) to filter out the responses and save separated files by different "classes" and saved in different folders?