How can I chain database and custom triggers?


Within my Bubble app, I need to take a customer through a 4-step process. The steps, as well as their “index”, are stored in an Option set.

When a step is complete, I receive an API call to one of my endpoints. From there, I’d need to trigger the next step, based on its index.

My solution so far is to have 4 database triggers, which trigger when a new “job” is added to my database table. When a step is done, the next “job” is added to the database, and triggers the corresponding event.

My problem: database triggers won’t always wotk if the database thing was created by a workflow, and not human action.

How can I possibly solve that?

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