How to add text to a Google document in the same style as in another Google document using Make.com?

Hello everyone!

I’m trying to automate the process of adding text from one Google Document to another while preserving its style (fonts, sizes, colors, etc.) using Make.com, but I’ve run into an issue.

Here’s what I’ve tried:

  1. Using the Google Docs “Get Content” module — I retrieve the document content in HTML format.
  2. Using “strip” functions — I attempt to remove unnecessary tags and convert the content, but the result is a large chunk of HTML code that doesn’t preserve the required styles.
  3. Using the “Insert Paragraph” module — I try to insert the text into the new document, but the styles don’t persist, and the text is inserted as plain text without formatting.

My goal is to preserve the style of the text from the source document when inserting it into the new one. However, when using HTML, I only get the text, but without formatting (or in the form of “dirty” HTML that looks like regular code instead of formatted text).

Has anyone encountered this problem before? Perhaps there’s another way to transfer styles between documents in Make?

I’d really appreciate any tips or suggestions!

Thanks in advance!

Instead of using “Get Content,” try Google Docs → Export File in .docx format.
Use the CloudConvert or Google Drive API to process and re-upload it.
Insert the .docx into a new Google Doc using Google Docs → Upload File and open it with Google Docs.
This way, formatting should be preserved. If you’re only dealing with specific styles (like bold, italics, font size), another option is using Google Apps Script inside Make to extract and apply styles manually. But if you want a simple way, .docx export/import is your best bet.

1 Like