Notifications
Announcements
Hi everyone,
In my flow, I process incoming emails with attachments and generate a new file (saved in OneDrive). At the end, I send an email that should include both:
The generated file,
The original email attachments.
To store the original attachments, I created an array variable (AllAttachments) during the flow.
AllAttachments
However, due to formatting constraints, I’m limited to using HTML in the "Send an email (V2)" action — which makes it unclear how to attach both the generated file and the contents of the array.
Any advice on how to make this work within the HTML-based setup?
Thanks, Ettore
Hi Tomac,
Thanks for the helpful explanation!
I do need to attach the files directly to the email, not just link to them.
I'm using the "When a new email arrives (V3)" trigger, and I want to know: How can I access each attachment individually from the incoming email, so I can attach them one by one using the “Attachments” section under “Show advanced options” in the "Send an email (V2)" action?
At the moment, the attachments seem to come through as a collection, and I'm not sure how to reference them separately.
Thanks in advance for your guidance!
Best, Ettore
{ "contentbytes": { "$content-type": "@{outputs('Get_Attachment_(V2)')?['body/contentType']}", "$content": @{outputs('Get_Attachment_(V2)')?['body/contentBytes']} }, "Name": "@{outputs('Get_Attachment_(V2)')?['body/name']}" }
Thank you again — your explanation was really helpful and helped me move forward!
Right now, I’m only facing one last issue. For some reason, Power Automate doesn’t let me send both the attachment array and the individually created file in the same “Send an email (V2)” action.
As shown in the screenshot below, I’ve tried using one “Send an email (V2)” action with the full array of attachments, and another one where I add a file individually by name and content — but I can't seem to combine both methods in a single step.
Do you know if there's a workaround to send both together, or would I need to merge the array with the manually created file somehow?
Thanks again for your support!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 519 Super User 2025 Season 2
Tomac 296 Moderator
abm abm 232 Most Valuable Professional