I am building a plugin that Uses a client side action to call Firebase and publish data as a custom bubble thing and access it as any other element state
But
I can’t figure out how to use that value in a workflow like with server side actions. With those you can return {“stateName”, value} and use the result in the next step in a workflow.
Hi! Thanks for the mention
Nope, not with client side actions, I already asked Bubble team for that and many other things too, they’re all backlogged but no confirmation on if and when this and other features would be implemented.
A sure fire way to use data from client side actions is to publish to a custom state in the plugin element and then immediately after it trigger a custom event from the plugin element.
Then the workflow continues under the plugin event.