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.
Hi @BrenC11, if you still need help with this, could you please share how your text output looks like?
When reaching out for assistance with extracting text, it would be super helpful if you could share the actual text you’re trying to match. Screenshots of text can be a bit tricky, so if you could copy and paste the text directly here, that would be awesome! It ensures we can run it against test patterns effectively. If there’s any sensitive info, feel free to change it to something fictional yet still valid by keeping the format intact.
Providing clear text examples saves time on both ends and helps us give you the best possible solution. Without proper examples, we might end up playing a guessing game, and nobody wants that as it is a waste of time! You are more likely to get a correct answer faster. So, help us help you by sharing those text snippets.
Please format the example text this way to preserve line breaks and special characters:
To provide code/text using Markdown format, you can type a code fence.
Add three backticks ```
in a separate line before and after the content, like this,
```
text goes here
```
Alternatively, you can upload your file and share the public link —
(this method is only recommended for large files exceeding the forum upload limit)
Hope this helps! Let me know if there are any further questions or issues.
— @samliew