Hello bubblers!
I’m struggling with a problem…
I will try to explain it below.
So in my app I want to give my users the ability to import a list of emails in the database and then be able to send an email to all those imported emails.
That part was easy peasy…
In my app I have a FileUploader and from it they can upload a file in .csv form
Then in the workflow I have:
When FileUploader value is changed —> Upload data as CSV
And that works perfectly.
Now the problem…
If a user upload that same file but upgraded (for example before in that file there were 50 email and then they add 10 new email to that file) the problem that I have is that now in my database there are 110 emails
50 emails from the first time they uploaded the file
plus
60 emails from the second time they uploaded that same file
How can I delete automatically the 50 emails that are already in my database and only keep the 10 new emails
Any advice will be much appreciated