09Waterfall & Workflow
Up to date
2 months ago

How do I set up conditional logic so a Clay enrichment only runs when Surfe actually executed and returned 0 or 1 contacts, excluding rows where Surfe shows 'Run condition not met'?

April 2026
02Community answers1 response

Use the Clay.getCellStatus() function to check if Surfe actually ran, then combine it with your result conditions using AND logic. In your Clay enrichment's 'Only run if' setting, use: Clay.getCellStatus(/Surfe Column) = "success" AND (/Surfe Column = "No people found" OR /Surfe Column = "Found 1 person"). This ensures the enrichment only runs when Surfe actually executed (status = success) AND returned 0 or 1 contacts, automatically excluding 'Run condition not met' rows since their status isn't 'success'.

GTM StackCommunity insight