Send email to user when field value is negative

Hi everyone,

I have a data type called account with 2 fields:

  • user (type user)
  • account_balance (type number)

Depending on what the user does on the interface, the account balance changes. I want to be able to send the user a warning email whenever the account balance is <= zero. I am not sure about the way I should trigger the send email workflow since it is not triggered by a specific user action, but by the value of a field at any give time, Thanks for your insights.

Hey @cedric.kerbidi , use Database trigger in Backend workflow. Just keep the condition to only run it when the account balance <=0

fantastic,

can’t believe I’ve been using Bubble for so long without knowing about that trigger. Thank you !

1 Like