Ignore module for populating a contact list

I have a client who has a Wordpress site, they don’t seem to have a method of passing user data to their contacts list when the user has opted in to receiving promotional emails.

They use NinjaForms and have a very long booking form which sends data to Brevo. Brevo does have a form builder plugin but it doesn’t cater to what the client needs for their form. They use the Bevo plugin at the moment for 2 other basic forms, which work fine. The plugin doubles as an SMTP mailer.

So I thought using Make could be an possible solution, so far I have setup a test scenario to see if I can make it work:

  1. Webhook - Watches for new submissions
  2. A filter checks if the opt-in checkbox is checked, if it has the scenario continues
  3. I then create a contact and pass in their First, Last name and email address into the specified contact list
  4. I added an “Ignore” at the end which ignores errors such as when an email may already exist

Have I done this right? could this be improved?

Also the Ignore module basically ignores all errors, I feel like there’s a downside to using that?

Hello!

What you do seem the most right and straigthforward way to do.
Yes, the Ignore directive will capture any error that happens in Brevo. But, assuming there is a relevant error message coming from Brevo (such as ‘User already exists’), you could add a router before the ignore, add a route with another ‘Ignore’ or any other Error handler directive, and then use the filters in your routes.

  • Route 1 that goes to the initial Ignore => Filter if Message Equals to ‘User already exists’ (or any other comparison based on what Brevo returns).
  • Route 2 that goes to the other directive => Fallback filter or any other filter (you can add as many routes as error types for instance). And here, you can add more modules; for example you send an email to admin or you slack someone that something went wrong.

Like this, you ignore any duplicate, and you still capture any other error.

Benjamin.