Hi there,
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:
Company A
Company B
Company C
Company D
(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?
Department 1A
Department 2A
Department 3A
( 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?
(text question)
(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)
Example:
9 users anwsers to the forms:
Question 1:
Answer: Company B
Question 2:
Answer: Department 1B
Question3:
Anwser: 042
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!
Regards
the flow should save
Solved! Go to Solution.
@absint0o to do what you wnat please follow this example
my form
see I did it form company A, so you need to reply this to company B
Proud to be a Flownaut!
hi @absint0o I posted a solution to create a folder an the actachment of the folder recently, please follow the example to see if its what you need.
Proud to be a Flownaut!
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
Proud to be a Flownaut!
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?
@absint0o when you clic inside the field see this windows
Please select dynamic content to see the ID you need
Proud to be a Flownaut!
Hi there,
This was what i've got after running the flow (submitting a form):
inside of the parse JSON i've wrote:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
}
}
}
}
@absint0o maeby is becouse you don't send attachment and you don't have a schema so.
Please try adding a condition.
Proud to be a Flownaut!
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?
@absint0o to do what you wnat please follow this example
my form
see I did it form company A, so you need to reply this to company B
Proud to be a Flownaut!
Hi @absint0o,
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.
Best Regards,
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?
thank you very much for your help @ChristianAbata and @v-litu-msft !!!!
@absint0o you are welcome friend, please consider to mark an answer as solution to guide others.
Proud to be a Flownaut!
User | Count |
---|---|
94 | |
39 | |
24 | |
22 | |
16 |
User | Count |
---|---|
128 | |
49 | |
48 | |
32 | |
24 |