Skip to content
[Airtable] Searchin...
 
Notifications
Clear all

[Airtable] Searching Records Module Returns Multiple Bundles, But I Can Only Link One?

5 Posts
2 Users
0 Reactions
3 Views
olivedrab
(@olivedrab)
Posts: 5
Active Member
Topic starter
 

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!

 
Posted : 29/12/2022 2:03 am
Callinetic
(@callinetic)
Posts: 13
Active Member
 

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

 
Posted : 29/12/2022 7:55 am
olivedrab
(@olivedrab)
Posts: 5
Active Member
Topic starter
 

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.

 
Posted : 30/12/2022 12:47 am
Callinetic
(@callinetic)
Posts: 13
Active Member
 

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

 
Posted : 30/12/2022 7:29 am
olivedrab
(@olivedrab)
Posts: 5
Active Member
Topic starter
 

It is resolved, thanks again Glenn!

 
Posted : 30/12/2022 7:02 pm
Share: