How can I send a notification after a backend workflow ends?

Hello Bubble users,

I can’t fire up a notification when my backend task is complete. I use “notify” plugin.

Any advice?

I don’t use that plugin, so I couldn’t help you with that. But, if you have a field of a data type that is updated as a result of the BEWF, you could use a “Trigger a custom event when data changes,” and set the custom event to use that data type’s field.

For example, I use it with stripe to create a check out page, and have the user field “checkout_url”.

  1. On the BEWF, I make the API call to create the checkout session.
  2. Then update the user with the checkout_url.
  3. On the page where the user is generating the checkout page, I have a “when user is logged in” event with the “trigger custom event when data changes” set to watch current user and field checkout_url.
  4. That event users the action custom event checkout.
  5. That custom event has the data type, user, and uses the action open an external website from user’s checkout_url.
2 Likes

Excellent, thanks! It worked.

1 Like