Heya,
Beginner Power Automate user here, I'm trying to extract data from an email to put in a new draft email ready to be sent.
The outputs(OT/NAME/USER) I place back in a existing HTML to fit the format.
This all works well until I get to the http request, to make the draft email.
using this guide:
create a draft outlook - from damobird365
I'm able to make a plain text draft just fine, but with the output (HTML BODY) gathered it comes up with the following error:
Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.

I've looked around and it seems the quotes/or the HTML format might be the problem, but any method i've tried the replace the quotes don't seem to work for me.
Passing HTML content as a variable to build a JSON
Where in the flow do I exactly replace this? I've tried:
replace(variables('HTML_body'), '"', '"')
I understand the basic replace function, but whenever I use the replace function the content comes up as empty.
Where in my current flow should I change the HTML in my flow, or should I apply a different flow entirely.
