Internal groups or agents can be set in the Conditions and Actions in automation rules that run on ticket creation or ticket updates.