Find if a Collection Contains a specific collection

This one uses 4 operations per run max, Just make sure there are not 2 list with the same name on your account because it will break
Change the timezone of the “Create a List” module to your timezone, look for your’s here
{{formatDate(now; “YYYY-MM-DDTHH:mmZ”; “America/Argentina/Buenos_Aires”)}}

  1. List all Brevo List
  2. Transforms all invalid dates (like text) to 30/12/1999, then compare the list name to the now variable with the date format DD/MM/YYYY.If there is a list with the same date as today then makes a JSON string with the List Data, if not, then makes an empty string.
  3. The Router has 2 routes with one filter on top. The filter checks if the Text Aggregator text contains “List ID”. If it does, it passes; otherwise, it goes to the fallback route.
  4. In the top route the JSON string transforms to a collection, with the Parse JSON module. The “Get a List” gets all the data of the list
  5. The fallback route creates a new list
    I think it works fine
    Bravo List.json (12.3 KB)