This could be done with card buttons, but would like it to be automated without any additional user action
@Tim Kohn in addition to the answer provided by @Katrin Anger if you wanted this to work for any list in which the card resides you would use this rule instead:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.