I’m working on a project where I need to embed an attachment file (e.g., a PDF or Excel file) into a Word template as an object, with icon(show icon enabled). I am using Power Automate Cloud Flows for this task.
Does anyone have experience or ideas on how to achieve this? Any guidance, examples, or workaround solutions would be greatly appreciated!
Thank you in advance!
Embedding an attachment (e.g., PDF or Excel file) as an object into a Word document using Power Automate Cloud Flow is not natively supported as a direct feature. However, you can use a combination of Power Automate and other tools (like Office Scripts, Word Online, or desktop automation) to achieve this. Here's how you can approach this:
Power Automate Desktop (PAD) can interact with Word Desktop to embed the attachment as an object.
Setup Power Automate Cloud Flow:
Create a Power Automate Desktop Flow:
Save the Word Document:
Return to Cloud Flow (if needed):
If you have an environment with Office Scripts and Graph API enabled, you could:
However, this option requires custom scripting and is better suited for advanced users with programming capabilities.
If embedding the file as an object is not mandatory, you can link the file in the Word document as a hyperlink.
Upload Attachments to SharePoint:
Update Word Template:
Power Automate Cloud Flow is designed for document automation but lacks the ability to directly embed objects in Word due to the complex binary structure of embedded objects in Word files. Using desktop automation or scripting provides a workaround.
Let me know if you’d like detailed guidance for implementing any of these options!
Best regards,
@Ninjasabi
David_MA
10
Super User 2025 Season 1
Michael E. Gernaey
8
Super User 2025 Season 1
ankit_singhal
7
Super User 2025 Season 1