Answers.Body: <p>You could use the CiviRules extension (<a href="https://civicrm.org/extensions/civirules" rel="nofollow noreferrer">https://civicrm.org/extensions/civirules</a>) for this. Every time an incoming email activity is created in CiviCRM civirules could create a follow up activity in the future. </p>
  
  <p>You need to configure CiviRules in such a way that the trigger is "activity is added", and that you have a condition on the incoming email activity type. And the the action is "create an activity" which is the "follow up activity".</p>
  
  <p>Also note that civiRules triggers for each contact involved in an activity. The latter could be filtered out by a condition provided by civirules.</p>
  
  <p>Documentation of civirules could be found at: <a href="https://docs.civicrm.org/civirules/en/latest/" rel="nofollow noreferrer">https://docs.civicrm.org/civirules/en/latest/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-10T13:01:11.593Z
Answers.Text: To add a few links to Jaap's suggestion (which I second wholeheartedly :-)): CiviRules can be found at https://civicrm.org/extensions/civirules  and documentation on CiviRules at https://docs.civicrm.org/civirules/en/latest/
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-11T17:57:04.833Z
Answers.Text: Very helpful! I've been poking around Civirules, but this might be a great practical use case to get me started.
  
  Now, I don't want the follow-up activity to be added to every incoming email.   Is there a way to differentiate the incoming email processing into two types, only one of which triggers the Civirules rules?
Answers.UserDisplayName: Elijah van der Giessen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-14T10:17:33.963Z
Answers.Text: You can probably do this in CiviRules by adding a condition, how do you differentiatie between the two?
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-15T19:51:19.587Z
Answers.Text: Good idea. I could differentiate by having some standard triggering text within the Activity.
  
  ie. OPERATOR = Contains the text
  TEXT TO MATCH = I will remind you
  
  Should the text to match be enclosed in quotations if I want an exact match? ie. "I will remind you" ?
Answers.UserDisplayName: Elijah van der Giessen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-17T08:29:20.623Z
Answers.Text: I would say try out whether the text should be between quotes or not. I dont know exactly.
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-10T12:38:15.377Z
Answers.LastActivityDate: 2018-05-10T21:44:19.303Z
Answers.LastEditDate: 2018-05-10T21:44:19.303Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I would like to be able to set tasks on a Contact using the Email-to-Activity processor. This would allow me to set Scheduled activities on a Contact in CiviCRM, like:</p>
  
  <p>Follow-up with Sally in two weeks about the topic of the email I'm sending right now</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Example:</p>
  
  <p>I'm emailing a Contact from gmail and in the BCC field I add my Email-to-activity address to attach the email to the Contact's record in CiviCRM.</p>
  
  <p>I would also like to add another Email-to-activity processor address like 2-week-follow-up@my-org.com that would:</p>
  
  <ol>
  <li>Add an Activity to the Contact with a Type I specify (email, phone, etc)</li>
  <li>Sets the date to a future date I determine (ie. two weeks from today)</li>
  <li>Sets the Activity Status to "scheduled"</li>
  </ol>
  
  <p>This would replicate the functionality of Highrise Task Dropboxes: <a href="https://help.highrisehq.com/email/task-dropboxes/" rel="nofollow noreferrer">https://help.highrisehq.com/email/task-dropboxes/</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-09T23:38:34.520Z
Comments.Text: Sounds entirely do-able via an Extension - if you don't get help here (assuming you want to do this yourself) then perhaps hop on chat in the dev room - or dev-newcomers
Comments.UserDisplayName: petednz - fuzion
Tags: <civimail><email><activity><scheduled-follow-up>
Title: Email-to-activity processing – create Activity at future date
ThreadText: # Email-to-activity processing – create Activity at future date
  
  (Asked by: username_0 on 2018-05-09)
  
  I would like to be able to set tasks on a Contact using the Email-to-Activity processor. This would allow me to set Scheduled activities on a Contact in CiviCRM, like:
  
  Follow-up with Sally in two weeks about the topic of the email I'm sending right now
  
  Is there a way to do this?
  
  Example:
  
  I'm emailing a Contact from gmail and in the BCC field I add my Email-to-activity address to attach the email to the Contact's record in CiviCRM.
  
  I would also like to add another Email-to-activity processor address like 2-week-follow-up@my-org.com that would:
  
  1. Add an Activity to the Contact with a Type I specify (email, phone, etc)
  2. Sets the date to a future date I determine (ie. two weeks from today)
  3. Sets the Activity Status to "scheduled"
  
  This would replicate the functionality of Highrise Task Dropboxes: <https://help.highrisehq.com/email/task-dropboxes/>
  
  **Tags:** civimail, email, activity, scheduled-follow-up
  
  > **Comments:**
  > **username_1**: Sounds entirely do-able via an Extension - if you don't get help here (assuming you want to do this yourself) then perhaps hop on chat in the dev room - or dev-newcomers  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-05-10. Score: 3
  
  You could use the CiviRules extension (<https://civicrm.org/extensions/civirules>) for this. Every time an incoming email activity is created in CiviCRM civirules could create a follow up activity in the future.
  
  You need to configure CiviRules in such a way that the trigger is "activity is added", and that you have a condition on the incoming email activity type. And the the action is "create an activity" which is the "follow up activity".
  
  Also note that civiRules triggers for each contact involved in an activity. The latter could be filtered out by a condition provided by civirules.
  
  Documentation of civirules could be found at: <https://docs.civicrm.org/civirules/en/latest/>
  
  > **Comments:**
  > **username_3**: To add a few links to Jaap's suggestion (which I second wholeheartedly :-)): CiviRules can be found at https://civicrm.org/extensions/civirules  and documentation on CiviRules at https://docs.civicrm.org/civirules/en/latest/  
  > **username_0**: Very helpful! I've been poking around Civirules, but this might be a great practical use case to get me started.  Now, I don't want the follow-up activity to be added to every incoming email.   Is there a way to differentiate the incoming email processing into two types, only one of which triggers the Civirules rules?  
  > **username_2**: You can probably do this in CiviRules by adding a condition, how do you differentiatie between the two?  
  > **username_0**: Good idea. I could differentiate by having some standard triggering text within the Activity.  ie. OPERATOR = Contains the text TEXT TO MATCH = I will remind you  Should the text to match be enclosed in quotations if I want an exact match? ie. "I will remind you" ?  
  > **username_2**: I would say try out whether the text should be between quotes or not. I dont know exactly.  
  
  ---
  
  