I am writing a plugin for a customer to interface with my Bubble app. The customer’s program only allows me to provide one https endpoint. Basically, when a user clicks on a person inside of the customer’s application (ex. “Johnny Appleseed”), their application triggers a data object to be sent to the specified plugin endpoint (i.e. my Bubble app’s endpoint) with that person’s email address.
The issue here is that the endpoint should be my bubble page (not an API workflow), so that I can display the Bubble Page inside their plugin-view and show [email protected]’s info. As far as I can see, the problem is that Bubble API workflows cannot tigger a “send data to page” and Bubble pages cannot ‘listen’ for incoming data objects. I basically need a “send data to page” action to be triggered every-time the customer’s application sends my Bubble endpoint an email address via json.
If the customer’s application allowed me to enter both an endpoint and a front-end url, I would probably just store the email addresses coming to my endpoint in a Thing, and then having the plugin’s Bubble page ‘do every 5 seconds’ load the most recent email address entered into the thing. Since I can only specify one endpoint, this is not possible. Does anyone have ideas on how to solve this?