Hey @stefancvrkotic @Jack_T !
I was actually talking with @lizzie about this recently. Very promising indeed.
Currently we’re using the Wundergraph SDK on Railway as an out-of-box way to set up this gateway, then calling Retool Workflow endpoints from there.
Nice benefit of the sdk is that it also generates an OpenAPI schema (and inputs + responses are typesafe/etc).
There’s obviously lag introduced because of the multiple hops (instead of directly calling workflows), but I find the tradeoff to be worth the discoverability and other downstream benefits of using the SDK, especially as our platform grows larger. (We can use the generated client SDK for our API in Retool’s custom react components, for example)
Of course, Workflows as a native gateway and API would be a way smoother solution. WG has some additional benefits, but I’m looking forward to seeing how this develops within Retool!
Was going to put together a post on the Retool-WG setup (and share the Railway template) in a few weeks. Happy to share if you’re interested.