arrayIntersection

In the ui I see this function available, which does exaclty what I am looking for at the moment. However I cannot find any documentation about this function.

Whats up with that? Is it safe to use this function?

Hey there,

you give it two arrays and gives one array as output with the elements contained in both of them.

Yes I understand that, but why is there no reference to this function anywhere? Even the help tooltip in Make gives a non existing reference:

I’m not sure it was supposed to be added yet. Hence the lack of documentation. Oooor they pushed the functions first and the documentation is lagging behind.

There is arrayDiff() bellow as well, which is also new and lacks documentaion.

Yes, I am curious if I can safely use the function, without the risk it is getting removed or something

Oh yeah sorry :smiley: with Make’s track record, I doubt they will add something this useful and then remove it instantly.

Most likely the documentation isn’t synced yet, but the function should be safe to use.

Ok let’s see, just to add for future reference, I am using this function to combine the result of 2 map()’s so I can filter an array on two key values:

    {
                "id": "rec009HRWsXUxo4dO",
                "StockID": 713,
                "ItemID": "368255b6-5885-4988-b338-4dc64476191a",
                "createdTime": "2026-04-09T07:27:39.000Z",
                "__IMTINDEX__": 1,
                "__IMTLENGTH__": 1260,
                "WarehouseID": "9aa277a0-0bd9-4814-b686-cdabe19c19bf"
            }

So I want the value for id where ItemID and WarehouseID have some known value.

This gives me an array of id’s where ItemID = xxx:

{{map(54.array; “id”; “ItemID”; xxx)}}

This gives me an array of id’s where WarehouseID = yyy:

{{map(54.array; “id”; “WarehouseID”; yyy)}}

The combined result gives me the unique id value which I can use in the upsert Airtable module:

{{first(arrayIntersection(map(54.array; “id”; “ItemID”; xxx); map(54.array; “id”; “WarehouseID.1”; yyy)))}}

I can use this statement in the Upsert Airtable module directly and avoid expensive Set variable modules inside an iteration.

Hey there @Lucas81 :waving_hand:

Great eye! What you saw was an early-access preview of some features currently in our development pipeline.
We briefly enabled them in your zone for final staging, but we’ve tucked them back away while the team puts on the finishing touches.

I’ll make sure you’re among the first to know when they are officially ready for prime time!

Will this function remain available? I hape a scenario depending on it right now :smile:

Hey @Lucas81,

As I mentioned, the function was disabled, but once we enable it, I’ll let you know so you can start building with it!

hmm ok, any idea’s on how to achieve the same result with minimal operations?