calling workflow and sending response to frontend working