How to combine bundles from multiple operations into one text string

Dear Make Community!
I am still new and would like to combine the output from multiple operations into one text string for easier handling. I’ll explain based on a concrete scenario I want to build:

Goal of scenario: Create a tool for automatic Competitor Research, by answering questions about competitors (for example the business model)

My Challenge: Combining text strings from multiple operations into one string (See creenshot)

Explanation of the flow in my scenario:

  1. Pulls Name and URL of competitor from Airtable (1 operation)
  2. Researches top 5 URLS to answer my question about the competitor (e.h. business model) (1 operation)
  3. Transforms bundles into JSON file (1 operation)
  4. Makes HTTP request to pull website content from the 5 identified websites (5 operations)
  5. Parses website content from HTML to text (5 operations)

Problem for step 6: Now I want to combine the website text from the 5 operations into one string to analyse it with a Claude module in order to answer my question.

The flow is visible in the screenshot:

What I did so far: I worked my way through the basis courses of the Make academy and tried all modules (Text Aggregator, array aggregator, get/map functions, but nothing worked…)

I am looking forward to hearing your thoughts and many thanks in advance!

To “combine” multiple bundles into a single structure, you’ll need to use an aggregator module.

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

There are other types of aggregator modules, click the below links to find out more:

Your aggregator’s source module in your case, should be the Parse JSON module, because that’s where the multiple bundles are being generated from.

samliewrequest private consultation

4 Likes

Hey Samliew, thanks for the quick input, I highly appreciate it!
Maybe I am doing something wrong, but the issue I have with this is that it still outputs multiple operations. With this approach I only managed to aggregate different bundles within each individual operation but my goal is to combine bundles from different operations.
Here I just did it with the array aggregator and aggregated the output from the text parser.


As you can see the output from the array aggregator are still 5 operations. Here i would like to have it all in one operation. I hope this makes sense. Do you know how I can achieve that?

Your aggregator’s source module should be the Parse JSON module, because that’s where the multiple bundles are being generated from.

3 Likes

Wow, that was exactly what I did wrong and fixed everything. Thanks a lot Samliew, that just made my day :).

No problem, glad I could help!

Links

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

2 Likes

This is such a common issue when using aggregators for the first time. I wonder if the label “source module” is confusing and thus why people don’t understand how to use it when aggregating data? The Make UI could predict how many output bundles would be generated when selecting this drop down and help Makers identify the right source module based on that.

The source module effectively creates a looping mechanism that let’s you collect data into your aggregatation from the output bundles from every module between the source module and the aggregator too. I cannot think of a better name for source module though.

Maybe source module should be renamed “Generate output starting with module” or something like that.

3 Likes