Rules is a module to do causation in Drupal.