Prepandemic, I followed whatever directive each school had for absences.
During this virtual year, I emailed the elementary school teacher directly , or emailed my children's counselor for middle or high school, as a courtesy. It's important to model manners for my children. My oldest usually emails his teachers himself for other issues, but for absences I prefer they know the parent has the conn.