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”)}}
- List all Brevo List
- 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.
- 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.
- 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
- The fallback route creates a new list
I think it works fine
Bravo List.json (12.3 KB)