Trigger event when new row in Database

Hello team,

I need to send emails when there is a new data in my Bubble Data Base.

So far, Zapier (Google Sheet/ Bubble) automation create a new row from google sheet to bubble.

The Google sheet stores: Firstname, lastname and email of customers.

I am looking for a way to detect this new data creation in Bubble so I can send an email automatically to the customer.

How to detect automatically there is a new item in my databse and trigger a workflow base don this condition ?

Thanks

In the bubble backend API workflow there is an option called “database triggers”.

It can start workflow once a new row is created or changed, make sure you added proper conditionals to make workflow triggers only once it’s needed

thanks @sat_miha I understand how to use this “database triggers” when a data changes but not when there is a new data.

Could you please help me ? :slight_smile:

Use ‘Thing before change is empty’

Trigger Event - Bubble Docs

1 Like

“Database triggers” triggers when data is created or changed.
This workflow will start if the record in the database User created or changed
image
This workflow will start only in the user record has a unique id (that means that the record exist and it’s not a new data), so we can be assured that this workflow will start only if the record exists

image
This workflow will start only if the User doesn’t have the unique id(since no record can be created without a unique id, you can assume that this record is new data)
image

1 Like