Create Formatted Google Doc

I’d like to take the content for a document and put it into a Google Doc with formatting.

I’ve seen and built other systems that directly export HTML, and the Google Doc uses that for formatting. (Not in n8n) Can’t figure out how to do that with the docs/drive nodes.

I’ve built an n8n workflow that uses a templated doc that is formatted ahead of time, then uses the find and replace feature to insert LLM results at particular points in the doc so that formatting is preserved.

This time I don’t want to have to use find and replace, I want the LLM to one-pass the report, then have another LLM format the text (headers, bold, bullet points, etc.), then upload the formatted content straight to the doc.

I found a YouTube video posted yesterday where somebody wrote a full-on custom Google Apps script that you can call and have it format your LLM output. But that seems extreme. Is there any simpler way to do this natively in n8n?