How to use AI to determine the pipeline status of a lead