# How to generate a single Word document with multiple pages for different products in MS?

**URL:** <https://community.make.com/t/how-to-generate-a-single-word-document-with-multiple-pages-for-different-products-in-ms/62723>\
**Category:** Questions\
**Tags:** microsoft, functions\
**Created:** [November 29, 2024, 7:02am UTC](https://community.make.com/t/how-to-generate-a-single-word-document-with-multiple-pages-for-different-products-in-ms/62723 "2024-11-29T07:02:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![natss](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@natss](https://community.make.com/u/natss)\
**Post date:** [November 29, 2024, 7:02am UTC](https://community.make.com/t/how-to-generate-a-single-word-document-with-multiple-pages-for-different-products-in-ms/62723/1 "2024-11-29T07:02:53Z")

</div>

Hello, I have this situation

In my workflow, I first download a template and retrieve a set of data from Google Sheets for different items (e.g., Product A, Product B, Product C). It’s important to note that these products are not fixed—they change every week. Each item has the same categories in different columns (e.g., item, date, quantity, unit price).

I need to fill this data into a table in a Word document. To do this, I use a loop or section in the **“Fill a Document with a Batch of Data”** module. However, I need the document to generate the same table on different pages, but per product.

When I set a “group by product” in the module, it works as expected, but it creates separate documents for each product. What I need is to have everything in the same document.

The problem with creating separate documents is that it results in too many operations being counted, which makes the process less efficient.

I would really appreciate any guidance or suggestions on how to approach this issue and find a solution. Thank you!

 ![Captura de pantalla 2024-11-28 a la(s) 1.26.24 p. m.](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/5/4588c30c5cfb4bae83ce98683aaefe1f8d5d3da5.png)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [February 27, 2025, 7:16am UTC](https://community.make.com/t/how-to-generate-a-single-word-document-with-multiple-pages-for-different-products-in-ms/62723/2 "2025-02-27T07:16:43Z")

</div>


