DocsAutomator allows for multiple line item tables (from different linked tables in Airtable) to be added in your document.

<aside> 💡 Currently only available for Airtable as the data source

</aside>

Video demo:

https://youtu.be/LjJ4_9HvesI?t=254

Here is an example of a finished document with various tables:

All Tables.pdf

The Google Template including placeholders looks like this:

You can see the full Google Docs template here: https://docs.google.com/document/d/1EeL8Y5uZNfQ3WL6A8UKzbU9KOQkU-snJQGmdKCMgSTE/edit?usp=sharing

You can see the full Google Docs template here: https://docs.google.com/document/d/1EeL8Y5uZNfQ3WL6A8UKzbU9KOQkU-snJQGmdKCMgSTE/edit?usp=sharing

Let’s see how we can set this ups:

1. Defining placeholders in your Google Doc Template

As you can see in the image above, placeholders have to be defined like so: {{line_items_[number]_[name]}}. The number needs to be unique for that table and can’t be used for another table. It’s easiest to start with 1 and just go up for your other tables. So in our example above, the first one is called {{line_items_1_[name]}}, the second one {{line_items_2_[name]}}, etc. The same name can be used in multiple tables and only needs to be unique within the placeholders in one table (so in our example above, we were able to use _name across different tables).

2. Setting up Airtable

In Airtable, the data for your different tables needs to live in different Airtable tables. Here’s our example: