Array target structure

Hey everyone,

I’m working with an array custom structure and I’ve run into an issue when trying to use the map() function.

I have a custom array built using the Array Aggregator, and I’ve defined the target structure manually. However, each field in the resulting array has a very long and random RAW name — something like lfd6khIJH0rbM4y4G When I want to reference a specific value in the array using a formula like get(map(array; 1); “field”), I’m forced to type out these long auto-generated strings for every field.

This becomes extremely tedious, especially when dealing with 20+ fields and multiple iterations.

My questions:

Is there any way to rename or alias these RAW field names to something readable within Make?

If not, how do you typically handle this when writing map() functions for larger arrays? Is there a best practice or workaround to avoid all the manual typing?

Would love to hear how others deal with this — or if there’s something I’m missing!

Thanks in advance :folded_hands:

Hi @Sam_Bastiaens
You can add the set multiple variables module before the array aggregator and specify the name of the variables.

Appreciate the feedback! However, this doesn’t solve the issue for me. The raw name is still the same since the array aggregator decides the naming convention. As you can see in the screenshot, the fields are named correctly, but it’s just the raw name to be used in a map function that’s weird.

@Sam_Bastiaens, the raw name won’t be the same if you aggregate the set multiple variables output instead of the iterator output.