The trigger which has the alarm as an effect should be set to repeatedly and it should be controlled by a variable e.g.
condition: alarmOn
you can then control the alarm by controlling the variable: have it set to true by one trigger when the intruders are detected, and have another trigger set it to false 5 minutes later.