How to stop iteration after first successful result in Make (Email validation scenario)

I’m building a Make (Integromat) scenario to validate a list of 18 email permutations using an external email verification service (email-list-verify). The permutations are generated dynamically based on first name, last name, and domain, and stored as an array using split(...).

My goal is:

To stop the iteration immediately after the first email address is found to be valid (Result = ok).

Here’s what I’ve tried:

  • Generating all email variations in a variable (EmailVariablen) using split(...)
  • Using a Repeater module with 18 cycles
  • In each cycle, I pick one email using {{get(EmailVariablen; cycle)}} (or store cycle in an index variable)
  • Then run the email through the verifier
  • I placed a Router after the verifier:
    • If the result is ok, it ends the scenario with Webhook Respond
    • If not, it continues to the next iteration

Problem:
Make doesn’t support true “break” logic in Repeaters or Iterators. All 18 iterations are processed, even if a match is found early. I want to stop the loop after the first success, not just skip the action.

Question:
What’s the best way to break or skip further execution once a valid result is found – while still using the Repeater or a similar structure?

Cheers!

Hey there,

that is because this is not a loop, so there is no stopping it.

What you can do is add an aggregator afterwards to go back to one bundle. Then if the resulting array has a valid email - process that email; and if it doesn’t - go the other route.

On a side note - does split() actually work in this situation and is it creating the array that you need?

1 Like

Hey there,
the idea was to get an array of emails that i can iterate afterward.

Yeah its just you didn’t specify what to split by and it still worked.

Anyways, once you have all the items inside the array, the iterator will go through all of them and produce a new bundle for each item.