AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How to Build Dynamic Customer Segments and Deploy Targeted Shopify Email Campaigns with Shopify Sidekick

Betsy Paoletta · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Retention marketing often sounds straightforward until an e-commerce operator sits down to build the actual audiences. For most direct-to-consumer (DTC) brands, customer acquisition costs (CAC) make repeat purchases mandatory for profitability. Yet the typical merchant still relies on blunt, storewide email blasts. The reason is not a lack of strategy, but technical friction: configuring granular audiences inside Shopify traditionally required either navigating labyrinthine nested dropdown filters or writing raw ShopifyQL database queries (FROM customers SHOW ... WHERE ...).

Shopify Sidekick changes the operational mechanics of customer relationship management (CRM). As an AI commerce assistant embedded directly within the Shopify admin, Shopify Sidekick allows merchants to define dynamic customer segments using everyday natural language prompts, automatically converting conversational intent into structured ShopifyQL filters. Those segments can then be immediately connected to targeted Shopify Email campaigns generated with AI-assisted copy.

At 365Finds, our research position is decisive: Shopify Sidekick provides the fastest path from marketing hypothesis to campaign execution on Shopify today, eliminating the technical barrier of manual query authoring. However, merchants should never treat Shopify Sidekick as an unmonitored black box. High-performing retention teams must audit the underlying ShopifyQL syntax—specifically date offset logic and marketing consent flags—before hitting send.


1. Natural Language Segmentation: How Shopify Sidekick Translates Intent

Creating a customer segment traditionally forced merchants to translate business logic into database syntax. If a CRM manager wanted to target "shoppers who spent over $150 across the last 90 days but have not purchased in the past 30 days," they had to know which database properties to invoke, how to format relative date operators (such as -90d and -30d), and how to handle logical connectors.

Shopify Sidekick removes this syntax barrier. Operating across the Shopify admin, the assistant accepts conversational instructions, cross-references store customer records, generates the corresponding ShopifyQL query, and presents a live preview of matching customers.

Anatomy of an Effective Sidekick Segmentation Prompt

To get precise results from Shopify Sidekick, a prompt must contain four distinct criteria:

  1. Monetary or volume threshold: Total spend, average order value, or order count.
  2. Historical timeframe: The lookback window for the qualifying behavior.
  3. Inactivity window: The dormant period defining the re-engagement need.
  4. Subscription qualification: Active opt-in for marketing communications.
Target Audience ScenarioHigh-Performance Sidekick PromptUnderlying ShopifyQL Filters Generated
Lapsed VIP Customers"Create a customer segment of shoppers who spent over $150 in the last 90 days, have not placed an order in the last 30 days, and are subscribed to email marketing."amount_spent > 150 AND orders_placed(since: -90d) >= 1 AND orders_placed(since: -30d) = 0 AND email_subscription_status = 'SUBSCRIBED'
High-Value Repeat Advocates"Segment customers who have ordered at least 3 times, spent over $300 in total, and opted into email."orders_count >= 3 AND amount_spent > 300 AND email_subscription_status = 'SUBSCRIBED'
Post-Purchase First-Timer Re-engagement"Find customers whose first order was placed between 14 and 45 days ago, have only 1 total order, and are subscribed to marketing."orders_count = 1 AND customer_added_date >= -45d AND customer_added_date <= -14d AND email_subscription_status = 'SUBSCRIBED'
Category-Specific Cross-Sell"Show customers who bought items tagged 'Skincare' in the past 60 days and are subscribed to email marketing."products_purchased(tag: 'Skincare', since: -60d) = true AND email_subscription_status = 'SUBSCRIBED'

When you enter these prompts into Shopify Sidekick, the assistant parses the constraints and outputs a proposed segment card showing the estimated count of matching profiles. Clicking the action item opens the result directly in the Shopify customer segment editor.


2. Auditing and Validating the Underlying ShopifyQL Logic

365Finds strongly cautions against skipping human verification. Generative models can occasionally misinterpret relative timeframe boundaries, confuse AND with OR when multiple negative conditions are supplied, or omit the marketing consent filter entirely.

Before saving any audience generated by Shopify Sidekick, open the segment query editor (Customers > Segments) and execute a three-point audit:

FROM customers
SHOW customer_name, note, subscription_status, location, orders, amount_spent
WHERE amount_spent > 150 
  AND orders_placed(since: -90d) >= 1 
  AND orders_placed(since: -30d) = 0 
  AND email_subscription_status = 'SUBSCRIBED'
ORDER BY updated_at

