use action parameters. return back values to from actions based on if/else conditions
eg:create_account action should have an output parameter which you should use in "main" action
eg:create_account action should have an output parameter which you should use in "main" action

