Create flag trigger

Create a new flag trigger.