User Behavior Segmentation

Marketing AnalyticsGrowthUser Segmentation

Problem Statement

The goal is to segment users into a small number of actionable groups based on behavioral patterns to support targeted marketing campaigns. The workflow must analyze event behavior, user attributes, and account age to generate clear segment labels, defining characteristics, messaging themes, and estimated segment sizes. The segmentation must emphasize behavioral signals and avoid creating overly small clusters.

Steps

1

Ingest user data

INGEST

Collect user event logs, demographic attributes, and account age. Normalize and structure the data for behavioral feature extraction.

2

Retrieve historical behavior context

EXECUTE

Look up aggregate statistics such as average user activity, typical recency distributions, and common behavior patterns to guide segmentation thresholds and normalization.

3

Generate behavioral segments

EXECUTE

Run an LLM-assisted clustering analysis using behavioral features (action types, recency, frequency) as primary drivers. Produce 3–5 preliminary segments with rationale.

4

Validate segment actionability

EXECUTE

Confirm each segment meets minimum size requirements, behavioral clarity, and practical marketing differentiation. Merge or adjust segments that fail constraints.

5

Generate segment labels and messaging

EXECUTE

Produce descriptive segment names, key behavioral characteristics, messaging themes, and estimated segment sizes for marketing use.

Prompt Configurations

Behavioral segmentation prompt

Model: gpt-4oTemp: 0.7
You are a marketing analytics expert. Based on the provided user event data (actions, frequency, recency), demographic attributes, and account age, generate 3–5 actionable user segments. Requirements: prioritize behavioral patterns over demographics; ensure no segment is below 5% of users; describe the defining behaviors for each segment; provide strategic, insight-driven, marketing-ready language; do not invent data not provided. Output format: (1) segment label, (2) defining characteristics, (3) suggested messaging themes, (4) estimated percentage of users in each segment.

Example Inputs/Outputs

Input:

User dataset: 10,000 users. Behavior summary: 30% log in weekly and complete multiple actions; 25% log in monthly with low activity; 35% recently active but sporadic; 10% very old accounts with almost no recent behavior. Demographics included but not strongly correlated.

Output:

Segments: 1) High-Intent Power Users (30%): frequent sessions, high action volume; messaging: deepen engagement and upsell. 2) Low-Frequency Explorers (25%): infrequent logins, light usage; messaging: highlight core value props. 3) Sporadic Actives (35%): inconsistent but recent usage; messaging: reinforce habits with reminders. 4) Dormant Legacy Users (10%): very old accounts with minimal recency; messaging: reactivation campaigns. All segments meet the 5% minimum threshold and are behaviorally distinct.