Let's say I have a MS form, Q1 has choices such as apple, orange, lemon, and allow multiple selection
Q2 has choices such as lettuce, tomato, potato, and allow multiple selection.
Different items cost differently, and I want to calculate the total amount that the responder needs to pay according to his selection.
I think I have successfully appended the answer from different questions to one single array variable, contains all the strings from the answer.
And I find that "Switch" action can only process string but not array, and I don't know how to perform the logic of
"if the array contains apple, add $2"; "if the array contains potato, add $4"; "if the array contains tomato, add $5"
Moreover, sorry that I have not yet searched for anything about automatically sending email in power automate. Is it easy if I want to sent back this amount to be paid & the items that he has chosen back to responder's email?