Model: GPT-4
Instructions: Analyze this lead's engagement and recommend next nurture action:
**Lead Info:**
- Name: {{lead.name}}
- Company: {{lead.company}}
- Role: {{lead.role}}
- Industry: {{lead.industry}}
- Signup Date: {{lead.created_at}}
**Engagement History:**
- Email Opens (last 30 days): {{http_request.email_opens}}
- Link Clicks: {{http_request.link_clicks}}
- Last Activity: {{http_request.last_activity_date}}
- Content Interests: {{http_request.topics_viewed}}
**Available Content:**
- Educational: Product guides, case studies
- Promotional: Limited-time offers, demos
- Re-engagement: Special incentives
Determine:
1. Engagement level (high/medium/low)
2. Best content type to send
3. Personalized email subject and preview
Structured Output:
{
"engagement_level": "high|medium|low",
"recommended_content_type": "string",
"email_subject": "string",
"email_preview": "string (2 sentences)",
"ready_for_sales": "boolean"
}