Hello Zapier Community,
I’m currently working on the technical implementation of a Double Opt-In process using the Brevo API in combination with an external funnel builder called perspective.co, and I need your help with troubleshooting the setup.
Here’s the setup:
-
My funnel is built using Perspective.co.
-
The integration with Brevo is done via Zapier, specifically using a Webhook (Custom Request) to Brevp API.
-
The goal is for the contact to be added to the list only after confirming the Double Opt-In email.
I tested two variants:
Variant 1: Using
listIds
WITHOUT includeListIdsAfterValidation
-
I passed the contact directly into the list using
listIds
-
The contact was successfully created and appeared in the list
-
However, the Double Opt-In email was not sent, even though I used a published transactional template
Variant 2: Using
includeListIdsAfterValidation
-
I changed the JSON body and removed
listIds
, intending that the DOI must be confirmed before the contact is added to the list. -
I used
includeListIdsAfterValidation
as documented in the API reference. -
However, the Double Opt-In email is not being sent, and no contact is visible in Brevo after the request
Current JSON Body:
{
"email": "{{Email}}",
"updateEnabled": true,
"templateId": 7,
"redirectionUrl": "myurl.de",
"includeListIdsAfterValidation": d3],
"attributes": {
"VORNAME": "{{Vorname}}",
"NACHNAME": "{{Nachname}}",
"UTM_SOURCE": "{{utm_source}}",
"UTM_MEDIUM": "{{utm_medium}}",
"UTM_CAMPAIGN": "{{utm_campaign}}",
"UTM_TERM": "{{utm_term}}",
"HINDERNIS": "{{hindernis}}"
}
}
My questions:
-
Is the use of
includeListIdsAfterValidation
in this format correct? -
Is there any obvious error why my DOI-Mail is not sent?
-
When using
includeListIdsAfterValidation
, should the contact already be visible somewhere (e.g. as unconfirmed) before the DOI is completed?
Thank you very much for your support.
Best regards,
Enrico