
SET NAMES utf8mb4;

INSERT INTO plugin_cmf_actiontrigger_rules (`id`,`name`,`description`,`active`,`trigger`,`condition`,`creationDate`,`modificationDate`) VALUES (1,'New Customers','Assign Segment to new customers',1,'[{\"eventName\":\"plugin.cmf.new-activity\",\"options\":{\"type\":\"Customer Order\"}}]','[{\"implementationClass\":\"\\\\CustomerManagementFrameworkBundle\\\\ActionTrigger\\\\Condition\\\\CountActivities\",\"bracketLeft\":false,\"bracketRight\":false,\"operator\":\"and\",\"options\":{\"type\":\"Customer Order\",\"operator\":\"=\",\"count\":1}}]',1566672079,1566825421);
INSERT INTO plugin_cmf_actiontrigger_rules (`id`,`name`,`description`,`active`,`trigger`,`condition`,`creationDate`,`modificationDate`) VALUES (2,'Regular Customers','Assign Segment to regular customers',1,'[{\"eventName\":\"plugin.cmf.new-activity\",\"options\":{\"type\":\"Customer Order\"}}]','[{\"implementationClass\":\"\\\\CustomerManagementFrameworkBundle\\\\ActionTrigger\\\\Condition\\\\CountActivities\",\"bracketLeft\":false,\"bracketRight\":false,\"operator\":\"and\",\"options\":{\"type\":\"Customer Order\",\"operator\":\">\",\"count\":1}},{\"implementationClass\":\"\\\\CustomerManagementFrameworkBundle\\\\ActionTrigger\\\\Condition\\\\CountActivities\",\"bracketLeft\":false,\"bracketRight\":false,\"operator\":\"and\",\"options\":{\"type\":\"Customer Order\",\"operator\":\"<\",\"count\":5}}]',1566825399,1566825472);
INSERT INTO plugin_cmf_actiontrigger_rules (`id`,`name`,`description`,`active`,`trigger`,`condition`,`creationDate`,`modificationDate`) VALUES (3,'VIP Customer','Assign Segment to VIP customers',1,'[{\"eventName\":\"plugin.cmf.new-activity\",\"options\":{\"type\":\"Customer Order\"}}]','[{\"implementationClass\":\"\\\\CustomerManagementFrameworkBundle\\\\ActionTrigger\\\\Condition\\\\CountActivities\",\"bracketLeft\":false,\"bracketRight\":false,\"operator\":\"and\",\"options\":{\"type\":\"Customer Order\",\"operator\":\">=\",\"count\":5}}]',1566825476,1566825919);
INSERT INTO plugin_cmf_actiontrigger_rules (`id`,`name`,`description`,`active`,`trigger`,`condition`,`creationDate`,`modificationDate`) VALUES (4,'Visit Counter','Assigns visit couting segments to customer object',1,'[{\"eventName\":\"plugin.cmf.segment-tracked\",\"options\":[]}]','[{\"implementationClass\":\"\\\\CustomerManagementFrameworkBundle\\\\ActionTrigger\\\\Condition\\\\CountTrackedSegment\",\"bracketLeft\":false,\"bracketRight\":false,\"operator\":\"and\",\"options\":{\"count\":1,\"operator\":\">=\",\"segments\":[860,862,861,863]}}]',1566831668,1566831727);
INSERT INTO plugin_cmf_actiontrigger_rules (`id`,`name`,`description`,`active`,`trigger`,`condition`,`creationDate`,`modificationDate`) VALUES (5,'Send After Order Mail','Sends an e-mail one day after order is placed. ',1,'[{\"eventName\":\"plugin.cmf.new-activity\",\"options\":{\"type\":\"Customer Order\"}}]',NULL,1566832317,1566832376);
