How can I convert this text collection to an Array

Hey, I’ve been trying to convert this string into a simple array for past few hours and couldn’t figure it out, can anyone help me with this.

Basically a module gets ID’s as multiple bundles using the “get variable” module

I want to convert them to a simple array cause that is what another module is looking for
image

Could anyone help me figure out how this can be done

You’ll need to aggregate to an array.

In the Array Aggregator, select “Categories” as the “Target structure type”.

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Sure, here’s the blueprint
blueprint (10).json (239.7 KB)

Output of one of the bundles of get variable "

[
    {
        "Tag ID": 1432
    }
]

I tried to do that first, but for some reason it doesn’t show up, not sure why that’s happening

This is how the whole automation looks

I figured it out, I just had to use text aggregator and use comma operator and then use split(text;,) on the Wordpress module

1 Like

Hey there @Fahad_Sheji :wave:

I just wanted to jump in and congratulate you on getting the ball rolling! You and @samliew did a great job solving this puzzle! :jigsaw:

Also, thank you for keeping us in mind and coming back here with the final solution. We truly appreciate you keeping the community neat and tidy for others. :broom:

Keep up the great work! :hibiscus:

1 Like