It kinda doesn't work these days. One of the points of DEI was to eliminate the nepotism hiring (and it's kinda good if the hiring wasn't so broken), so these days referrals don't mean shit unless you're referred by someone high-ranked enough.
I've literally seen people being autorejected after being referred by team-leads these days.