GTM Stack

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'?

February 2026

1 Answer

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'.

February 2026

Add your take

Have experience with the tools discussed here? Share your honest opinion.