Skip to content
Troubleshooting "SE...
 
Notifications
Clear all

Troubleshooting "SET MULTIPLE VARIABLES" and "ARRAY AGGREGATOR"

3 Posts
2 Users
0 Reactions
4 Views
ChatbotEstudio
(@chatbotestudio)
Posts: 2
New Member
Topic starter
 

Hello everyone. Could someone explain why the output of the “set multiple variables” node is sorted as I intend, but the input and output for the “array aggregator” node appear differently, which is not the desired order? Thank you.

 
Posted : 04/09/2024 7:33 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

This is because Aggregators only function with BUNDLES, consolidating them into an ARRAY(s).

Your “Set Multiple Variables” action produces a single bundle, which is then placed as the first “item” within an array, as they are contained within a single bundle. You cannot establish a collection using an Array Aggregator in this manner.

To create a collection, consider utilizing the Parse JSON module instead.

Screenshot_2024-09-05_080947

Example Output

Screenshot_2024-09-05_080911

Hope this assists! Please inform me if you have any further inquiries or encounter any issues.


P.S.: Did you know that the concepts behind approximately 70% of questions posed on this forum are already addressed in the callin.io Academy? Dedicating some time to it will save you considerable time and reduce frustration when using callin.io later on!

 
Posted : 05/09/2024 12:30 am
ChatbotEstudio
(@chatbotestudio)
Posts: 2
New Member
Topic starter
 

The creator of the callin.io AI APP for callin.io does it that way in the video. I tried it that way myself two days ago but I don’t know what I changed that it doesn’t work for me anymore. I leave you a photo of the video scenario used by the creator of the APP and the URL of the video in question. Thanks

Please provide the rewritten markdown content *it should be in the markdown format.

 
Posted : 05/09/2024 4:45 pm
Share: