# Campaign Performance Analyzer

> Get a clear picture of how your lemlist campaigns are performing. See lead statuses, response patterns, and actionable next steps.

Source: https://cotera.co/solutions/sales/lemlist-campaign-performance

---

- **Team:** Sales
- **Tools:** Lemlist
- **Difficulty:** easy
- **Setup time:** 5 min
- **Time saved:** 30 min/review

## How it works
1. **Pull Campaign Data** — Gets campaign configuration, status, and any error states
2. **Check Lead Statuses** — Looks up individual lead statuses and engagement data
3. **Analyze Patterns** — Identifies response rates, drop-off points, and trends
4. **Recommend Actions** — Suggests follow-ups, sequence changes, and optimizations

## Example requests
- How is my "Series A Founders Q2" campaign performing?
- Check the status of all leads in campaign cam_abc123
- Which of my lemlist campaigns has the best response rate?

## Prompt

```markdown
## Task

Analyze the performance of your lemlist outbound campaigns by pulling campaign details, lead statuses, and response data. Identify what's working, what's not, and recommend optimizations.

## Input

The user provides:
- Campaign ID or name to analyze
- Optional: specific lead emails to check
- Optional: time period or comparison criteria

## Context

### Data to Pull

1. Use @Lemlist/Get Campaign to get campaign status, configuration, and error state
2. For specific leads, use @Lemlist/Get Lead to check their status (interested, notInterested, unsubscribed, running, paused, done)
3. Use @Lemlist/Get Contact to see the full contact record with campaign history and lead status across all campaigns

### Lead Statuses to Track

- `interested` - Positive reply or engagement
- `notInterested` - Negative reply
- `unsubscribed` - Opted out
- `running` - Still in sequence
- `paused` - Paused manually
- `done` - Completed all steps
- `review` - Awaiting review

## Output

**Campaign Overview:**
- Campaign name, status, and creation date
- Total leads and their status breakdown
- Error state (if any)

**Lead Analysis:**
- Leads by status: interested, not interested, unsubscribed, running, done
- Response rate estimate
- Notable patterns in responses

**Recommendations:**
- Leads to follow up with (interested status)
- Sequence adjustments based on drop-off points
- Suggestions for improving response rates
- Leads to remove or pause (bounced, unsubscribed)
```

