Receive an email notification on new subscription that indicates lists that user subscribed to

There is already a thread to create a generate new subscriber email notification:

which points to the old doc to automate this (Classic editor):

https://help.brevo.com/hc/en-us/articles/4406337619474-Classic-editor-Receive-a-notification-when-a-contact-submits-a-form

which points to the new doc to automate this (new Automation editor):

https://help.brevo.com/hc/en-us/articles/27278282993682-Receive-an-email-notification-when-a-form-is-submitted

I followed this last link and it’s good to create a notification with information stored in contact, such as email or display name.

However, I use a Multi-list subscription widget in my sign up form in order to let the user subscribe only to topics (lists) they are interested in.

And that’s the information I want to display in the notification email. But since it’s not a field inside the Contact data but rather a group that the Contact entry belongs to, I don’t see a syntax to display it in the Notify by email action.

Basically, I can display parameters in the form of {{contact.ATTRIBUTE}} but the lists are not an ATTRIBUTE.

My only resort is to go higher in the Automation flow in Form submitted and add a Contact filter condition: Member of a list: (list)

but I need to repeat this for every list possible and create as many automations, with a different hardcoded email text every time:

  • New contact subscribed to List 1
  • New contact subscribed to List 2

Is there a way to just display all the lists a new contact subscribed to?

Do I need to duplicate the list information into a Contact attribute (e.g. in a concatenated string format “List1,List2”) in order to display it? And how can I do this, since I don’t seem to have control over the Multi-list subscription widget to make it a hybrid field that also stores standard Contact field data?

EDIT: I tried to use “What event data to display?” at the end of the Notify by email action parameters, but even after selecting things like “Latest instance of an event” > “Form submitted”, when clicking the {} button Add variable > Event data, it still only shows generic phone Events, coupon Events and deals Events and not the multi-list information I was expecting (looks like Events are a different thing than fields).

Hi there, unfortunately, it is currently not possible to add the list addition details in a notification email, as the “form submitted “ events do not include the exact lists contacts have been added to. See example below:

One workaround could be to create a contact attribute (boolean - yes/no type) for each list addition, and once a contact has submitted a form and is added to a list, to update the boolean to “yes” if the contact is added to the specified list via a dedicated workflow. It would be easier to create a separate workflow for each list; otherwise, it could get very lengthy with conditional “yes/no” splits.

Then, you can add, in the notification email set up, the corresponding attributes such as {{contact.LIST_1}} (you don’t need the “params.” in the placeholder as they won’t be part of an event) and they will display as “True” or “False”. Example:

List 1 - {{contact.LIST_1}} > List 1 - True

List 2 - {{contact.LIST_2}} > List 2 - True

Again, I appreciate that this is long-winded, and not an “out-of-the-box” solution.

If you wanted to only display the lists in which the contacts are added, you could use conditional values and arrays; however, this is a lot more time-consuming. See: https://help.brevo.com/hc/en-us/articles/360001030599--Manual-Show-or-hide-content-in-your-emails-using-if-statements

Once I will, of course, pass this on to our product team for review. I remain available if you have any further questions :slight_smile: