Overview
The Mission Control database is organized into three core models that handle the full data pipeline from event ingestion through customer identity resolution and user management.Event Model
Data from every connected client is processed through Kafka and stored in the Events table. The tracking tag is responsible for fetching client click data and sending it to Kafka consumers.Data Flow
Tables
Events
Events
Raw event data ingested through Kafka. This data is further processed by the “Process Data” script for evaluating, analyzing, and scrubbing.
User Session
User Session
Contains processed user details including orders, visits, and transaction details.
Order Credit
Order Credit
Stores credit given to each source that a user has come through. Tracks orders and visits by customer.
Interaction Insight Summary
Interaction Insight Summary
Records order information by media source for the Customer Interaction platform.
Interaction Insight DateAggSummary
Interaction Insight DateAggSummary
Tracks the number of times users visit a specific website, aggregated by date.
Customer Model
This model retains data from third-party sources like Shopify and HubSpot. The Data Collector script processes data from these sources and stores it in the Integration Customer table.Data Flow
Tables
Integration Customers
Integration Customers
Raw customer data from third-party integrations.
Configuration Table
Configuration Table
Manages the mapping and routing of customer data from the Integration Customers table to the eventapp tables. Divided into three sub-tables:eventapp_dataobjectconfig
eventapp_idtype
eventapp_attribute
eventapp_identity
eventapp_identity
Stores customer credentials (email, customer ID) resolved from the Integration Customers table.
eventapp_userattribute
eventapp_userattribute
Retains additional customer details such as name, address, and contact information.
eventapp_userevents
eventapp_userevents
Records customer events (currently stores Gorgias data).
Users Model
Handles client onboarding and authentication. When a new client registers through the client registration form, their details are stored in theuseraccount_client table with a corresponding client_id. Login credentials (email and password) are stored in the users table under the same client_id.
Tables
useraccount_client
useraccount_client
Client account details created during registration.
users
users
User authentication and profile data.
.png?fit=max&auto=format&n=Frm2GFbmok4D-yJA&q=85&s=93c3ebd47542af65d1cd06d8563a7f6e)