Stampede Platform
Nothing published in this section yet.
Schema
Graph AI EngineCore Entity
Customer
The root guest identity node. Every interaction across bookings, Wi-Fi, orders, reviews, and loyalty is unified under a single Customer node per organisation.
15 fields28 relationships
Fields
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Primary identifier, unique within an organisation. | |
| first_name | string | — | Guest first name. |
| last_name | string | — | Guest last name. |
| phone | string | — | Phone number in E.164 format, e.g. +447307745845. |
| postcode | string | — | Postal code for geographic segmentation. |
| country | string | — | Full country name. |
| country_code | string | — | ISO 3166-1 alpha-2 code, e.g. GB. |
| gender | enum | — | Stated gender. Allowed values: male | female | non_binary | prefer_not_to_say. |
| age_range | string | — | Age band string, e.g. 25-34 or 35-44. |
| birth_month | number | — | Month of birth, integer 1–12. Used to trigger birthday campaigns. |
| birth_day | number | — | Day of birth, integer 1–31. |
| org_id | uuid | — | Owning organisation. Always scope queries through the REGISTERED_WITH relationship. |
| morpheus_profile_id | uuid | — | Internal CRM (Morpheus) profile ID. |
| zion_id | uuid | — | Booking system (Zion) guest ID. |
| trinity_org_reg_id | uuid | — | Organisation registration ID from the Trinity system. |
Relationships
Outbound (28)
- Customer[:REGISTERED_WITH]→Organizationemail_opt_in, sms_opt_in, data_opt_in, registered_at, last_interacted_at
- Customer[:VISITED]→Venuevisit_count, first_visit, last_visit, total_spend (pennies)
- Customer[:BOOKED]→Bookingcreated_at
- Customer[:INVITED_TO]→Bookingstatus (PENDING | ACCEPTED | DECLINED)
- Customer[:REVIEWED]→Reviewcreated_at
- Customer[:ORDERED]→Ordercreated_at, amount (pennies)
- Customer[:PLACED_ORDER]→SquareOrder
- Customer[:CONTRIBUTED_TO]→SquareOrderamount (pennies), status, is_lead, payment_method
- Customer[:CONNECTED_VIA_WIFI]→WifiSessioncreated_at
- Customer[:SUBMITTED]→FormSubmissioncreated_at
- Customer[:COMMUNICATED_IN]→Thread
- Customer[:ENROLLED_IN]→LoyaltyEnrollmentenrolled_at, points
- Customer[:TAGGED_WITH]→Tag
- Customer[:RECEIVED_CAMPAIGN]→EmailCampaignsent_at
- Customer[:OPENED_CAMPAIGN]→EmailCampaignopened_at
- Customer[:CLICKED_CAMPAIGN]→EmailCampaignclicked_at, link_url
- Customer[:BOUNCED_CAMPAIGN]→EmailCampaignbounced_at
- Customer[:RECEIVED_SMS]→SmsCampaignsent_at
- Customer[:IN_SEGMENT]→Segment
- Customer[:ANSWERED]→CustomQuestionanswer
- Customer[:SENT_GIFT_CARD]→GiftCardamount (pennies), currency, created_at
- Customer[:REDEEMED_GIFT_CARD]→GiftCardredeemed_at
- Customer[:CHARGED_CANCELLATION]→CancellationChargeamount_owed (pennies)
- Customer[:BOOKED_VIA_INTEGRATION]→BookingIntegrationpenny_value, currency, created_at
- Customer[:REFERRED]→Customer
- Customer[:DINED_WITH]→Customerbooking_id, date
- Customer[:GIFTED_TO]→Customergift_name, value (pennies), sent_at
- Customer[:ENQUIRED]→Enquirycreated_at
Related entities
OrganizationGraph AI Engine
Top-level organisation node. Supports franchise and group hierarchies via :PARENT_OF. Every piece of data in the platform is scoped to an organisation.VenueGraph AI Engine
A physical location operated by an organisation. Every activity node — bookings, Wi-Fi sessions, orders, reviews — links back to a venue via the :AT_VENUE relationship.BookingBookings
A table reservation or walk-in visit. Central hub connecting customers to venues, orders, threads, upgrades, and events.ReviewReviews
Guest review from Google or Stampede. Includes NLP sentiment scores, reply-state machine, and vector embedding for semantic clustering.OrderPayOS
Pre-order placed via Stampede ordering (Zion). Linked to a booking before guest arrives.SquareOrderPayOS
Live POS order via Square integration. Real-time table spend during service. All amounts in pennies.WifiSessionWi-Fi
Created when a guest authenticates through a Stampede Wi-Fi splash. Links physical presence to customer profile, with or without a booking.FormSubmissionBookings
Guest's completed form submission. Links guest to form and venue.
