Agentis connects to Klaviyo to attribute the cost of email and SMS campaigns to individual orders — so you know whether that 20%-off win-back flow is actually profitable.
Agentis reads Klaviyo campaign and flow data — including send volumes, campaign costs, and attributed revenue — then allocates marketing cost to orders that were influenced by each campaign. When a customer clicks a Klaviyo email with a discount code and completes checkout, Agentis factors in the campaign's per-order cost alongside COGS, shipping, and payment fees. This gives you true marketing-adjusted margin per order and per campaign.
Agentis uses Klaviyo's v3 REST API with a private API key (read-only scope). We query the /campaigns, /flows, and /events endpoints to pull send volumes, costs, and attribution data. Campaign cost allocation uses Klaviyo's native attribution window (default 5-day click / 24-hour open) to assign marketing spend to converted orders. Data syncs every 30 minutes via polling. For discount code mapping, Agentis cross-references Klaviyo flow triggers with Shopify discount code usage on orders.
Agentis divides the total campaign send cost by the number of attributed conversions, then applies that per-order marketing cost to each order's margin calculation. For flows, we use the per-message cost (email or SMS) multiplied by the touchpoints that led to conversion.
Yes, but most merchants use this integration for reporting rather than enforcement. You can configure Agentis to flag or block orders where the combined discount + marketing cost pushes margin below your floor.
Yes. SMS messages have a measurable per-send cost ($0.01-0.05 depending on country) that Agentis tracks separately from email (which is billed per profile). Both are factored into per-order margin calculations.
Solution
Stop invisible margin erosion from stacked promos, influencer codes, and free shipping thresholds. Agentis enforces profit floors at checkout for DTC brands on Shopify Plus.
Solution
Get a single view of profitability across Shopify, Amazon, and wholesale channels. Agentis enforces per-channel profit floors with live cost data from your ERP.
Margin Analysis
The gradual, often undetected loss of profit across many orders — driven by small per-order cost overruns that compound into significant revenue erosion over time.
Margin Analysis
When multiple discounts — such as a site-wide sale, a coupon code, and a loyalty reward — combine on a single order, compounding margin loss beyond what any individual promotion intended.
Margin Analysis
The revenue remaining after deducting all variable costs associated with fulfilling an order — including COGS, shipping, payment processing fees, and pick-and-pack labor.
Free Audit — No Commitment
See exactly how much margin Agentis can recover for your store in 7 days — no commitment required.