A CDP works in three main steps: 1. Data Collection: Gathers data from multiple sources. 2. Data Unification: Combines and cleans the data, creating a unified customer profile. 3. Data Activation: Makes the unified data accessible for marketing and sales activities in real time.