Skip to main content

Klaviyo Customer Intelligence & Behavioral Segmentation

Most eCommerce stores treat newsletter subscribers as a monolithic list. Everyone receives the same generic weekly promotional email, regardless of whether they were a quick one-item buyer, an in-depth ingredient researcher, or a bulk pantry buyer.

ShopGuide bridges the gap between on-site shopper behavior and your email marketing. It runs a centralized customer intelligence engine that automatically analyzes customer journeys, chat transcripts, and orders to enrich Klaviyo Customer Profiles with deep behavioral properties and custom lifecycle events.


The Hybrid Intelligence Architecture​

ShopGuide uses a hybrid approach to profile enrichment, balancing lightning-fast deterministic rules with nuanced AI comprehension:

flowchart TD
subgraph Storefront Journey
A["Customer Browses & Carts Items"]
B["Customer Chats with AI Guide"]
C["Customer Places Order / Takes NPS"]
end

subgraph ShopGuide Intelligence Engine
A --> D["Deterministic Classifier<br/>• Archetype (Spear-Fisher, Researcher)<br/>• Verified Certifications (Gluten-Free, Organic)<br/>• Spend & Bulk Thresholds"]
B --> E["Conversational Intent Layer<br/>• Specific Intent (sg_last_chat_intent)<br/>• Purchase Objection (sg_key_hesitation)"]
C --> F["Order & Retention Layer<br/>• Attributed Revenue<br/>• NPS Sentiment & Category"]
end

subgraph Klaviyo Activation
D --> G["Klaviyo Profile Properties<br/>(sg_persona, sg_top_category, sg_dietary_tags)"]
E --> G
F --> G
D --> H["Custom Klaviyo Metrics (Events)<br/>• ShopGuide Chat Engaged<br/>• ShopGuide Order Attributed<br/>• ShopGuide NPS Submitted"]
E --> H
F --> H
end

1. Deterministic Behavioral Classification​

Without consuming unnecessary LLM tokens, ShopGuide instantly classifies browsing speed, page depth, and cart composition:

  • Customer Archetypes (sg_journey_archetype):
    • Spear-Fisher: High purchase intent; navigates straight to a product, adds to cart, and checks out quickly.
    • In-Depth Researcher: Visits multiple product pages, compares specifications, and reviews ingredients or sizing before deciding.
    • Window Shopper: Browses broad collections and seasonal pages without committing to a specific product.
  • Bulk Buyer Indicator (sg_bulk_buyer):
    • Set to true when customers explore or purchase high-quantity, commercial, or bulk package sizes (e.g., 25lb/50lb sacks or multi-case bundles).

2. Objective Certifications & Personas​

To preserve brand credibility and customer trust, ShopGuide strictly separates verifiable certifications from lifestyle philosophies:

  • Certified Dietary Tags (sg_dietary_tags):
    • Restricted to objective, verifiable attributes: Gluten-Free, Certified Organic, Non-GMO, and Raw.
    • Why this matters: Grouping an omnivore home baker who buys organic flour into a "Vegan" list alienates the customer. ShopGuide keeps dietary tags objective unless explicitly declared by the shopper in chat.
  • Behavioral Food & Product Personas (sg_persona):
    • Grouped by practical usage patterns: Bulk Pantry Stocker, Artisan Home Baker, Healthy Snacker & Breakfast, Whole Grains & Pantry, Clean & Organic Shopper, Quick Replenisher, and Hesitant Researcher.

3. Conversational Intent & Hesitation Layer​

When a customer interacts with the AI Shopping Guide, ShopGuide summarizes the dialogue into two high-value fields:

  • sg_last_chat_intent: The core question or product recommendation the visitor asked about (e.g., "Looking for low-glycemic natural sweeteners for baking").
  • sg_key_hesitation: The explicit objection or doubt expressed by the customer before leaving (e.g., "Concerned about shipping cost to Alaska" or "Unsure if sourdough starter requires refrigeration").

Custom Klaviyo Metrics (Events)​

ShopGuide tracks real-time custom events in Klaviyo, giving you powerful triggers for automated email and SMS flows:

Event NameWhen It FiresKey Payload Data
ShopGuide Chat EngagedCustomer sends their first message in chat or subscribes via the chat newsletter tool.topic, persona, top_category, source_page
ShopGuide Order AttributedCustomer completes a purchase attributed to an AI chat interaction.order_id, revenue, currency, products_discussed
ShopGuide NPS SubmittedCustomer completes the post-purchase NPS survey.nps_score, chat_score, category (Promoter/Passive/Detractor), comment

4 High-Converting Klaviyo Flow Recipes​

With ShopGuide data flowing into Klaviyo, you can deploy sophisticated lifecycle marketing campaigns:

1. Hesitation-Killer Cart Abandonment Flow​

  • Trigger: Klaviyo Started Checkout or Abandoned Cart.
  • Filter: sg_key_hesitation is set.
  • Strategy: Instead of a generic "You left something in your cart!" email, dynamically reference their hesitation. If they hesitated on shipping, offer a threshold reminder or promo. If they hesitated on ingredients or compatibility, provide a clear FAQ answer right in the email.

2. Certified Dietary Newsletter Segment​

  • Target: Subscribers where sg_dietary_tags contains Gluten-Free.
  • Strategy: When launching a new gluten-free product, send the announcement exclusively to this segment. Your open rates and click-through rates will outperform a store-wide blast, while protecting your sender reputation.

3. Bulk Restocking Cadence​

  • Target: Customers with sg_bulk_buyer = true.
  • Strategy: Bulk pantry preppers and business buyers operate on predictable restocking cycles (60 to 90 days). Trigger an automated re-order reminder with 1-click cart links before their supply runs low.

4. Post-Purchase NPS Promoter VIP Flow​

  • Trigger: Metric ShopGuide NPS Submitted where category = Promoter.
  • Strategy: Automatically reward your top fans with early access to upcoming launches, an invitation to an exclusive VIP referral tier, or a gentle request for a video review.

Setting Up the Klaviyo Integration​

  1. In your Shopify Admin, open ShopGuide → Settings → Integrations.
  2. Locate the Klaviyo card (ShopGuide automatically detects if Klaviyo is active on your storefront).
  3. Enter your Klaviyo Private API Key (ensure it has permissions for Profiles: Write, Events: Write, and Lists: Write).
  4. Select your default Newsletter List and configure your welcome discount if desired.
  5. Save your settings. Profile enrichment and custom event tracking will activate immediately.