I have a flow that will do the following:
When a response is submitted, create an item on a SharePoint list and populate it with values from the form response.
Create an HTML file from the response, convert it to a PDF, and add the PDF to a SharePoint library.
Take files from an optional file upload item on the form, append them to an array variable, create files from them and add the files to the same SharePoint library.
These are my steps:
Here's where I'm stuck. I think I need parallel branches. One for when there are no supporting documents would send an email with just the form response PDF as an attachment. One if there are supporting documents would send both the form PDF and the supporting documents as attachments. I just don't know how to do it. I can't even figure out how to attach just the form PDF to an email within the same flow.