OpenAI
AdvancedOpenAI Embeddings for GTM
Use OpenAI embeddings for lead similarity, content matching, and semantic search in GTM
Instructions
OpenAI Embeddings for GTM
Use cases
- ICP lookalike scoring: Embed descriptions of your best 20 customers. For each new lead, embed their Clay-enriched profile and compute cosine similarity. Score > 0.8 = strong match.
- Content-prospect matching: Embed your blog posts and case studies. When a new lead enters, find the most relevant content to send them.
- Competitive positioning: Embed competitor messaging alongside yours. Identify gaps in your positioning.
Implementation
- Use
text-embedding-3-small(1536 dimensions, $0.02/1M tokens) - Store embeddings in a simple JSON file or Supabase pgvector column
- Compute cosine similarity in n8n using a Code node
- Cache embeddings — recompute only when source data changes
Tips
- Batch embed (up to 2048 inputs per request) to minimize API calls
- Normalize text before embedding: lowercase, remove special chars, trim to 500 words
- Refresh ICP embeddings monthly as your customer base evolves