Solution

  • Listen on {{hook_civicrm_post()}} for qualifying membership events.

  • Develop a method to determine whether a Drupal account exists ({{api.UFMatch.get}} should be helpful here)

  • Create a Drupal user (see reference code when needed)

  • Send an email notifying the user of their new account (template to use can be specified as per example)

Updated: 3-27-2019