Activation funnel aha moment

From CraftOS-dev/craftbot-agent-bundles · View interactive version

Activation funnel aha moment is an AI agent skill from the GitHub repository CraftOS-dev/craftbot-agent-bundles. Source: Stackmatix PLG onboarding+activation playbook + Sean Ellis test + Casey Winters Reforge activation framework

How to use this skill

Skill file

<!--

Source: Stackmatix PLG onboarding+activation playbook + Sean Ellis test + Casey Winters Reforge activation framework

-->

Activation Funnel + Aha Moment SKILL

Identify, validate, and improve the activation event (behavioral, measurable) and aha moment (emotional, qualitative). Uses cohort-diff statistical analysis, Sean Ellis Test, and percentile TTV windowing. The single most-leveraged growth lever — activation predicts retention.

When to use

Trigger phrases:

Do NOT use for:

Setup

export POSTHOG_PERSONAL_API_KEY="phx_..."
export AMPLITUDE_OAUTH_TOKEN="amp_..."
export TYPEFORM_TOKEN="tfp_..."   # for Sean Ellis test survey
export NOTION_TOKEN="ntn_..."     # cohort + activation spec storage

Required event taxonomy:

The activation framework (canonical)

| Concept | Definition | Tool |

|---|---|---|

| Aha moment | Emotional / qualitative: "I finally have X solved" | Sean Ellis Test, jobs-to-be-done interviews |

| Activation event | Behavioral / quantitative proxy for aha | PostHog cohort, Amplitude funnel |

| Activation rate | % of new users hitting activation event in 7-14d | Cohort analysis |

| TTV (time-to-value) | Signup → activation event, p25/p50/p75 | HogQL percentile query |

| Magic moment N | Specific count threshold (e.g., 3 documents created) | Cohort-diff regression |

Benchmarks (Userpilot 2024, 547 SaaS):

Common recipes

Recipe 1: Cohort-diff to identify activation event candidates

-- PostHog HogQL — find behaviors that predict Day-30 retention
WITH signup_cohort AS (
  SELECT DISTINCT person_id, min(timestamp) AS signup_ts
  FROM events
  WHERE event = 'User Signed Up'
    AND timestamp >= '2026-04-01' AND timestamp < '2026-05-01'
  GROUP BY person_id
),
retained_d30 AS (
  SELECT DISTINCT s.person_id
  FROM signup_cohort s
  JOIN events e ON e.person_id = s.person_id
  WHERE e.event IN ('Session Started', 'core_action')
    AND e.timestamp BETWEEN s.signup_ts + INTERVAL 30 DAY
                        AND s.signup_ts + INTERVAL 37 DAY
),
candidate_actions AS (
  SELECT
    e.event,
    e.person_id,
    s.person_id IN (SELECT person_id FROM retained_d30) AS retained
  FROM signup_cohort s
  JOIN events e ON e.person_id = s.person_id
  WHERE e.timestamp BETWEEN s.signup_ts AND s.signup_ts + INTERVAL 7 DAY
)
SELECT
  event,
  countDistinctIf(person_id, retained) AS did_retained,
  countDistinctIf(person_id, NOT retained) AS did_churned,
  did_retained * 1.0 / (SELECT countDistinct(person_id) FROM retained_d30) AS pct_retained_did,
  did_churned * 1.0 / (SELECT countDistinct(person_id) FROM signup_cohort
                         WHERE person_id NOT IN (SELECT person_id FROM retained_d30)) AS pct_churned_did,
  pct_retained_did / nullIf(pct_churned_did, 0) AS lift_ratio
FROM candidate_actions
GROUP BY event
HAVING did_retained + did_churned >= 50
ORDER BY lift_ratio DESC
LIMIT 20

Interpretation:

Recipe 2: Magic-number-N estimation

For an event (e.g., Document Created), find the threshold N at which retention asymptotes.

SELECT
  CASE
    WHEN n_docs = 0 THEN '0'
    WHEN n_docs = 1 THEN '1'
    WHEN n_docs = 2 THEN '2'
    WHEN n_docs BETWEEN 3 AND 5 THEN '3-5'
    WHEN n_docs BETWEEN 6 AND 10 THEN '6-10'
    ELSE '11+'
  END AS doc_bucket,
  count() AS users,
  avg(retained_d30) AS retention_rate
FROM (
  SELECT
    person_id,
    countIf(event = 'Document Created' AND timestamp <= signup_ts + INTERVAL 7 DAY) AS n_docs,
    -- 1/0 retention flag
    countIf(event = 'core_action' AND timestamp >= signup_ts + INTERVAL 30 DAY) > 0 AS retained_d30
  FROM events_with_signup_ts
  GROUP BY person_id, signup_ts
)
GROUP BY doc_bucket
ORDER BY doc_bucket

The bucket where retention jumps and asymptotes = your magic-number. E.g., "3 documents in 7 days" → 78% retention vs 12% at 0 docs.

Recipe 3: Sean Ellis Test survey (validates aha moment)

# Field via Typeform (typeform skill)
# Trigger: users with 2+ sessions in last 14d (engaged but new enough to remember pre-product)

# Question 1 (the one):
# "How would you feel if you could no longer use [product]?"
# Options: Very disappointed / Somewhat disappointed / Not disappointed / N/A (no longer using)

# Question 2 (theming follow-up):
# "What's the primary benefit you receive from [product]?"  (free text)

# Question 3 (segmentation):
# "What type of person do you think would most benefit from [product]?" (free text)

Analysis:

