Adding an "And only if" to an existing template

I am trying to use the existing “When an item is created in this board, connect the item where Name matches Name in board by this logic”, but want to add a “and only if item is in group”

I have a high level board and three low level boards. The high level has three groups. I am trying to automate the mirrors.
The issue is the same name may be in different groups as the same issue may be in the different pieces of software we are working on.
Being new to Monday, this is probably an easy fix, but I have looked around and not seen any way to either edit the template or recreate the exact flow of the template.
Thank you.

Do you have access to workflows? You’ll need to set a workflow up using that same login and condition