Influencer detection flow with Klaviyo

Automatically detect influencers among your customers and send them personalized free gift links - completely on autopilot.

How It Works

When an order is created, Shopify Flow checks if the customer qualifies as an influencer based on their social media following. If they meet your threshold, Klaviyo sends them an email with a link to pick out free gifts from products you select.

Warning: This guide requires Klaviyo to be connected via Checkout Links. See Setting up Klaviyo integration first.

Why Use Influencer Detection

  • Automatic discovery - No manual research needed, influencers are detected automatically
  • Self-service gifting - Influencers pick their own sizes and variants
  • One-time use links - Links are disabled after use
  • Personalized URLs - Each influencer gets a link with their name (e.g., yourstore.com/jessica-smith)
  • Built-in attribution - UTM tags automatically include the influencer's name

Step 1: Create the Shopify Flow

  1. Create a new workflow

    Open Shopify Flow and click Create workflow

  2. Select trigger

    Choose Order created as the trigger

  3. Add the action

    Click Add action -> Checkout Links -> Influencer detected

Configure the Action

Follower threshold
Set the minimum followers required (e.g., 5,000). Customers with at least this many followers on TikTok, YouTube, or Instagram qualify as influencers.

Test email (optional)
Add your own email to test the flow. Orders with this email trigger regardless of follower count.

Link configuration

  • Select products or a collection to offer
  • Set cart limit (max total items)
  • Set line item limit (max per product)
  • Set discount (typically 100% for gifting)
  • Customize the message using variables: {{ name }}, {{ max_items }}, {{ max_line_items }}
  • Enable consent checkbox for content usage rights

Email content

  • Headline
  • Body copy
  • Button text

Provider
Select Klaviyo

Tip: Save and activate the flow when you're done configuring.


Step 2: Create the Klaviyo Flow

  1. Create a new flow

    In Klaviyo, click Create Flow and select Build your own

  2. Select trigger

    Choose trigger -> Checkout Links -> Influencer Detected

  3. Configure entry settings

    Set to Once per person (recommended - prevents duplicate emails)

  4. Add your message

    Add an Email, SMS, or WhatsApp action

  5. Design your template

    Use these event variables in your template:

    {{ event.headline|default:'' }}
    {{ event.body_copy|default:'' }}
    {{ event.cta_text|default:'' }}
    {{ event.checkout_link|default:'' }}
    
  6. Activate the flow

    Save and set the flow to Live


Tiered Gifting (Optional)

Create multiple influencer tiers in a single Shopify Flow by adding multiple "Influencer detected" actions with different thresholds:

Tier Followers Suggested Gifts
Micro 2,000+ 1 free gift
Mid-tier 10,000+ 2 free gifts
Major 1,000,000+ Unlimited gifts

Each action has its own link configuration, but they all trigger the same Klaviyo flow. The email template stays the same - the link and content automatically adjust based on which tier matched.


Test Your Flow

  1. Add your test email

    In the Shopify Flow action, enter your email in the Test email field

  2. Place a test order

    Create an order using your test email

  3. Check Klaviyo

    Verify the Influencer Detected event appears in Klaviyo and the email is sent

  4. Test the link

    Click the link in your email to ensure it works correctly


Related Resources