I want to create a custom activity with actions (ie one that does something rather than just record information). The actions are API calls using data from the activity.
One option would be to create the custom activities (as managed entities), and use a post hook to implement the actions. Is that the preferred way or is there something better?
CiviRules is possible but is essentially the same using a post hook.
CiviCRM 4.7.x Drupal 7