Send dynamics number of PDFs into one email

Hello :wave:,

I’m working on building a scenario for an online course where I need to generate two types of PDFs. The first type is a single static PDF created using Google Docs. The second type is dynamic, with the number of PDFs generated based on the number of people involved in the course.

For the second PDFs, I’ve successfully handled this with an array aggregator and the Gmail module, which sends all the PDFs in a single email as required.



However, when I try to map the first set PDFs into the email, it causes issues. Instead of sending the correct number of dynamic PDFs + the first one, it only sends one of each. Even if i map them like this :

I’ve included some screenshots to illustrate the setup and the problem. Any guidance on how to resolve this issue would be greatly appreciated.

Thank you!