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:
- I have an
AttachmentsArrayvariable initialized as an array.
- I have an
-
Append to Array Variable:
- I believe the JSON code for the
Append to array variablefunction should look like this:
- I believe the JSON code for the
The Issue:
- Power Automate does not allow the
@symbol in the@odata.typeproperty. - As a result, I cannot save my flow when attempting to use the
Append to array variablefunction 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:
- Is there a way to configure the
@odata.typeproperty or an alternative approach to include attachments in the HTTP request without encountering this issue?


Report
All responses (
Answers (