Send email given a condition but needs to be always checking the condition

Hi, i need to send an email to a user only if the last thing in the database was created at least 2 days ago. how can i do this? thank you very much :slight_smile:

What database? Any thing?

yeah doesnโ€™t really matter, what is important is the creation date of the thing. current date minus that creation date needs to be at least 2 for the email to be sent.

On creation of the entry record the sendingEmailDate

@curibe when you create a new record you do not need to record teh sendingEmailDate because Bubble already has a built in field for all data types that is Created Date which Bubble automatically records for you.

So, appropriate approach is to on the send email action to use a condition that is something like last thing in database creation date - current date: format as days is less than or equal to 2

This topic was automatically closed after 70 days. New replies are no longer allowed.