AI - Doors / Navmesh

Can I ask what’s the best way to make a door open automatically when an NPC is near?