Modify dashboard response code

Hello everyone,
I would like to alter the response code the dashboard sends when a new connection is made.
depending on conditions in a flow, I would like to return, for instance, 503 instead of 200.
Is that possible?

I know how to do it with the http response node, but not how it could be done with the dashboard.

Thanks for any helpful info!