Skip to main content

Marketing & analytics capabilities

These PieOS capabilities cover promotion and measurement — drafting campaigns, analyzing performance, answering questions about your numbers. The marketing side proposes actions for your approval; the analytics side reads and reports.

CapabilityPlanWhat it does
configure_affiliate_programProSet up or tune the store's affiliate program (commission %, cookie window, on/off).
set_discount_active_daysProEnforce a coupon day-schedule at checkout — e.g. turn OFF Sat+Sun so weekend discounts are actually .
get_buyer_activityFreeReturns buyer-side activity on the storefront in the last N hours (default 6). Synthesizes from stor.
get_my_plan_48hFreeRead Pie's active 48-hour autonomous plan — concrete action items with when/tool/args/expected_outco.
get_my_plan_7dFreeRead Pie's active 7-day autonomous plan — weekly theme + daily milestones. Strategic horizon (vs 48h.
get_my_postureFreeRead this store's current behavioral POSTURE — a set of lifecycle stages (empty / setup / launch / r.
get_my_self_auditFreeRead Pie's weekly self-audit admissions — where forecasts/suggestions diverged from actual outcomes .
get_my_taste_profileFreeRead all active taste/preference entries for this creator. Returns key + value + confidence + proven.
get_open_asks_for_workFreeList open 'ask-for-work' cards: things Pie can't do autonomously because they need creator input (e..
get_plan_auditFreeAudit the creator's latest active plan: items completed, skipped, still pending — with a one-line hu.
get_top_worriesFreeRead all open Pie worries for this tenant, sorted by severity (urgent → concern → watch → info). Use.
audit_profile_bioFreeAudit creator's public-facing profile (brand name / tagline / social links / support email / custom .
audit_storefrontFree10-point diagnostic of store setup, catalog, copy, SEO.
cfo_health_checkFreeRun a CFO-mode health check on the creator's business: revenue, orders, AOV, customers (active + new.
check_first_share_outcomeFreeMeasure traffic + leads a creator's first storefront share delivered.
diagnose_metricFreeDiagnose WHY a business metric changed week-over-week. Returns current vs prior numbers, top driver .
diagnose_zero_salesFreeExplain why the store has no orders — traffic / conversion / catalog / pricing.
get_abandoned_cartsFreeCount + total value of carts abandoned in the last 7 days.
get_biolink_analyticsFreeAggregate biolink performance over a window: views, clicks, CTR, unique visitors, top items.
get_clv_reportFreeCustomer lifetime value — average, median, repeat-buyer ratio.
get_dashboard_kpisFreeToday + 7-day orders, GMV, AOV + total customers — store vitals at a glance.
get_invoicesFreeInvoice counts + total value.
get_leadsFreeLead funnel counts — total / converted / active / lost.
get_order_detailFreeFull details for a specific order by ID. order_id MUST be a UUID returned by get_orders — never a pr.
get_ordersFreeList recent orders (most recent first). Optional status filter.
get_pnl_summaryFreeRevenue minus refunds minus fees — concise P&L for a window.
get_refund_requestsFreeRefund request counts + pending value.
get_subscriptionsFreeSubscription counts + monthly recurring revenue (MRR).
gsc_query_top_keywordsFreeTop Google Search keywords (last 28d) with position, CTR, and rank-drop flags.
pricing_sanity_checkFreeFlag pricing issues across catalog: zero_price, draft_status, below/above 4× median bands.
revenue_trendFreePer-day revenue + orders series over N days (default 90), with peak + averages.
content_radarFreeSurface trending content opportunities in the creator's niche from HackerNews + Reddit (when reachab.
demand_forecastFreeForecast next-N-day demand signals from weather + India holiday/festival/cricket calendar + creator'.
get_automationsFreeAutomation workflow counts — total / active / paused.
get_campaignsFreeCampaigns — last-30-day performance (sent, opens, clicks, open rate) plus the campaign list with the.
get_discountsFreeDiscount codes — active/expired counts, total uses, and the code list with their ids.
list_email_templatesFreeList all event-driven and custom email templates for the tenant.
list_segmentsFreeList the store's saved customer segments (name + member count).
preview_email_templateFreeRender an email template with sample tokens — returns subject + html + text preview.
preview_segmentFreePreview how many customers a segment matches — no save.
top_campaign_reportFreeTop campaigns ranked by CTR (with min-sent gate to avoid 1-send noise).
create_segmentFreeCreate a customer segment from simple criteria (spend, orders, tag, inactivity).
send_test_campaign_to_selfFreeSend a campaign's test email to your OWN inbox to preview it before the real blast.
set_campaign_audienceFreeSet who a campaign sends to (all customers, a segment, or a tag).
update_email_templateFreeUpdate an event-driven email template's subject / html / text / enabled.
create_campaignFreeCreate a new marketing campaign (saved as draft).
draft_emailFreeGenerate an email body via LLM and store as a draft for creator review.
update_campaignFreeUpdate a campaign's name or status.
abandoned_cart_recoveryFreePREPARE a cart-recovery draft: mint a one-time discount code and stage the recovery email in drafts..
create_discountFreeCreate a new discount code (starts enabled).
delete_discountFreeDisable a discount code (preserves history; sets enabled=false).
schedule_campaignFreeSchedule a campaign to start sending at a specific date (marks it active).
send_campaignFreeSend an existing email campaign to its audience (proposes first — the creator approves before it sen.
update_discountFreeUpdate a discount's value or enabled/disabled state.

54 of 201 capabilities. Generated from the live PieOS capability matrix.

Can PieOS analyze my store's performance?

Yes. Analytics capabilities let PieOS read your data and answer questions about sales, traffic, and trends. Marketing capabilities can draft campaigns for your approval.

What this screen looks like in every state

StateWhen you'll see itWhat you see, and what to do
LoadingThe screen is fetching your dataA skeleton in the shape of the finished page. It should be brief — if it persists, the load has failed rather than stalled.
ErrorThe data couldn't be loadedA message with a retry. Retry first: most of these are a dropped request, not a broken store. If it repeats, the outage is upstream and reloading won't help.
No accessYour role doesn't include this screenA permission notice instead of the page. An owner or admin can grant access under Settings → Team.

When something goes wrong

These are the messages this screen can show you, and what each one means.

If you seeWhat to do
Failed to save profileThe file was rejected. Check its size and type against what the field accepts.