Help

Re: Zipping arrays in Make (Integromat)

1399 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrey_Kovalev
8 - Airtable Astronomer
8 - Airtable Astronomer

Hello everyone!

I have a database with multiple linked tables and I have a JSON response with which parts I need to update corresponding records in those tables. To achive that (as I'm thinking) I need to solve a simple problem of zipping two arrays into one. Say, I have [rec1, rec2, rec3] and [val1, val2, val3]. I need to get a zipped array [[rec1, val1],[rec2,val2],[rec3, val3]]. How could I make this transformation with Make? Any ideas?

Andrey

2 Replies 2

It’s possible that my 20-minute demonstration of Make’s Array functions and Make’s Array tools will give you some insights on this:

Working With Airtable Arrays in Make


ScottWorld
Expert Airtable Consultants

 

Andrey_Kovalev
8 - Airtable Astronomer
8 - Airtable Astronomer

Solved. That was easy, but at first site not obvious. 

  1. Use an Iterator for the first array
    2023-11-27_14h25_49.png
  2. Configure Record Update module to take Array_1 element and collect corresponding element from Array_2 using a bundle index
    2023-11-27_14h25_35.png
    Hope it will help somebody 🙂

Regards,

Andrey