Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [drupal-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
94 views

The replacement token civicrm-user:one-time-login-url not working in Drupal Rules emails

With Drupal and Civi latest, is it possible to send an email with a one-time login url? We have a scenario in which an admin grants a membership to a new contact. We want this new contact to ...
Andyg8's user avatar
  • 1,611
0 votes
2 answers
42 views

Undefined property: CRM_Contact_DAO_Contact::$contact_id in civicrm_entity_contact_user_get()

Following the advice I received in Allow only existing CiviCRM contacts to create own Drupal account, I'm trying to implement Drupal Rules to create an associated Drupal user whenever a CiviCRM ...
somnolentsurfer's user avatar
3 votes
2 answers
45 views

A bit of automation?

I'd like to automate couple of settings in my contact list and I was wondering can these be done without writing special extensions or Drupal modules: Couple of people qualify to be a Head Coach of ...
Ralph's user avatar
  • 161
1 vote
1 answer
34 views

Drupal Rules - Condition "Civicrm Contact has email" appears to not be working

The desired outcome was to create a drupal user record if and only if an email exists on the contact - when a membership was created/updated. To do this I wanted to add the condition "CiviCRM ...
Luke Stewart's user avatar
  • 1,890
0 votes
1 answer
65 views

Rule to create a Linked Drupal user account for a specific CiviCRM Contact Subtype

I’m using Drupal 7.56, the Rules module 7.x-2.11 and CiviCRM 4.6.31. I'm trying to create a Drupal Rule that checks the subtype of contact to create a Linked Drupal User Account just for a specific ...
Cristina P.'s user avatar
2 votes
1 answer
68 views

Drupal Rules: Send email then Contact Custom Field Value was updated

There are two different "Reactions on Event" if you create a Drupal Rule: "CiviCRM Contact has been updated" and "Custom field has been updated" (which is clearly about someone edits Field, not value ...
yurg's user avatar
  • 2,050
2 votes
1 answer
70 views

'Create Linked Drupal User Account' problem - bug or user error?

I am trying to set up a rule to create a Drupal User when a Contact is created. The obvious approach is to fire on the event 'CiviCRM Contact has been created, check for the correct Contact subtype, ...
user avatar
2 votes
1 answer
93 views

CiviCRM Entity Tags does not appear in Rules

I am trying to follow the procedure outlined in How can I create a Drupal user when someone submits a CiviCRM-Webform?... but when I try to add the Event to the Rule described, 'CiviCRM Entity Tag' ...
user avatar
1 vote
1 answer
19 views

Drupal OG creation on Membership

trying to implement the following workflow - New Organisation Membership approval in CiviMember creates OG in Drupal called after Org, with Org drupal account as OG admin. I'm looking at maybe using ...
Sean Kenny's user avatar
0 votes
1 answer
28 views

Relationship Type "name" as Drupal [Rules] Token in Civicrm Entity module

Is it possible to retrieve Relationship Type Name in addition to an ID as Rules Token in Drupal 7? It would add some value to "Create/Edit Relationship" Rules action: we could use it in emails, like "...
yurg's user avatar
  • 2,050
2 votes
1 answer
23 views

Award Drupal User points after contribution

I would like to create a Drupal Rule to award Drupal userpoints upon a civicrm contribution being added to a member record through membership sign up. Ideally the points awarded are dependent on ...
robbiemc's user avatar
4 votes
1 answer
70 views

Drupal Rules are not working properly when check CiviCRM Contact's Subtype

I’m using Drupal 7.56 and CiviCRM 4.6.31. I’ve been using Rules in Drupal, as I need to copy the Household Name to the Last Name of a Particular Individual contact subtype (Child) whenever the ...
Cristina P.'s user avatar
1 vote
2 answers
102 views

Setting up rule to link CiviCRM contact (created when webform is submitted) with Drupal 7 account

I have configured the rules same as in Setting up rule to link CiviCRM contact with Drupal 7 account it creates a drupal user if contact is created or updated in CiviCRM. But it doesn't get fired if ...
preeti's user avatar
  • 65
2 votes
2 answers
58 views

Link Drupal Node Content to a CiviCRM user and add user to a group?

I am trying to add the current user logged in to the Drupal 7 site to a CiviCRM group when they add content. For example we have a business directory and the signed in user can submit their listing. I ...
Sohal Khatwani's user avatar
1 vote
2 answers
64 views

In Rules Fetch Contact Entity from Tag Creation

I am trying to fetch the contact entity in a rule which triggers when a specific tag is added to that contact. I seem to be able to load and fetch the Drupal user for the contact but not the actual ...
Ben's user avatar
  • 946
3 votes
2 answers
88 views

Creating Drupal Accounts when a sub-type CiviCRM Contact is created - created by a webform

I have a scenario - which I have no doubt that others will have come a crossed and some will have implemented. The scenario is: to have a web form (created via the Webform module - which has CiviCRM ...
Mo-ster's user avatar
  • 283
2 votes
2 answers
108 views

Can CiviCRM entities be used as events to trigger Drupal Rules?

I have CiviCRM Entity installed, Drupal Rules, up to date versions of both. I'm just creating a simple rule that says when a CiviRM Contribution Page is viewed, a "Hello World" message is displayed. ...
Tony Horrocks's user avatar
1 vote
2 answers
60 views

how to trigger a Drupal rule on CiviMember Roles Sync?

We want to trigger a Drupal rule to display a message "Your membership has expired" when a user logs on. We have CiviMember Roles Sync set to "Synchronize whenever a user logs in or logs out. This ...
nigelwhite's user avatar
0 votes
1 answer
20 views

Can Drupal be used to send an email if an existing contact's name is changed

I'm wondering if it is possible to use the Drupal Rules module with CiviCRM Entity to send me an email when, for example, someone has taken an action (like made a donation) that updated the contact ...
Daniel Strum's user avatar
2 votes
1 answer
125 views

How to create a Drupal rules condition that checks CiviCRM contact's Group or Tag or Subtype

Using Drupal Workflow Rules with CiviCRM Entity to create a Drupal User after a new Civi contact is created. Rule works fine if the only condition is that a new Drupal user can be created for the ...
Dave T's user avatar
  • 1,239
2 votes
2 answers
149 views

Problem creating Drupal users using Rules and Webform integration

I have a simple Drupal webform that is integrated with Civi and creates a tagged contact. I use the approach described by @petednz at https://civicrm.org/blog/petednz/creating-drupal-users-made-easy-...
Graham's user avatar
  • 4,055
0 votes
1 answer
71 views

I want to Coordinate civiCRM mailing list and SimpleNews Mailing list

I send mailings two ways: via civiCRM newsletters and via SimpleNews newsletters. The problem is that I then have two different email lists, one in civiCRM and one in Drupal for SimpleNews. If users ...
LaurynnLowe's user avatar
1 vote
2 answers
65 views

500 error when creating action in rule ''Create linked drupal user account''

I am trying to create a rule based on the blog post here: https://civicrm.org/blog/petednz/creating-drupal-users-made-easy-for-single-or-multiple-contacts-via-civi-imports-and I'm recreating the rule ...
Nicola's user avatar
  • 163
1 vote
0 answers
77 views

Using Drupal Rules to create a CiviCRM Contact - does not load entity ID

I'm trying to create a new Civi Contact for a new Drupal user when added by admin. I then want to copy over Drupal registration field values to the newly created CiviCRM contact. I'm getting stuck ...
Tony Horrocks's user avatar
1 vote
0 answers
59 views

Drupal Commerce checkout for CiviEvent registration?

Has anyone used Drupal Commerce's checkout process to process CiviEvent payments instead of the core CiviCRM payment processor? I have seen a number of discussions about integrating CiviCRM with ...
LunkRat's user avatar
  • 1,614
2 votes
1 answer
76 views

Change Drupal username when auto creating using tags

I'm using Pete's great way of creating Drupal users by adding a tag, but was wondering (as Michael McAndrew did in the comments on that page) how a different username could be auto-created, e.g. email ...
Tenz's user avatar
  • 127
4 votes
2 answers
160 views

How can I use Drupal Rules to remove a contact from a group

Webform_CiviCRM integration enables me to add contacts who submit a form to a Civi group. What I'd like to do is to remove them from another group at the same time, as part of a pipeline process. ...
Graham's user avatar
  • 4,055
10 votes
2 answers
521 views

Does anyone have a recipe for Commerce / Rules / CiviCRM integration?

I'm helping a group that has a small Commerce store on the site (Drupal 7, CiviCRM 4.6.9) and I'd love to be able to push data from Commerce purchases back into CiviCRM. I have seen some general talk ...
Laryn's user avatar
  • 8,268
3 votes
3 answers
85 views

Could Civi or Drupal Rules be used to aggregate ratings for services?

We want to implement a feedback system for services (these would be CiviCRM Contacts). Think of it like eBay feedback with an overall rating and some sub-categories like speed of dispatch, comms, ...
dtw's user avatar
  • 141
6 votes
1 answer
144 views

Can a New Member automatically become a Drupal User with defined Role?

I would like to allow people who pay to become civicrm members to have access to protected DRUPAL pages. I would like it to happen right away rather than waiting for a batch operation. My method is ...
Daniel Ziskin's user avatar
3 votes
1 answer
92 views

Trying to Create Rule to Fire When Someone is Added CiviCRM Group

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 petednz which describes how to do this when a tag gets added to ...
Shai's user avatar
  • 609
1 vote
1 answer
33 views

Custom CRM/Mailing/Info.php causes WSOD when installing extensions

I'm using the custom PHP feature of CiviCRM to apply patches etc I can't do with a hook. I have a custom version of CRM/Mailing/Info.php which causes problems when installing an extension. I get the (...
Ken West's user avatar
  • 1,047
2 votes
2 answers
101 views

Workflow approach for anonymous users, or limited roles to create events

Problem: Currently, we need a trained content editor to create events. The event content, often comes via email from others inside (or outside) the organization. This typically involves copy/paste of ...
Sonicthoughts's user avatar
2 votes
2 answers
275 views

Drupal CiviCRM Rules module: How to use the action "CiviCRM Mailing: Send email"?

I need to schedule CiviMail mailings through Drupal rules. I see that the CiviCRM Rules Integration module has an action labeled "CiviCRM Mailing: Send email" but it's not clear what this action is ...
LunkRat's user avatar
  • 1,614
4 votes
1 answer
192 views

Drupal CiviCRM Entity in Rules: How to loop over all members of a group?

I am using civicrm_entity-7.x-2.x-dev to build a rule using Rules module. I want to use the action "CiviCRM Contact Send Email" to send an email to all members of a CiviCRM group. So I need to loop ...
LunkRat's user avatar
  • 1,614