I'm using D7 with Rules 7.x-2.7. I am trying to create a Rule that will email and BCC all users of a particular role when a node of a certain content type is created. I've added the event: After saving new content of type...
, and the action: Send mail to all users of a role
. What I'm now trying to do is pull in the user profile data to populate the email body. Something like:
Hi [user-field-firstname],
A new announcement has been released. Please log in to your profile and browse to http://examplesite.com/user/[user-id]/announcements.
regards
I've been unsuccessful thus far. I've tried to add another action of Fetch entity by Id
, but could find any decent selectors in the data selector. Any advice for me, please?
site
andnode