How to find duplicates in 3 arrays and place them first in a new array

1.

First you want to merge all the arrays, then iterate the items.

Use the built-in function merge

Use an Iterator module.

2.

Next you want to aggregate.

Use an array aggregator.

Group by value

3.

Next you want to aggregate them again

Use an array aggregator.

4.

Finally you can use a set variable module.

You can use the built-in function sort.

Then you can use the built-in function map to get the keys.

Then you can use the built-in function join, if you want to combine them into a single string.

Welcome to the Make community!

I would suggest completing the Make Academy before jumping into building a complete scenario.

If you need specific assistance when you are building a scenario it’s easier to help you then.

Otherwise, you can also hire a professional by posting in the #hire-a-pro:professional-services category.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes