Announcements
No record found.
Hi Team,
I would like to create a PDF from a Word template and attach it to an email using Power Automate. Could you please guide me on how to achieve this today?
Looking forward to your support.
Already tried-Generate PDF from Document Templates in CDS & Dynamics 365 CE using native Web API with Flow - There's Something About Dynamics 365
You're on the right track! The method you linked, using the native Dynamics 365 Web API, is indeed the most efficient way to generate a PDF from a Word template without relying on SharePoint or OneDrive for Business.
However, there's a crucial update: The approach detailed in that article relies on the GenerateDocumentFromTemplate action, which is now deprecated.
GenerateDocumentFromTemplate
The Recommended Approach: Using the ExportWordDocumentToPDF Action
ExportWordDocumentToPDF
Microsoft has introduced a new action, ExportWordDocumentToPDF, which is the current and recommended method for converting Word templates to PDFs directly within Power Automate.
Here's a step-by-step guide on how to achieve this:
1. Trigger the Flow:
2. Get the Record:
3. Generate Word Document from Template:
4. Convert Word Document to PDF:
5. Compose PDF Content:
6. Create File Attachment:
7. Send Email:
Example Expression (Compose Action):
base64ToString(outputs('ExportWordDocumentToPDF_2')?['body/PDFData'])
Troubleshooting:
This revised approach using the ExportWordDocumentToPDF action provides a reliable and efficient way to create PDFs from Word templates in Power Automate without relying on external storage solutions.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 36
Mallesh Deshapaga 32
ManoVerse 30 Super User 2026 Season 1