Hello!
I’m using an HTTP request to retrieve data, followed by an iterator to make the data easier to work with.
The issue I’m facing now is that the output looks like this:
1 Collection
id → ExamplevalueID1
name → Examplevaluename1
value → Examplevalue1
2 Collection
id → ExamplevalueID2
name → Examplevaluename2
value → Examplevalue2
I then use:
{{join(map(21.customer_details.custom_fields; “name”); " | ")}}
which gives me:
Name1 | Name2 | Name3…
However, I need the output to look more like this:
Name1 - Value1
Name2 - Value2
Name3 - Value3…
I’m new to Make.com and unsure how to achieve this. If anyone could help, I’d really appreciate it!
Thanks in advance!
Hello David,
can you share the actual output so we can see what you are working with?
This is how it looks:
The iterator (21) have the output like this:
Then I use this data to populate a jira Issue.
The problem is that I dont want the values to be seperated. Instead I need it to look more like
Name1 - Value1
Name2 - Value2
Name3 - Value3…
Instead of…
Name1 | Name2 | Name3…
Value1 | Value2 | Value3…
Welcome to the Make community!
Use a “Text Aggregator”. Read more below.
“Looping” Through Array Items
When you see an ARRAY, think ITERATOR module.
Then,
Combining Bundles Using Aggregators
Every result (item/record) from trigger/iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, 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 can apply to many use-cases like building of JSON, CSV, HTML.
You can find out more about the other types of aggregator modules here:
Example
Here is an example of how your scenario could look:

This is just an example. Your final solution may or may not look like this depending on your requirements.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
1 Like