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, description of item, etc.

Each of these ratings would be stored as a Custom Field against each Contact.

Feedback would be gathered via Activities. Could Civi or Drupal Rules be used to calculate averages (based on multiple Activity submissions) and update the custom fields on the Contact?


You would do this with an extension. Check out the Summary Fields extension for inspiration. It's similar to your goal, just geared toward donations and event participation.


Not that I know of. Probably you will need to write your own (relatively simple) sql query within a hook (or a function called by rules). Check out the mysql docs for AVG.


Not sure what you are trying to do exactly but possibly CiviRules (https://civicrm.org/extensions/civirules) would enable you to create specific actions and conditions for this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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