Overview
Heartbeat is an admin-only relationship CRM built into the Connections platform. It manages Contacts (people) and Organisations, with a focus on relationship quality tracking through a unique "Resonance" scoring system.
Admin OnlyRoute: /HeartbeatReact + Tailwind + shadcn/uiReact Query
HeartbeatContact Entity
Stores individual people/contacts. Required field: full_name.
| Field | Type | Description |
|---|---|---|
| full_name | string | Full name (required) |
| first_name / last_name | string | Auto-split from full_name on save |
| role | string | Job title |
| organisation_id | string | FK → Organisation |
| organisation_name | string | Denormalised org name |
| Email address | ||
| phone | string | Phone number |
| linkedin_url | string | LinkedIn profile URL |
| website | string | Website |
| photo_url | string | Avatar/photo URL |
| career_card_id | string | FK → CareerCard |
| sector | enum (14) | Technology, Healthcare, Engineering, etc. |
| contact_type | enum | lever | linkage | both | unclassified |
| lever_type | enum | decision-maker, budget-holder, gatekeeper, etc. |
| linkage_type | enum | partner, collaborator, referrer, mentor, etc. |
| meeting_date | date | Date first met |
| meeting_location | string | Where you met |
| meeting_context | string | Event/occasion |
| introduced_by | string | Who introduced you |
| first_impressions | string | Initial thoughts |
| follow_up_urgency | enum | low | medium | high | urgent |
| resonance_professional | 1-10 | Professional alignment |
| resonance_geographic | 1-10 | Geographic proximity |
| resonance_personal | 1-10 | Personal connection |
| resonance_intellectual | 1-10 | Intellectual alignment |
| resonance_overall | number | Computed average |
| resonance_brief | string | AI-generated brief (markdown) |
| relationship_stage | enum | new | engaged | active | dormant | lost |
| warmth | enum | cold | cool | warm | hot | champion |
| relationship_health | 1-10 | Health score |
| influence | 1-10 | Domain influence |
| gut_instinct | 1-10 | Instinct about value |
| next_action | string | Next follow-up action |
| next_action_date | date | When to follow up |
| tags | array | Freeform tags |
| ventures | array | IO, PLXUS, chAInge, Connections, Other |
| notes | string | General notes |
| status | enum | active | archived |
Organisation Entity
Stores companies/institutions. Required field: org_name.
| Field | Type | Description |
|---|---|---|
| org_name | string | Organisation name (required) |
| org_type | enum (14) | Business, School, College, University, etc. |
| sector | enum (14) | Same sectors as Contact |
| website | string | Organisation website |
| logo_url | string | Logo image URL |
| location | string | City/town |
| postcode | string | UK postcode |
| description | string | What the org does |
| size | enum | 1-10, 11-50, 51-200, 201-500, 501-1000, 1000+ |
| linkedin_url | string | LinkedIn company page |
| press_contact_name | string | Press contact name |
| press_contact_job_title | string | Press contact title |
| press_contact_email | string | Press contact email |
| press_contact_phone | string | Press contact phone |
| verified | boolean | Whether org is verified |
| notes | string | Internal notes |
| tags | array | Freeform tags |
| status | enum | active | inactive | prospect |
UI Architecture
File Structure
pages/Heartbeat.js — Main page (list + view routing) components/heartbeat/ ContactCard.js — Contact card for grid view ContactDetail.js — Full contact detail view ContactForm.js — Create/edit contact form OrgForm.js — Create/edit organisation form
Main Page Views
list — Grid of cardsnew-contact — Create formedit-contact — Edit formdetail — Read-only viewnew-org — Create orgedit-org — Edit orgFeatures
- Admin auth gate on page load
- Tabbed interface: Contacts / Organisations
- Unified text search across name, role, org, sector, tags
- Stage filter pills with live counts
- 3-column responsive card grid
- React Query mutations with cache invalidation
- AI-enhanced text inputs (TTInput/TTTextarea)
Entity Relationships
HeartbeatContact.organisation_id → Organisation.id HeartbeatContact.career_card_id → CareerCard.id
API / SDK Usage
import { base44 } from '@/api/base44Client';
// List
base44.entities.HeartbeatContact.list('-created_date', 500)
base44.entities.Organisation.list('org_name', 500)
// Create
base44.entities.HeartbeatContact.create(data)
base44.entities.Organisation.create(data)
// Update
base44.entities.HeartbeatContact.update(id, data)
base44.entities.Organisation.update(id, data)
// Filter
base44.entities.Organisation.filter({ id: orgId })
base44.entities.CareerCard.filter({ id: cardId })Not Yet Built (Schema Fields Without UI)
○Lever/Linkage type dropdowns
○Resonance score editing UI
○Engagement plan generation
○Relationship health / influence / gut instinct
○Last interaction tracking
○Next action management in form
○Ventures tagging
○Contact archiving flow
○Organisation press contacts
○Organisation verification
○Organisation tags in form
○Photo/avatar upload
○Logo upload for orgs
Downloads as Markdown — open in any text editor, Notion, or GitHub