close.onLeadEnteredSmartView runs once for each lead that appears between two completed observations of a Close Smart View.
automations/on-close-lead-entered-smart-view.automation.ts
smartViewId. Optional static account selects a named Close binding; the project binding is the default. Private and user-dependent views are evaluated with that exact connected Close user’s permissions.
The initial observation establishes a baseline and does not emit existing leads. Later events return { leadId, smartViewId }. Automate.ax preserves the Smart View’s query, sort, and result limit, fully reads each result set, and advances the baseline only after a complete successful observation.
Close does not provide native membership events. This trigger therefore observes differences between completed polls; a transient entry and exit entirely between polls cannot be observed. Close caps Advanced Filtering pagination at 10,000 results, so larger Smart Views fail rather than silently truncating. Legacy text-only and non-lead Smart Views are not supported.