clay-sdk-patterns

Featured

Apply production-ready patterns for integrating with Clay via webhooks and HTTP API. Use when building Clay integrations, implementing webhook handlers, or establishing team coding standards for Clay data pipelines. Trigger with phrases like "clay SDK patterns", "clay best practices", "clay code patterns", "clay integration patterns", "clay webhook patterns".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clay Integration Patterns ## Overview Production-ready patterns for Clay integrations. Clay does not have an official SDK -- you interact via webhooks (inbound), HTTP API enrichment columns (outbound from Clay), and the Enterprise API (programmatic lookups). These patterns wrap those interfaces into reliable, reusable code. ## Prerequisites - Completed `clay-install-auth` setup - Familiarity with async/await patterns - Understanding of Clay's webhook and HTTP API model ## Instructions ### Step 1: Create a Clay Webhook Client (TypeScript) ```typescript // src/clay/client.ts — typed wrapper for Clay webhook and Enterprise API interface ClayConfig { webhookUrl: string; // Table's webhook URL for inbound data enterpriseApiKey?: string; // Enterprise API key (optional) baseUrl?: string; // Default: https://api.clay.com maxRetries?: number; timeoutMs?: number; } class ClayClient { private config: Required<ClayConfig>; constructor(config: ClayConfig) { this.config = { baseUrl: 'https://api.clay.com', maxRetries: 3, timeoutMs: 30_000, enterpriseApiKey: '', ...config, }; } /** Send a record to a Clay table via webhook */ async sendToTable(data: Record<string, unknown>): Promise<void> { const res = await this.fetchWithRetry(this.config.webhookUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data), }); if (!res.ok) { thr...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

clay-webhooks-events

Implement Clay webhook receivers and HTTP API column callbacks for real-time data flow. Use when setting up webhook endpoints, handling enrichment callbacks from Clay, or building event-driven integrations with Clay tables. Trigger with phrases like "clay webhook", "clay events", "clay callback", "handle clay data", "clay notifications", "clay HTTP API column".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clay-reference-architecture

Design production Clay enrichment pipelines with table schemas, waterfall patterns, and CRM sync. Use when architecting new Clay integrations, reviewing data flow design, or establishing enrichment pipeline standards. Trigger with phrases like "clay architecture", "clay best practices", "clay pipeline design", "clay reference", "clay data flow".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clay-architecture-variants

Choose and implement Clay integration architecture for different scales and use cases. Use when designing new Clay integrations, comparing direct vs queue-based vs event-driven, or planning architecture for Clay-powered data operations. Trigger with phrases like "clay architecture", "clay blueprint", "how to structure clay", "clay integration design", "clay event-driven".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clay-install-auth

Set up Clay account access, API keys, webhook URLs, and provider connections. Use when onboarding to Clay, connecting data providers, configuring API keys, or setting up webhook endpoints for programmatic data flow. Trigger with phrases like "install clay", "setup clay", "clay auth", "configure clay API key", "connect clay providers".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clay-security-basics

Apply Clay security best practices for API keys, webhook secrets, and data access control. Use when securing Clay integrations, rotating API keys, auditing access, or implementing webhook authentication. Trigger with phrases like "clay security", "clay secrets", "secure clay", "clay API key security", "clay webhook security".

2,266 Updated today
jeremylongshore