Hi,
Weweb does not have server-side workflows, but it can be combined with any service that provides this (probably your data backend service, like Xano for example)
Weweb supports any JavaScript function available in a “normal” (meaning full code) web application, including Math functions.
I have seen quite complex workflow being implemented, so you should only be limited by the performance/UX of the browser itself.