Feed Q2 free-text responses to Claude for theming:

themes = claude.summarize_themes(
    responses=q2_responses,
    n_themes=5,
    prompt="Extract distinct benefit themes; report frequency"
)

Recipe 4: Activation rate measurement (PostHog cohort)

WITH signup_cohort AS (
  SELECT person_id, min(timestamp) AS signup_ts
  FROM events WHERE event = 'User Signed Up'
    AND timestamp >= now() - INTERVAL 60 DAY
    AND timestamp < now() - INTERVAL 14 DAY  -- exclude users not yet 14d old
  GROUP BY person_id
)
SELECT
  toStartOfWeek(signup_ts) AS signup_week,
  count() AS cohort_size,
  countIf(activated) AS activated,
  activated * 100.0 / cohort_size AS activation_rate_pct
FROM (
  SELECT
    s.person_id, s.signup_ts,
    exists(SELECT 1 FROM events e
           WHERE e.person_id = s.person_id
             AND e.event = '<activation_event_name>'
             AND e.timestamp BETWEEN s.signup_ts AND s.signup_ts + INTERVAL 14 DAY) AS activated
  FROM signup_cohort s
)
GROUP BY signup_week
ORDER BY signup_week DESC

Recipe 5: TTV percentiles (p25/p50/p75)

SELECT
  quantile(0.25)(ttv_minutes) AS p25,
  quantile(0.5)(ttv_minutes) AS p50,
  quantile(0.75)(ttv_minutes) AS p75,
  quantile(0.95)(ttv_minutes) AS p95
FROM (
  SELECT
    person_id,
    dateDiff('minute',
      minIf(timestamp, event = 'User Signed Up'),
      minIf(timestamp, event = '<activation_event>')
    ) AS ttv_minutes
  FROM events
  WHERE event IN ('User Signed Up', '<activation_event>')
    AND timestamp >= now() - INTERVAL 30 DAY
  GROUP BY person_id
  HAVING ttv_minutes > 0
)

Recipe 6: Slice activation by ICP segment

SELECT
  properties.icp_segment,
  countDistinct(person_id) AS cohort,
  countDistinctIf(person_id, activated_within_7d) AS activated,
  activated * 100.0 / cohort AS rate
FROM cohort_with_activation_flag
GROUP BY properties.icp_segment
ORDER BY rate DESC

ICPs with rate < 30% may indicate wrong-fit — exclude from paid acquisition.

Recipe 7: Activation event-to-feature map (write spec to Notion)

# Generate activation spec doc via notion-mcp
spec = {
    "Aha moment (qualitative)": "I can find anything in my docs in seconds",
    "Activation event (behavioral)": "search_used",
    "Magic number": "≥ 2 searches in first 7 days",
    "Activation window": "7 days post-signup",
    "Current activation rate": "31%",
    "Benchmark": "B2B SaaS avg 37.5%, BIC 60%+",
    "TTV p50": "2h 14m",
    "TTV p25": "8m",
    "TTV p75": "1d 6h",
    "Sean Ellis Test": "37% very disappointed (close to PMF)",
    "Constraint": "Search discoverability — only 41% of activated users found the search bar",
    "Top 3 experiments": [
        "Inline search prompt after first doc creation",
        "Onboarding step that demonstrates search",
        "Empty-state CTA pointing to search"
    ]
}
notion.create_page(parent_id=growth_db_id, properties=spec)

Recipe 8: Validate activation event via inverse correlation

The chosen activation event should:

  1. Predict retention (lift_ratio > 2.0)
  2. Be ATTAINABLE in TTV window (p50 < window)
  3. Be FREQUENT enough to measure (≥ 30% of cohort attempt it)
  4. Be UPSTREAM of revenue (correlates with paid conversion)
SELECT
  activated AS act,
  countDistinct(person_id) AS users,
  countDistinctIf(person_id, paid_conversion) AS paid,
  paid * 1.0 / users AS paid_conversion_rate
FROM cohort_with_activation_and_revenue
GROUP BY activated

Activated users should have 3-5x the paid conversion rate of non-activated. If not, your activation event is downstream of value, not predictive.

Examples

Example 1: SaaS dashboard product

Cohort-diff results:

| Event | Day-30 retained pct | Day-30 churned pct | Lift |

|---|---|---|---|

| dashboard_created | 82% | 11% | 7.5x |

| data_source_connected | 91% | 18% | 5.1x |

| dashboard_shared | 71% | 5% | 14.2x |

| report_scheduled | 44% | 8% | 5.5x |

Best candidate: data_source_connected (highest pct_retained_did + attainable in TTV window).

Magic number test: 1 data source → 64% retention; 2 → 81%; 3+ → 87%. Magic number = 1.

Sean Ellis Test (n=240 engaged users): 43% very disappointed → PMF signal.

Activation rate: 28% → below B2B SaaS avg of 37.5%. Constraint: data-source connection is the choke point. TTV p50 = 22 minutes (above best-in-class 5-min).

Plan: reduce data-source-connection friction (OAuth presets, common-DB starter templates). Target TTV p50 < 10 min, activation rate > 40% within Q2.

Example 2: Consumer note-taking app

Cohort-diff top events:

But share_link_generated p50 TTV = 6 days (most users don't share that fast).

Choose note_tagged (lift good + p50 = 4 hours). Magic number = 3 tags.

Sean Ellis Test: 31% very disappointed → not yet PMF; iterate. Theme analysis: most "very disappointed" mention "search across all my notes" → product investment area.

Edge cases / gotchas

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.