Every new lead passes through a triage function before the record is updated, so the best prospects surface first.
A new lead is created in Zoho CRM
Run data from Zoho Flow's summary page. One recorded run so far.
Read left to right, top to bottom. Animated lines show the main path. Amber is a decision, red dashed is the error path.
The trigger fires on every new lead, so triage happens before anyone opens the record.
A custom function named triageLead evaluates the lead. This is the step that carries the classification logic and the place to plug in an AI model.
The lead record is updated with the triage result, so the sales view reflects it immediately.
Inbound leads land in one queue. Without a first pass, reps open each record to decide which deserves attention now, and strong leads wait behind weak ones.
The triage result sits on the lead, so reps start with the strongest prospects.
Reps stop reading every lead just to decide what to do with it.
The triage function is a clean place to swap in a model later without rebuilding the flow.
The README has the same diagram, the step list and the setup notes.
github.com/mnkiswan/flowops-2-ai-lead-triage →