How do I get data from multiple bundles but only have the rest after run once?

Alright, a tricky question. Here is my scenario:

What it does, it it first looks for certain records within an airtable view. Let’s say there are 3 bundles.
Then it does the EXACT same but it aggregates some data points of the bundles in a single text (hence the 2 aggregators).
However, these middle aggregation steps make me lose the data from the airtable search, hence why there is one in the beginning. I need this because: I need to know the amount of bundles to use in the email, and I need the data from the individual bundles, expecially because I actually want to map some data from each bundle into a google docs template and then attach the template docs to the mail.

So there is the issue: I want to send 1 email, but I want all the data from the bundles. I can do this (see second filter line):

So that I still have the bundle amount, the rest of the scenario just runs once, BUT I lose all the data from all the other bundles…
So is this even possible? Ideal scenario: I run it, there are X (say 3) bundles, the middlle aggregation part runs once, then 3 google docs get made (or 2 or 1 or 5, etc. based on the amount of bundles), and then 1 mail gets sent with all the google docs attached.
Let me know! Quite a brainbreaker, I cannot find out how
Your help is extremely appreciated, amazing community!

You’ll need one more aggregator for the first search module, OR set the first Text Aggregator’s “Source Module” to the first module.

Every result (item/record) from a search/match module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and has applies to many use-cases.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

Hm I see, that could work! Then the next question is, how can I make it make say 7 google docs from templates from the 7 bundles/aggregated bundles, and how do I then only let the send email run once?

Put it before the aggregator probably, but you should create a new thread after you have updated your scenario.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

Alright, thanks a lot! Will make some changes and test it out. Thanks for the help

1 Like