Core Concepts
Understanding Lead Warmer’s key concepts will help you make the most of the platform.
Organizations
An organization is your top-level account container. All users, campaigns, leads, and videos belong to an organization.
- Each organization has isolated data
- Organizations have their own webhook endpoints
- Branding and settings are configured per organization
User Routing
When a lead comes in via webhook, Lead Warmer determines which user should handle that lead. This is called user routing.
How Routing Works
- Webhook arrives with lead data
- System checks
external_system_idmapping - Lead is assigned to the matched user
- Videos are generated using that user’s avatar
Setting Up Routing
Configure user routing in Settings > User Routing:
{
"user_routing_map": {
"sales-rep-001": "user-uuid-1",
"sales-rep-002": "user-uuid-2"
}
}Campaigns
Campaigns define when and how videos are generated for leads.
Campaign Components
| Component | Description |
|---|---|
| Rules | Conditions that determine which leads trigger this campaign |
| Script | The video script with variable placeholders |
| Settings | Email subject, sender name, etc. |
Campaign Types
- Organization Campaigns - Apply to all users in the organization
- Personal Campaigns - Created by individual users with custom overrides
Rule Operators
| Operator | Example | Description |
|---|---|---|
equals | source equals "hubspot" | Exact match |
contains | company_name contains "tech" | Partial match |
greater_than | deal_value greater_than 10000 | Numeric comparison |
less_than | score less_than 50 | Numeric comparison |
Leads
A lead represents a potential customer received via webhook.
Lead Lifecycle
Received → Processing → Video Generating → Completed
↓
Failed (with error details)Lead Statuses
| Status | Description |
|---|---|
pending | Just received, awaiting processing |
processing | Being matched against campaigns |
video_generating | Video is being created |
completed | Video sent successfully |
failed | Error occurred (check error details) |
Videos
Videos are the AI-generated personalized messages sent to leads.
Video Generation Flow
- Lead matches a campaign
- Script variables are replaced with lead data
- HeyGen generates the video
- Video is stored in secure storage
- Email is sent with video link
Video Statuses
| Status | Description |
|---|---|
pending | Queued for generation |
processing | Currently being generated |
completed | Ready and delivered |
failed | Generation failed |
Variables
Variables are placeholders in scripts that get replaced with lead data.
Available Variables
| Variable | Description |
|---|---|
{{first_name}} | Lead’s first name |
{{last_name}} | Lead’s last name |
{{company_name}} | Lead’s company |
{{email}} | Lead’s email address |
{{job_title}} | Lead’s job title |
Custom Variables
Access custom fields from webhook data:
{{custom_fields.product_interest}}
{{custom_fields.meeting_date}}Next Steps
- Webhook Overview - Deep dive into webhook integration
- Campaign Rules - Advanced rule configuration
- Troubleshooting - Common issues and solutions