Skip to main content
Question

Google Docs add rows to table and populate with line items

  • December 3, 2021
  • 1 reply
  • 440 views

Hi,

Is there a way to dynamically add rows to a table located within a Google Docs template and populate the rows with line items? 

 

For example I have the following names in comma separated values and would split them by comma, to create an array.  I would then like to inject the two names on separate lines in the Google Docs template.

 

Names: Joe Bloggs, Steve Jobs

 

Google Docs Template should look like below once inserted.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • December 3, 2021

Hi @BradE 

GDocs accept HTML, so you can try dynamically creating the rows to insert: https://www.w3schools.com/html/html_tables.asp

A Code step can be used to create this, but you can try other Formatter options too.