- I have a content type:
event
- It has a single date field:
date
- It has a flag on it:
reminder
When the user flags the node, I want to schedule a rule to send them an email the day of the event.
Can someone walk me through the steps on how to do this?
Edit: I have now gotten as far as being able to schedule the email
This is what I have so far.
Add new component
- Type: Action set
- Name: Send reminder email
- Data Type: User
- Data Type: Node
Add action
- Send reminder mail
- To: 'user:mail'
- Subject: Don't forget about [node:title]
- Body:
- Don't forget about [node:title] tomorrow!
Create new Rule - Name: Schedule reminder email - React on Event: A node has been flagged, under "Remind"
Condition: Entity has field Data Selector flagged-node Field: Date
Action: Schedule component evaluation Action set: Send reminder email