I’m having an issue in my Power Automate flow where image attachments are not visible when they are included in the email that the flow sends out. The images are attached correctly, but I can´t see them, I get an erro
Flow Explanation
Trigger – “When a row is added, modified or deleted”
The flow starts when a row in Dataverse is changed.
Initialize variable: varAttachments
A variable meant to store all the processed attachments.
Get CompID
Retrieves a specific value used later in the flow.
List Rows
Retrieves all attachment records associated with the Dataverse row.
Apply to each (Loop through each attachment)
Inside the loop, the following actions occur:
GetContent: Retrieves the actual binary content of the attachment.
CreateFile (in OneDrive or SharePoint): Temporarily creates a file from the attachment content.
GetFile: Reads the newly created file so it can be used in the email.
FileContent: Stores the retrieved file content.
AddFileToArray: Adds the file and its metadata to the varAttachments array.
DeleteFile: Removes the temporary file from storage.
CompText / VarText
These steps build the email body, which includes references to images.
SendMail (V2)
Sends the final email with the attachments.
The attachments are being added correctl
y, there is noting to see.
I hope you can help me.