def get_alert(proj, title, form_name, alert_type):
    """Find REDCap Alert definition node in project xml file"""
    alerts_path = r"./Study/GlobalVariables/redcap:AlertsGroup"
    alerts = proj.find(alerts_path, proj.nsmap)
    xpath = f"redcap:Alerts/[@form_name='{form_name}'][@alert_title='{title}'][@alert_type='{alert_type}']"
    return alerts.find(xpath, proj.nsmap)