You need to use the PlexCommunicator webhooks. You'll tell it which plex to monitor and what to do with the events that it sees.