Webflow form to Brevo mailing list via Make

I tried asking this from make community but with no luck. This is more make issue I guess but I try here too.

I have the same problem as in this thread:

  • I’m sending names and emails from webflow form to make

  • In Make I route the info to brevo and send an email to the form filler (works fine)

  • I’m trying to add that info to my contact list in brevo, but the get a contact-module says Contact does not exist (document_not_found).

In the original thread there is an error handler added to the get contact module, but there is no screenshot on how to set it up.

Also There is a filter added before Create contact module, but how can I get that 313. error message in the condition field?

Anyway is this the only way to get contact information from webflow form to brevo list?

Anyone?

Hey Tomi, I haven’t tried unpacking your logic flow, but;

  • See if there’s a get-or-create call, many CRM APIs support them now, Brevo might as well.
  • Read the Make docs on error handlers- it’s pretty easy to setup and they’re fairly critical for variable data like form inputs- and in your case, matching situations.
  • Google for error codes you get.
  • Brevo support might have the best info.

You’ll want to set up an error handler on the “Get Contact” module so if Brevo returns document_not_found, the scenario routes to “Create Contact.” Had to do this on a client flow recently , the filter just checks for the error code 404 and passes it forward. Brevo doesn’t have a true “get-or-create,” so this is the cleanest way.

Hey @tmitomppalonen ,

You are close to the solution, but you don’t need a router for this use-case. I created a sample workflow based on your screenshot to show how to solve this.

  1. Right click on the ‘Get a Contact’ Brevo module that you have and select ‘Run this module only’ option, give a non-existing contact’s email ID so that this module gives an error message.

  2. Then right click the same module and select ‘Add error handler’ and select Brevo from the app list and then select ‘Create a contact’.

  3. Now when you try to set the filter in between the Get and Create contact modules, you should be able to see the following fields available to map.

  4. You can set the filter accordingly to check if contact does not exist is present in the error message.

  5. Now drag the create contact module upwards and you should be able to see a ‘+’ icon beside the ‘Get a contact’ module to add another module - which is ‘Update a contact’ from Brevo in your case.

  6. Now you can set the rest of the workflow as per your requirements and additionally you can also set a condition between the ‘Get’ and ‘Update a contact’ module that only proceed if Email from get a contact module exists. In case, you are not able to map the ‘Email’ field, you can run the get a contact module with an existing contact’s email ID once and it should populate the fields in the option for you to select from.

This should solve your use-case. Hope this helps.