🚀 Killer Updates New Make.com : arrayIntersect() & arrayDifference()
Just noticed that Make has added two very useful array functions: ✅ arrayIntersect()✅ arrayDifference() At first glance they seem simple, but they can eliminate a lot of routers, iterators, filters, and custom logic that many of us have been building manually. Example Use Case: Order Fulfillment Imagine you receive two JSON datasets: Orders [ {"ProductNumber":"P1001"}, {"ProductNumber":"P1002"}, {"ProductNumber":"P1003"}, {"ProductNumber":"P1004"} ] Warehouse Inventory [ {"ProductNumber":"P1003"}, {"ProductNumber":"P1004"}, {"ProductNumber":"P2001"}, {"ProductNumber":"P2002"} ] If you want to get the product number that is in both in Orders and Warehouse Inventory you could use ✅ arrayIntersect() OUTPUT : P1003 P1004 Or if you want the product number that is in the first Array you choose (Eg : Orders) and not in the second array (Eg : Warehouse Inventory) you could use ✅ arrayDifference() P1001 P1002 Why This Is Useful Some quick automation ideas: 🔹 Compare ERP products vs Warehouse stock 🔹 Find customers present in CRM but missing in Mailchimp 🔹 Compare Leads from two systems 🔹 Match employee records between HR and Payroll systems 🔹 Find invoices not yet paid 🔹 Compare Shopify orders against fulfillment records 🔹 Detect missing records during data migrations Previously, I would typically use iterators, filters, aggregators, or custom JavaScript for these scenarios. Now it can be done with a single function. Small update, but definitely one of those features that will simplify a lot of real-world automation workflows. Looking forward for your thoughts on this !