I'm trying to create a PDF that is generated from a Microsoft Form and sent to a specific email address whenever the form is submitted.
With the flow below I'm able to send myself an HTML file, for some reason it is not converting to a PDF. I have managed to send myself a PDF but I've never been able to open it properly as it hasn't been decoded correctly.


Does anyone have any idea why this might be or where I'm going wrong?