Hello,
I have a image that I want to upload to sharepoint, and then use the name and path in future steps in the same flow. The trigger occurs when an email is received. I can either have the image come in as an attachment with the email, or I can have it come in the body of the email as a URL.
As an attachment attempt:
So far, the most success I have had is using the create file step and grabbing the attachment name and content. In this case I am able to successfully add the attached image to my SharePoint library. Unfortunately when I do this, it creates an Apply to Each step around the Create File step. I say unfortunately, because after this is completed, I want to grab the path of the newly created file and use it in my next step. But the outputs from the Create File are not available, only the "Apply to Each" output is shown. In this case, I realize I somehow have to isolate the attachment so I can retrieve the outputs, I just don't know how to do it.
Something to note, there will never be more than 1 attachment or URL that would be coming from the triggered email received.
Any help would be most appreciated!