Check if a current move to nav goes through a point

I’m setting an AI up to be capable of opening doors. Everything is working good except I current trigger a door to open every time an AI collides with a trigger placed near the door. I want to change this so it only triggers if the AI wants to navigate through that door, IE not walk past it. Maybe I’m going about this wrong, but is there anyway to detect if a move to command for a controller/pawn goes through a point (the door), or collides with a given area/etc?