
Announcements
I have built a Power Automate flow that retrieves attachments from a SharePoint List and creates an email draft in Outlook via an HTTP request. However, I'm encountering an issue with the Append to array variable function.
Flow Structure:
Initialize Variable:
AttachmentsArray variable initialized as an array.Append to Array Variable:
Append to array variable function should look like this:
The Issue:
@ symbol in the @odata.type property.Append to array variable function with this JSON structure.Working Alternative:
If I use the Send an email (V2) function instead of an HTTP request, everything works without requiring the @odata.type property. However, I want to proceed with the HTTP request approach, which requires the @odata.type property for properly attaching files.
Key Question:
@odata.type property or an alternative approach to include attachments in the HTTP request without encountering this issue?