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.
| Capability | Plan | What it does |
|---|---|---|
configure_affiliate_program | Pro | Set up or tune the store's affiliate program (commission %, cookie window, on/off). |
set_discount_active_days | Pro | Enforce a coupon day-schedule at checkout — e.g. turn OFF Sat+Sun so weekend discounts are actually . |
get_buyer_activity | Free | Returns buyer-side activity on the storefront in the last N hours (default 6). Synthesizes from stor. |
get_my_plan_48h | Free | Read Pie's active 48-hour autonomous plan — concrete action items with when/tool/args/expected_outco. |
get_my_plan_7d | Free | Read Pie's active 7-day autonomous plan — weekly theme + daily milestones. Strategic horizon (vs 48h. |
get_my_posture | Free | Read this store's current behavioral POSTURE — a set of lifecycle stages (empty / setup / launch / r. |
get_my_self_audit | Free | Read Pie's weekly self-audit admissions — where forecasts/suggestions diverged from actual outcomes . |
get_my_taste_profile | Free | Read all active taste/preference entries for this creator. Returns key + value + confidence + proven. |
get_open_asks_for_work | Free | List open 'ask-for-work' cards: things Pie can't do autonomously because they need creator input (e.. |
get_plan_audit | Free | Audit the creator's latest active plan: items completed, skipped, still pending — with a one-line hu. |
get_top_worries | Free | Read all open Pie worries for this tenant, sorted by severity (urgent → concern → watch → info). Use. |
audit_profile_bio | Free | Audit creator's public-facing profile (brand name / tagline / social links / support email / custom . |
audit_storefront | Free | 10-point diagnostic of store setup, catalog, copy, SEO. |
cfo_health_check | Free | Run a CFO-mode health check on the creator's business: revenue, orders, AOV, customers (active + new. |
check_first_share_outcome | Free | Measure traffic + leads a creator's first storefront share delivered. |
diagnose_metric | Free | Diagnose WHY a business metric changed week-over-week. Returns current vs prior numbers, top driver . |
diagnose_zero_sales | Free | Explain why the store has no orders — traffic / conversion / catalog / pricing. |
get_abandoned_carts | Free | Count + total value of carts abandoned in the last 7 days. |
get_biolink_analytics | Free | Aggregate biolink performance over a window: views, clicks, CTR, unique visitors, top items. |
get_clv_report | Free | Customer lifetime value — average, median, repeat-buyer ratio. |
get_dashboard_kpis | Free | Today + 7-day orders, GMV, AOV + total customers — store vitals at a glance. |
get_invoices | Free | Invoice counts + total value. |
get_leads | Free | Lead funnel counts — total / converted / active / lost. |
get_order_detail | Free | Full details for a specific order by ID. order_id MUST be a UUID returned by get_orders — never a pr. |
get_orders | Free | List recent orders (most recent first). Optional status filter. |
get_pnl_summary | Free | Revenue minus refunds minus fees — concise P&L for a window. |
get_refund_requests | Free | Refund request counts + pending value. |
get_subscriptions | Free | Subscription counts + monthly recurring revenue (MRR). |
gsc_query_top_keywords | Free | Top Google Search keywords (last 28d) with position, CTR, and rank-drop flags. |
pricing_sanity_check | Free | Flag pricing issues across catalog: zero_price, draft_status, below/above 4× median bands. |
revenue_trend | Free | Per-day revenue + orders series over N days (default 90), with peak + averages. |
content_radar | Free | Surface trending content opportunities in the creator's niche from HackerNews + Reddit (when reachab. |
demand_forecast | Free | Forecast next-N-day demand signals from weather + India holiday/festival/cricket calendar + creator'. |
get_automations | Free | Automation workflow counts — total / active / paused. |
get_campaigns | Free | Campaigns — last-30-day performance (sent, opens, clicks, open rate) plus the campaign list with the. |
get_discounts | Free | Discount codes — active/expired counts, total uses, and the code list with their ids. |
list_email_templates | Free | List all event-driven and custom email templates for the tenant. |
list_segments | Free | List the store's saved customer segments (name + member count). |
preview_email_template | Free | Render an email template with sample tokens — returns subject + html + text preview. |
preview_segment | Free | Preview how many customers a segment matches — no save. |
top_campaign_report | Free | Top campaigns ranked by CTR (with min-sent gate to avoid 1-send noise). |
create_segment | Free | Create a customer segment from simple criteria (spend, orders, tag, inactivity). |
send_test_campaign_to_self | Free | Send a campaign's test email to your OWN inbox to preview it before the real blast. |
set_campaign_audience | Free | Set who a campaign sends to (all customers, a segment, or a tag). |
update_email_template | Free | Update an event-driven email template's subject / html / text / enabled. |
create_campaign | Free | Create a new marketing campaign (saved as draft). |
draft_email | Free | Generate an email body via LLM and store as a draft for creator review. |
update_campaign | Free | Update a campaign's name or status. |
abandoned_cart_recovery | Free | PREPARE a cart-recovery draft: mint a one-time discount code and stage the recovery email in drafts.. |
create_discount | Free | Create a new discount code (starts enabled). |
delete_discount | Free | Disable a discount code (preserves history; sets enabled=false). |
schedule_campaign | Free | Schedule a campaign to start sending at a specific date (marks it active). |
send_campaign | Free | Send an existing email campaign to its audience (proposes first — the creator approves before it sen. |
update_discount | Free | Update 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
| State | When you'll see it | What you see, and what to do |
|---|---|---|
| Loading | The screen is fetching your data | A skeleton in the shape of the finished page. It should be brief — if it persists, the load has failed rather than stalled. |
| Error | The data couldn't be loaded | A 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 access | Your role doesn't include this screen | A 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 see | What to do |
|---|---|
| Failed to save profile | The file was rejected. Check its size and type against what the field accepts. |