feat(ecommerce): add cart abandonment analysis flow skill#290
Open
itayhewix wants to merge 2 commits into
Open
feat(ecommerce): add cart abandonment analysis flow skill#290itayhewix wants to merge 2 commits into
itayhewix wants to merge 2 commits into
Conversation
Adds flow-cart-abandonment-analysis.md — a new L4 flow skill that handles all abandoned cart performance questions (rate, root causes, recovery). - New flow: calculates abandonment rate from Profile data, fetches industry benchmarks via GetAbandonedCartsBenchmarks, diagnoses 5 root causes (shipping cost surprise, coverage gap, no recovery automation, high rates, checkout friction), generates recommendations (domain: abandoned_cart_recovery) - Adds 3 abandoned-cart Profile fields to Step 3 of the entry point: ecom_number_cart_that_were_abandoned_last_30_days, ecom_usd_sum_of_carts_that_were_abandoned_last_30_days, activate_abandoned_cart_automation - Removes goal-reduce-cart-abandonment.md — redundant now that the flow handles all logic; entry point loads the flow directly for ABANDONED_CART - Updates skill-graph.md, documentation.yaml, and entry point routing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
…o cart abandonment flow - Adds debug reference SQL for prod.ecom.abandoned_cart_dim and abandoned_cart_enrichments_monthly, validated against 4 test sites - Documents future data-to-production API wiring (com.wixpress.datatoproduction) - Adds cart vs checkout churn signals to root cause E diagnosis: checkout_churn_pct > 80% = checkout friction; cart_churn_pct > 60% = pre-checkout drop - Includes sample query output from 2026-05-26 for QA reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
flow-cart-abandonment-analysis.md— a new L4 flow skill covering all abandoned cart performance questions. Removes the now-redundantgoal-reduce-cart-abandonment.mdand wires the entry point directly to the flow.Changes
New:
flow-cart-abandonment-analysis.mdHandles all AC performance intents: rate, root causes, recovery automation, funnel analysis.
Data sources (3-tier priority: API → Profile → DWH)
ecom_number_cart_that_were_abandoned_last_30_days,ecom_usd_sum_of_carts_that_were_abandoned_last_30_days,activate_abandoned_cart_automationGetAbandonedCartsBenchmarksAPI call for industry benchmarks at runtimeDEBUG REFERENCE ONLYfor futuredata-to-productionwiring (see below)Root cause diagnosis (5 causes)
checkout_churn_pct > 80%as a strong signal;cart_churn_pct > 60%identifies pre-checkout drop (different problem)Recommendations: domain
abandoned_cart_recovery, actionactivate_abandoned_cart_recoveryKPIs + measurement plan included in the flow
DWH reference queries (validated 2026-05-26)
prod.ecom.abandoned_cart_dim(Tier 1) — per-site recovery rate, recoverable count, avg cart valueprod.ecom.abandoned_cart_enrichments_monthly— cart vs checkout churn splitcom.wixpress.datatoproduction.data-to-productionRemoved:
goal-reduce-cart-abandonment.mdContent absorbed into the flow. Removing this eliminates a redundant loading hop (R → goal → flow → now R → flow directly). The goal layer is justified when multiple flows exist under a goal; for cart abandonment there is currently only one flow.
Updated:
recommend-ecommerce-strategy.mdABANDONED_CARTdomain now loads the flow directlyABANDONED_CARTsection delegates to the flowUpdated:
skill-graph.mdanddocumentation.yamlTest plan
ReadFullDocsArticle— verify no 404ABANDONED_CARTdomain — confirm entry point loadsflow-cart-abandonment-analysisdirectly (no goal hop)GetAbandonedCartsBenchmarksreturns benchmark ratesgoal-reduce-cart-abandonmentURL now 404s (deleted)🤖 Generated with Claude Code