Is it possible to create multiple tables, each with multiple rows, using the Google Docs or Word Templates module in Make.com? I configured the input as a nested array (an array of tables, where each table contains a name, index, and a rows array. The rows array contains item, description, and condition fields). However, this did not seem to work with the Microsoft Word document templates aggregator module. Although it created multiple tables, the rows were randomly chosen from the tables and the same content and number of rows were populated for every table.
Is there any other way to create a DOCX or Google Docs document for this purpose using nested arrays?
How I Successfully Generated Multiple Dynamic Tables in Make.com Using Nested Arrays (DOCX/Google Docs)
I recently faced a challenge where I needed to create a document (either in Google Docs or Word) using Make.com that contained multiple dynamic tables, with each table having a unique name, index, and a list of rows (each row containing an item, description, and condition). My initial approach was to send a nested array—an array of tables where each table includes a name, index, and a rows array. However, I noticed that while the Microsoft Word Templates module did generate multiple tables, the rows were not correctly linked to their respective tables. It kept repeating the same rows for every table or mixing them up randomly.
After a lot of trial and error, I found that Make.com’s templating system doesn’t handle deeply nested arrays reliably within the standard DOCX or Google Docs modules. To solve this optimally, I restructured the setup using a combination of:
- A Repeater module for the tables (first level)
- A Repeater or Iterator for the rows inside each table (second level)
- And then built the document programmatically using HTML or Markdown in a Compose module.
Instead of relying on DOCX/Docs templates, I used the final HTML/Markdown content and fed it into a “Create a DOCX from HTML” module or converted it into PDF directly. This gave me full control over formatting, avoided any limitations with nested loops, and ensured each table got the correct rows.
In short: if you want to generate complex, nested documents in Make, skip the built-in Word/Docs templates and use Compose + HTML-based document generation for full flexibility.
Hope this helps anyone trying to generate structured reports or dynamic documents using Make.
Yes, creating the document instead of updating the templates worked. Thank you for your help!!