Klaviyo and Stripe: VIP Spender Segment Template

On a weekly schedule, total each customer's Stripe spend and add your highest spenders to a Klaviyo VIP list for targeted campaigns.

What It Builds

This template runs on a Schedule trigger once a week. A Connector node pulls recent charges from Stripe, a Transform node sums spend per customer, and a Condition node keeps only customers above your threshold. A final Klaviyo Connector node adds those high spenders to a named list, ready for a VIP campaign or flow. The result is a self-refreshing VIP segment that grows as customers cross your spend line.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow that runs every Monday at 8am. Pull the last 30 days of Stripe charges, total the amount spent per customer, keep only customers who spent more than 500, and add those customers (by email) as profiles on my Klaviyo "VIP Spenders" list.

Connectors Used

  • Schedule trigger - fires weekly on a 5-field cron in your timezone.
  • Stripe - lists charges and customers so you can total spend per person.
  • Klaviyo - adds the qualifying profiles to your VIP list.

Customize It

Change the cron time, the lookback window, and the spend threshold (500) directly in the prompt. Swap the list name for any list in your Klaviyo account, or raise the bar to build a tighter top-tier segment. To rank by order count instead of dollars, ask Miraxa to count charges per customer rather than sum the amounts.

Tips

  • Use Direct mode on the Stripe and Klaviyo nodes for predictable, no-AI-cost calls; reach for Agent mode only if you want the agent to reason over edge cases.
  • Stripe stores amounts in the smallest currency unit (cents), so confirm your threshold matches before going live.
  • Your Stripe and Klaviyo API key connections need read access to charges and write access to lists.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.