Is possible for chatGPT to create kind formatted g docs document?

I just try to find reference, is it possible chatgpt to create kind of formatted google docs document such as legal, invoice, etc ?

Should i train with uploading some sample as knowledge base and make chatgpt to follow format as their knowledbase

Why not use the google docs template functionality for that? :thinking:

no i mean, i want to build kind of tools to enable chatgpt to create google docs file. file with specific format like invoice, etc

I understand, that’s what templates are for. Have you looked it up?

Create template (e.g. invoice) → create new document from template → update content of new document.

here you go: Introduction  |  Google Docs  |  Google for Developers