Hi everyone, I’ve created a Power Automate flow that automatically processes incoming emails and sends back a formatted PDF report.
The flow works well, but I’d like to improve the formatting of the final PDF, which currently looks very plain. Here's a quick overview of my flow:
- When a new email arrives
- Initialize variable
- Apply to each attachment (if applicable)
- Run a prompt using the email body as input
- Compose the result into HTML to preserve formatting
- Create an HTML file with that content
- Convert the HTML file to PDF
- Create a file (as a backup or for reference)
- Send the converted PDF as an email attachment
The PDF content is readable, but the design is very basic. I’m looking for tips on how to improve the visual layout—like using better fonts, headers, spacing, or adding a company logo or styling.
What’s the best way to format the HTML so that the resulting PDF looks polished and professional? Any suggestions, examples, or best practices would be really appreciated.
Thank You