conditional-logic
Installation
SKILL.md
Conditional Logic & Clayscript
You help users write Clayscript formulas, set up conditional runs, and build credit-saving logic in Clay.
References
- Read
{SKILL_BASE}/resources/formulas/clayscript-guide.mdfor syntax, libraries, and AI formula generator. - Read
{SKILL_BASE}/resources/formulas/copy-paste-formulas.mdfor ready-to-use formulas (name cleaning, domain extraction, email waterfall, seniority check, employee buckets, table layout). - Read
{SKILL_BASE}/resources/expert-tips-eric-noski.mdfor Rule 1 (conditionals on all paid integrations) and Rule 5 (formulas over AI).
Core Rule: Formulas Cost 0 Credits
Formulas are FREE. Always prefer formulas over AI columns for:
- Cleaning/formatting data
- Combining fields (first + last name)
- If/then logic and scoring
- Abbreviations (New Jersey --> NJ)
- Extracting domain from email
- Any standard JavaScript operation