The Three-Point Audit Checklist

  1. Verify Marketing Consent (email_subscription_status = 'SUBSCRIBED'): Under global privacy and anti-spam regulations (including CAN-SPAM, CASL, and GDPR), marketing messages must only go to explicit opt-ins. If your prompt neglects to mention email opt-in status, Shopify Sidekick may build a segment including non-subscribed or unconfirmed profiles. While Shopify Email automatically blocks non-subscribed addresses at the dispatch level, leaving non-subscribers in your segment skews conversion analytics and causes scheduled campaigns to revert to draft if zero active subscribers exist.

  2. Inspect Relative Date Offsets: ShopifyQL uses negative day notations (such as -30d or -90d) for rolling windows. Ensure the logic uses orders_placed(since: -30d) = 0 (or last_order_date < -30d) rather than positive future dates or static calendar timestamps. A static timestamp prevents the segment from remaining dynamic.

  3. Run Query and Review AI Summary: Click ▹ Run (or press Ctrl + Enter / Cmd + Enter) in the query editor. Inspect the resulting sample table below the console to confirm that customer order histories match expectations. Read the plain-language summary provided by Shopify at the top of the editor. If the summary reads accurately, click Save segment and apply a standardized taxonomy, such as [Retention] VIP Lapsed: $150+ (30-90d).

Because Shopify customer segments are dynamic database views, profiles will automatically enter or exit this group as customer behaviors shift day by day.


3. Deploying Targeted Shopify Email Campaigns from Saved Segments

Once your validated segment is saved, bridging the audience to a live marketing campaign inside Shopify requires minimal administrative overhead.

Step-by-Step Campaign Deployment Workflow

  1. Initiate the Campaign: From your Shopify admin, navigate to Apps > Messaging (Shopify Email) and select Create campaign. Alternatively, open your saved segment in Customers > Segments and select Use segment > Send email.

  2. Assign the Segment: In the campaign configuration panel, locate the To field. Select your newly saved dynamic segment from the dropdown. Shopify will display the exact number of eligible, subscribed recipients.

  3. Select an Objective-Specific Template: For a lapsed VIP re-engagement audience, choose a clean, single-column product grid or hero banner template that emphasizes customer appreciation and re-incentivization (such as a private percentage discount or free gift).

  4. Generate Targeted Copy with Sidekick and Shopify Magic: Inside the email builder, click the generative AI icon (the sparkle icon) in the Subject line and text block controls:

    • Subject Line Prompting: Enter specific guidance, for example: "Subject line for lapsed VIP customers who haven't ordered in a month; offering an exclusive 15% incentive; warm and urgent." Select from the generated subject variations.
    • Body Copy Generation: In the main content block, prompt the generator with your promotional terms: "Draft an engaging, personalized email inviting returning shoppers back to check out our seasonal arrivals. Highlight discount code VIPBACK15 and emphasize our satisfaction guarantee."
    • Personalization: Insert native Liquid tags, such as {{ customer.first_name }}, to personalize greetings.
  5. Test, Schedule, and Dispatch: Send a test email to your internal team to check mobile responsiveness and discount link parameters. Once verified, schedule the email for your store's peak engagement window or trigger the send immediately.


4. 365Finds Strategic Evaluation: Native Sidekick vs. External CRM Suites

When should an e-commerce brand rely on native Shopify Sidekick plus Shopify Email, and when does a third-party CRM (such as Klaviyo or Omnisend) justify its cost?

Evaluation DimensionShopify Sidekick + Shopify EmailThird-Party Dedicated CRMs (e.g., Klaviyo)365Finds Recommendation
Data SynchronizationInstant (Zero latency); queries run directly on primary store dataSubject to API webhook delays and data field sync mismatchesShopify Native wins: Ideal for real-time customer behavioral triggers
Creation SpeedFastest: Conversational prompts convert into ShopifyQL in secondsRequires manual UI segment builders or complex logic rulesShopify Native wins: Best for rapid tactical and flash campaigns
Copywriting IntegrationNative: Direct context transfer from segment prompt to email copySeparate AI text tools without direct access to store operational contextShopify Native wins: Eliminates platform hopping
Omnichannel & BranchingBasic: Linear emails and simple Shopify Flow automation triggersAdvanced: Multi-branch conditional splits, native SMS/MMS, WhatsApp, pushDedicated CRM wins: Necessary for multi-channel enterprise retention
Total Cost of OwnershipLowest: Sidekick included in platform; first 10,000 emails/month freeTiered pricing scales aggressively with total subscriber countShopify Native wins: Exceptional ROI for emerging and mid-market DTC

The 365Finds Take

365Finds recommends that direct-to-consumer merchants on Shopify make Shopify Sidekick + Shopify Email their default engine for ad-hoc and lifecycle re-engagement campaigns.

For roughly 80% of routine retention workflows—such as win-backs, post-holiday reactivation, and VIP perks—specialized third-party marketing suites introduce unnecessary complexity, subscription overhead, and data latency. The true leverage of Shopify Sidekick is not merely that it writes text, but that it dissolves the barrier between natural language strategic thinking and native database segmentation. As long as operators maintain the discipline to audit the resulting ShopifyQL filters for marketing consent and date offsets, this integrated stack delivers unmatched speed and commercial efficiency.


References