Hey, So I have extracted an array from a load of text, which has broken up the text into bundles. I need each of these bundles to be used in a module further on in my scenario. I know there are a few ways to separate this into output, I currently am using ‘Compose a string’ , but there are 25 items in my array so its using up a fair amount of credits. Is there anyway of doing this in one function?
Hi @BrenC11
A better way to handle this is to use the “Array Aggregator” with the right settings so you process everything in one go. Alternatively, if you’re already getting an array, you can try mapping the array using a single function like map()
inside a "Set variable’ or “Set multiple variables” module. That way, you transform all items in one module without looping or consuming extra ops.
Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation
Hey, thanks. Can you be a bit more detailed? I’m super new to make.com. Here is what I have. It’s giving me a bundle with lots of different results inside the array.
BTW, my Chat GPT result is loads of text evaluating something, the sections are broken up by **, thats what sI’m trying to do. So I can use each section of the text separately.