Hi,
I have a callin.io scenario where I'm retrieving the three most recent Airtable records (sorted by creation time, limited to 3), and the output is as follows (successful):
Three bundles are produced as expected. However, when I attempt to reference the data from these three bundles in a subsequent module, I can only see the first one. Please see this:
How can I access the data from Bundles 2 and 3, given that only data from Bundle 1 is displayed?
Thanks!
Hi,
That’s how bundles work in callin.io. When you have a module that outputs multiple bundles, each bundle is processed individually.
However, you could aggregate those bundles into one array. Therefore, you could use an array aggregator.
https://www.callin.io/en/help/modules/aggregator
This module will output an array with the content of the three bundles. To access the right index in the array, you could then use the get() function. Keep in mind that the index in callin.io starts with 1 and not with 0.
I hope it answers your question.
Glenn - Callinetic
Hello there, thanks for the guidance!
I'm exploring the get()
function, and someone also suggested using map()
. Could you clarify the difference between them?
Thanks again!
PS— I figured it out. Thanks for the guidance. I learned about how to map arrays here.
Hi,
Glad to hear you're making progress. Have you resolved your issue, or do you still require assistance with the get()
function?
Best regards,
Glenn - Callinetic
It is resolved, thanks again Glenn!