I'm not positive, but I think this trigger should stand alone. The platforms detecting and being detected will be arguments of the doctrine.
To create the group, use the "create group" command at the end of the trigger. It's on the same dropdown as "run script."
__________________
|