Display multiple bundles in a Docsn docs

What are you trying to achieve?

:us_outlying_islands: Hi,
I’m new to Make and I’m asking for help with this scenario.
I have a Google Sheets table with 100 football exercises, including their name, description, objectives, didactic unit, recommended age, etc.
The goal is to display 4 of these exercises in a Google Docs template.
In the scenario, I filter through a form using two fields: didactic unit and recommended age, and I want it to select 4 exercises from the table.
Using an Array Aggregator, I extract the 4 bundles.
How should I configure the Google Docs module and my template so that all 4 exercises appear in a single document?
Right now, what I’m getting is 4 separate documents, each with one exercise.

Hola,
Soy nuevo en Make y les pido ayuda con este escenario.
Tengo una tabla de google sheets con 100 ejercicios de futbol, con su nombre, descripción, objetivos, unidad didáctica, edad recomendada, etc.
El objetivo es mostrar en una plantilla de google docs, 4 de estos ejercicios.
Para ello, en el escenario, filtro mediante un formulario dos campos, unidad didáctica y edad recomendada y que escoja 4 ejercicios de la tabla.
mediante un Array aggregator extraigo los 4 paquetes.
Como debo configurar el modulo de google docs y mi plantilla para que salga en un solo documento los 4 ejercicios?
Ahora mismo lo que he conseguido es que me cree 4 documentos diferentes con un ejercicio en cada documento.

Screenshots: scenario setup, module configuration, errors



You need to map the entire array into one document, not per item.

Do this:

After the Array Aggregator, insert a Text Aggregator (optional but clean) or go straight to Google Docs.

In the Google Docs “Create Document from Template” module:

Do not map the individual bundle.

Map the whole array from the Array Aggregator.

Use the map() function in the mapping field inside the module to loop through all items in the array and concatenate them.