4

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 [email protected] 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/

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
    – petednz - fuzion
    Commented May 9, 2018 at 23:38

1 Answer 1

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/

5
  • 1
    To add a few links to Jaap's suggestion (which I second wholeheartedly :-)): CiviRules can be found at civicrm.org/extensions/civirules and documentation on CiviRules at docs.civicrm.org/civirules/en/latest Commented May 10, 2018 at 13:01
  • 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? Commented May 11, 2018 at 17:57
  • You can probably do this in CiviRules by adding a condition, how do you differentiatie between the two? Commented May 14, 2018 at 10:17
  • 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" ? Commented May 15, 2018 at 19:51
  • I would say try out whether the text should be between quotes or not. I dont know exactly. Commented May 17, 2018 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.