Your workflow has fundamental errors. I'm not going to explain them all, there are many.
But will resolve your query. To pass dynamically generated password to the next command use Powershell cmdlet : Add-WfaWorkflowParameter and Get-WfaWorkflowParameter in your next command. See how to to use them go-to WFA->Help->Support Links -> WFA Powershell cmdlets help