How to get GPT Output to Google Doc with Markdowns

Hey everyone

Switching over from Zapier for this specific automation.

I’ve created a document from a template and trying to have my output from the GPT API insert text under headings. I’m able to get the text in the right spot but where I am struggling is the formatting.

On Zapier, I output text into HTML, use a formatter to convert HTML to markdowns and then have this inserted into a google doc. The markdowns are usually bolded titles, bullet point. This doesn’t seem to work in and I’ve scoured the community.

I’ve tried having my input begin with as well as suggested by another user but that hasn’t given me luck.