Answers.Body: <p>Check out the new CiviRules extension from ErikH and others to do that - see his answer to my question <a href="https://civicrm.stackexchange.com/questions/3787/how-can-i-send-a-cc-of-an-activity-assignment-e-mail-to-another-user-as-an-fyi">here</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-08T20:14:53.937Z
Answers.Text: Hey, Joe... thanks for letting me know about CiviRules. I didn't know about it. Two issues though: 1. It's only compatible with CiviCRM 4.4 and this site is 4.5. The other thing is that the action I want to take after the condition "contact added to group" has been met is that I want the person added to Drupal Organic Groups group. It doesn't look like that extension can take action on stuff going on in Drupal.
Answers.UserDisplayName: Shai
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-08T19:50:07.240Z
Answers.LastActivityDate: 2015-07-08T19:50:07.240Z
Answers.UserDisplayName: Joe McLaughlin
Body: <p>Using Drupal Rules, I'm trying to create a rule that will fire when someone has been added to a CiviCRM group.</p>
  
  <p><a href="https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms" rel="nofollow">Here is a blog post from petednz</a> which describes how to do this when a tag gets added to a CiviCRM contact.</p>
  
  <p>I'm looking for the same thing but with CiviCRM groups, the choice in the Rules' "React on Event" dropdown would look like "CiviCRM Entity Group has been created" but it's not there.</p>
  
  <p>Is this possible? And if so, how?</p>
  
  <p>And to provide a bit more context, I'm creating a Drupal account for the Contact (If they don't have one) and adding the person to a Drupal Organic Groups group.</p>
  
  <p>Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-10T02:18:03.387Z
Comments.Text: Hi Shai
  Do you have CiviCRM Entity module running? If not does it extend your options?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-10T02:38:44.263Z
Comments.Text: Hey Pete, yes CiviCRM Entities is installed and turned on. I used your rule from the blog post as a basis. It's creating a Drupal account and not posting any errors to he Drupal error log. But the og part is just not doing anything.  I posted the rule to a pastebin: http://pastebin.com/f9PRTcYV. Thanks for any thoughts.
Comments.UserDisplayName: Shai
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-18T19:33:56.910Z
Comments.Text: Shai, this is something that would be useful to publish if you've got it working.
Comments.UserDisplayName: Joe Murray
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-16T02:20:19.490Z
Comments.Text: Shai, did you get this working?
Comments.UserDisplayName: Tenz
Tags: <drupal><drupal-rules>
Title: Trying to Create Rule to Fire When Someone is Added CiviCRM Group
ThreadText: # Trying to Create Rule to Fire When Someone is Added CiviCRM Group
  
  (Asked by: username_0 on 2015-07-08)
  
  Using Drupal Rules, I'm trying to create a rule that will fire when someone has been added to a CiviCRM group.
  
  [Here is a blog post from username_1](https://civicrm.org/blogs/username_1/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms) which describes how to do this when a tag gets added to a CiviCRM contact.
  
  I'm looking for the same thing but with CiviCRM groups, the choice in the Rules' "React on Event" dropdown would look like "CiviCRM Entity Group has been created" but it's not there.
  
  Is this possible? And if so, how?
  
  And to provide a bit more context, I'm creating a Drupal account for the Contact (If they don't have one) and adding the person to a Drupal Organic Groups group.
  
  Thanks.
  
  **Tags:** drupal, drupal-rules
  
  > **Comments:**
  > **username_1**: Hi username_0 Do you have CiviCRM Entity module running? If not does it extend your options?  
  > **username_0**: Hey Pete, yes CiviCRM Entities is installed and turned on. I used your rule from the blog post as a basis. It's creating a Drupal account and not posting any errors to he Drupal error log. But the og part is just not doing anything.  I posted the rule to a pastebin: http://pastebin.com/f9PRTcYV. Thanks for any thoughts.  
  > **username_2**: username_0, this is something that would be useful to publish if you've got it working.  
  > **username_3**: username_0, did you get this working?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2015-07-08. Score: 2
  
  Check out the new CiviRules extension from ErikH and others to do that - see his answer to my question [here](https://civicrm.stackexchange.com/questions/3787/how-can-i-send-a-cc-of-an-activity-assignment-e-mail-to-another-user-as-an-fyi)
  
  > **Comments:**
  > **username_0**: Hey, Joe... thanks for letting me know about CiviRules. I didn't know about it. Two issues though: 1. It's only compatible with CiviCRM 4.4 and this site is 4.5. The other thing is that the action I want to take after the condition "contact added to group" has been met is that I want the person added to Drupal Organic Groups group. It doesn't look like that extension can take action on stuff going on in Drupal.  
  
  ---
  
  