Data Grouping

Updated on:
September 6, 2023

Portant Workflow can group data within your source spreadsheet and place it into tables within your document. If your source spreadsheet contains multiple rows that should be grouped and inserted into one table then this is the feature for you. A good example use case is when you need to include multiple Google Sheet rows into an invoice template or purchase order.

If you need to use this feature your source spreadsheet will normally have rows which are grouped together like the example below.

You can easily place a data merge table into a document in a few easy steps:

Step 1

Open the Google Sheet Source Block, then open the source field details by clicking the row in the source table. You can then select the data grouping option. This column needs to be unique (e.g. no columns which are named Invoice Number and Invoice No. with the same data in the column.

or you can select it here:

Step 2

Add or open the document block and insert a table into the document (Insert > Table).

Then add the tags into the table. These are the tags of the data that will have multiple lines per document. Please ensure the tags are only added on one row.

Optional: You can add header and footer rows to the top and bottom rows of the table and format as appropriate. The additional rows will only be placed immediately after the row with tags.

Step 3

After you have set up the grouping and other document settings (e.g. Document name, pdf or email etc) you can click the Create Documents button, and voila!, invoices will be made including tables with multiple lines from the spreadsheet source!

Feedback and feature suggestions

We created Portant in 2021 and the feedback we have received since then has been very helpful and greatly appreciated. If you have any feedback please feel free to send us an email at or use our contact form here:


Blake and James

More than mail merge

You can do a lot more than just mail merge with Portant. Portant is a fully-fledged online document automation solution that can optimise many different document flows. You can use our online document automation platform to optimise your repetitive work, so you can get back to doing the work you enjoy.

Get started
Most Popular Templates

Save hours of manual work in just a few clicks

Transform your work life with responsive, fully customizable, and easy-to-use templates.