Report templates
Client weekly report
Prompt name client_weekly_report
Client-facing weekly update vs the prior seven days (window is the week-ending YYYY-MM-DD or latest).
Arguments
window
Template
If more than one brand is reachable, call `list_brands` first and pass `brand` on every call.
Arguments: window = the week's last day as YYYY-MM-DD (it must be before today), or 'latest' for the seven days ending yesterday.
1. Call `get_report_scaffold` with template='client_weekly_report', window='{window}'. It returns the current window, its comparisons (a comparison that predates retained history comes back omitted with its reason), and one section per part of the report. Every number carries a source_id that resolves in `sources`; cite them and never recompute or estimate a figure. If it returns an error, fix the argument and retry.
2. Call `get_brand_context` once for the brand's voice and positioning.
Render a client weekly report: headline → KPI tiles with previous_period deltas → month-to-date target pace → plan vs actual to date when a budget plan covers the month → channel table (the do-not-add band) → email → customer segments (recorded size and trend; never add segments) → campaign movers → findings as flags and risks → experiments → three numbered next actions.
Rules: a section with status 'omitted' is rendered with the kit's unavailable state and its omitted_reason, never as zero. Store revenue is refund-correct net; a section marked do_not_add holds platform-attributed figures that must never be added to store revenue or across channels. Show a KPI's target chip only when the scaffold carries a target. Quote contribution margin only with its cost coverage and the current-cost label. Render `sources` as the definitions footer.
To publish it as a hosted report, read the `kreel://report-kit` resource first and build the HTML from its patterns: branding_header, then one kk-section per part of the report (kpi_tile with target_chip and pace_bar where the brand has targets, plan_vs_actual when the scaffold's plan_vs_actual section is ok, grouped_table for the channel table with platform-reported columns in the "do not add" band, annotation_list for flags and risks, a state pattern for any block without data), then definitions_footer and data_through_footer. Declare the kit with `<link rel="kreel-kit">` in <head> instead of writing your own stylesheet or loading fonts, then publish with `publish_report` and check that the result's kit_version is set. Grow your ecommerce brand from one place.
14 days free. A card is needed to start, and nothing is charged until the trial ends.