Google Doc Placeholders with JSON

If you don’t get the results you expect, you can download a Google doc as HTML then just clean up that code. There you can find the table and replace the row with all of your rows, which you could build using an iterator and text aggregator.

{{emptystring}} is a special code in Make. When written like that it translates to blank text. When used in a Google Docs module where you need to replace a placeholder in the document with no text. Looks like this:
image

In Google Docs, everything has an index to represent its content, formatting, and place in the document.
When you add things at the bottom, the index number of each object (table, block of text, image, etc…) increases.
When you insert things in the middle then the index of everything you added takes the place of objects that were there then the index of everything that was “pushed” down gets recalculated.
In the case of a table within a document, once you locate the index of row 1, you can insert a row as many times as you want and the index never changes; you just need to add rows in reverse since they’re all getting pushed down every time a row is inserted.
At the end you can use the same index number to delete that row.

1 Like