πŸ”₯ Feature Spotlight: 4 new functions for cleaner data work in Make

:puzzle_piece: Compare arrays, update collections, and format JSON with fewer steps right inside Make

When your scenario needs to sync records, prepare an API request, or update a nested data structure, small data tasks can make your build feel clear. These new functions in Make give you a direct way to handle common data work in expressions, so your scenarios stay easier to read and lighter to run.

:puzzle_piece: New functions in Make are here: arrayDiff, arrayIntersect, set, and escapeJSON

You can use them directly in the mapping interface and in the Make Functions app, wherever you already shape data between modules.

:new_button: Four new functions in Make

  • arrayDiff(array1; array2): Return the values from the first array that are not in the second array. Use it to spot new contacts, removed items, or records that need action.

  • arrayIntersect(array1; array2): Return the values that appear in both arrays. Use it to find matching records, shared tags, or duplicates across two systems.

  • set(collection or array; key; value): Add or overwrite a key and value inside a collection without rebuilding the whole structure.

  • escapeJSON(text): Escape quotes, backslashes, and other special characters so text can sit safely inside raw JSON for webhooks or API calls.

:flexed_biceps: Put new Make functions to work

  • Compare two arrays in one step: Use arrayDiff(array1; array2) to find what is new or missing, or arrayIntersect(array1; array2) to find matches across systems.

  • Add or replace a field without rebuilding the object: set(collection; key; value) lets you update a collection on the fly, which is handy when an API payload needs one extra parameter.

  • Keep raw JSON valid: escapeJSON(text) handles quotes and backslashes for you, so webhook and API payloads stay clean.

  • Use fewer operations for data prep: Logic that once required iterators, aggregators, filters, or search steps can now live within a single mapping field, resulting in cleaner scenarios and more room in your budget for the work that matters.

:rocket: Real-world use cases

  • Sync contacts between tools: Compare CRM emails with your mailing list, then send only the contacts that are not already subscribed.

  • Build API payloads on the fly: Add a missing key to a collection before a request goes out, without copying the whole structure into a new object.

  • Pass user text into raw JSON safely: Escape quotes, slashes, and JSON reserved characters in text fields to prevent your webhooks and API requests from failing due to invalid syntax.

If you work with arrays, collections, or raw JSON in your scenarios, give these functions a try and tell us what you build with them.

Happy automating! :purple_circle:

Valery from Make

:books: Helpful resources

:backhand_index_pointing_right: Docs: Functions in Make
:backhand_index_pointing_right: Docs: array (arrayDiff, arrayIntersect)
:backhand_index_pointing_right: Docs: general (set)
:backhand_index_pointing_right: Docs: escapeJSON

5 Likes