Hi,
I am setting up a form that will send an email with all the responses after a Microsoft form has been submitted. I have used a Parse JSON code I found online, paired it with "Initialize Variables", and then "Apply to each" (see picture). It works, BUT, it does not work if there is no attachment. I added a condition where the response detail about attachment is not 0, and the condition logic worked. I added a separate "Send email .." to the If No statement and the email is sent, but the flow fails because the "Apply to Each" does not work as it calls for the Parse JSON that has not been done.
How can I fix this?
Also, I cannot get the "Send an email... " to send a cc email to the responder's email. I add it in the CC row, but no email is sent.
Parse JSON

Report
All responses (
Answers (