hello
please help me for this proplem
i make flow to send email with attachment but when i send email without attachment my flow run but stop in this step and cant send an email
i want make flow
1-when i send email with attachmet flow run and send an email
2- when i send email without attachment my flow run but email not send to me i want how solve this problem
Hi @jmccune1 and any user who is looking for this answer, this may help you folks as well
Being in a same dilemma how to create a flow that can trigger an email to send out if user is to submit a form with or without an attachment but few trial and error eventually got the know how of the flow
Working flow example below:
make sure if one is using an initialize variable step would be straight after get response details, then condition stating which question doesn't require an attachment. upon YES send an email without embedded attachment email body and if NO then use Parse JSon > apply to each> condition that contains attachment being YES and same in the email body to be send out
Hope this helps!
Hi All,
Did this ever get resolved? I have the same issue, where my flow works if there is an attachment, but fails if there is not an attachment.
Hi @mohamed,
If the item doesn't contain attachments, then Get attachments will have no data, so Apply to each will not traverse anything, and will not execute all the actions contained in it.
So there is the kind of situation you mentioned. You only receive an email if you have an attachment.
You could add a Condition to determine if the item contains attachments, and then configure the corresponding action in the branch in both cases.
Image reference:
Take a try.
Best Regards,
Please post a screen shot of your Flow in design/edit mode. That will make it easier for others to assist.
Scott