{ "rules_entity_tag_account_create" : { "LABEL" : "Entity Tag Account Create", "PLUGIN" : "reaction rule", "TAGS" : [ "CiviCRM", "CiviCRM User" ], "REQUIRES" : [ "civicrm", "rules" ], "ON" : [ "civicrm_entity_tag_create" ], "IF" : [ { "NOT civicrm_entity_user_exists" : { "civicrm_contact" : [ "civicrm-entity-tag:entity-id-contact" ] } }, { "data_is" : { "data" : [ "civicrm-entity-tag:entity-table" ], "value" : "civicrm_contact" } }, { "data_is" : { "data" : [ "civicrm-entity-tag:tag-id" ], "value" : "16" } } ], "DO" : [ { "civicrm_entity_action_create_user" : { "USING" : { "civicrm_contact" : [ "civicrm-entity-tag:entity-id-contact" ], "is_active" : 1, "notify" : 1 }, "PROVIDE" : { "civicrm_user" : { "civicrm_user" : "Created Drupal User" } } } } ] } }