Integration Engine Mock Data
A single mock_data SQL Server database with per-source schemas that replaces real SaaS API calls during Integration Engine development and testing.
Database: mock_data
Section titled “Database: mock_data”| Schema | Purpose | Tables |
|---|---|---|
| hs | Simulates HubSpot CRM data | contacts (50), companies (20), deals (30) |
| sf | Simulates Salesforce CRM data | Contact (50), Account (20), Opportunity (30) |
| ym | Simulates YourMembership AMS data | members (50), membership_types (5), events (10), event_registrations (40) |
Execute the unified SQL file against your SQL Server instance:
sqlcmd -S sql-claude -U sa -P Claude2Sql99 -C -i create_mock_data.sqlThe script is idempotent — it drops and recreates the database on each run.
Verification
Section titled “Verification”SELECT 'hs.contacts' as tbl, COUNT(*) as cnt FROM hs.contacts UNION ALLSELECT 'hs.companies', COUNT(*) FROM hs.companies UNION ALLSELECT 'hs.deals', COUNT(*) FROM hs.deals UNION ALLSELECT 'sf.Contact', COUNT(*) FROM sf.Contact UNION ALLSELECT 'sf.Account', COUNT(*) FROM sf.Account UNION ALLSELECT 'sf.Opportunity', COUNT(*) FROM sf.Opportunity UNION ALLSELECT 'ym.members', COUNT(*) FROM ym.members UNION ALLSELECT 'ym.membership_types', COUNT(*) FROM ym.membership_types UNION ALLSELECT 'ym.events', COUNT(*) FROM ym.events UNION ALLSELECT 'ym.event_registrations', COUNT(*) FROM ym.event_registrationsORDER BY tbl;Connector Configuration
Section titled “Connector Configuration”Each connector reads from the mock_data database using a schema prefix. Configuration JSON example:
{ "server": "sql-claude", "database": "mock_data", "schema": "hs", "user": "sa", "password": "Claude2Sql99"}Data Quality
Section titled “Data Quality”- Realistic US names, emails, phone numbers, cities, and states
- All foreign keys resolve (zero orphan records)
- Unique email addresses within each schema
- Varied industries, deal stages, lifecycle stages, and membership levels
- HubSpot uses
lastmodifieddatefor incremental sync - Salesforce uses
LastModifiedDatefor incremental sync - YourMembership uses
updated_atfor incremental sync
Legacy Files
Section titled “Legacy Files”The MockHubSpot.sql, MockSalesforce.sql, and MockYourMembership.sql files are the original separate-database approach. Use create_mock_data.sql instead.