Best approach to create a Word document (.docx) from plain text

Hi everyone :waving_hand:

I’m working on a scenario where I need to generate a Word document (.docx) starting from plain text, and I’d like to know what’s the best approach or module setup to handle this efficiently.

I know Make has a few ways to generate files (e.g. “Create a text file” in Google Drive, “Create a file” in OneDrive, etc.), but my goal is specifically to produce a formatted Word document — ideally with basic styling (like bold titles, paragraphs, etc.) — and later attach or upload it to another app (such as Asana or Google Drive).

Has anyone found a good method or workaround for this?

Hi,

Google Docs allows you to create documents from HTML- you can use for example Markdown input and using built-in functions convert it to HTML. That’s one example- the most convenient in my opinion.

Then you can simply convert it to .docx using the Google Drive Download a File module and Advanced settings.

1 Like