← All prompts

Ask

Publish this view as a report

Prompt name publish_view_report

Publish a Kreel dashboard view handed over from the dashboard as a hosted report.

Arguments

  • view_id
  • brand
  • view_summary

Template

Using the Kreel connector, call `get_view` with view_id="{view_id}" and brand="{brand}". It loads exactly what I was looking at in the Kreel dashboard: {view_summary}.

Publish this view as a hosted Kreel report: keep its window, comparison and filters, and use only the numbers `get_view` returns. 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. Then give me the report link. If `get_view` says the snapshot expired, ask me to press Publish again in Kreel.

Grow your ecommerce brand from one place.

14 days free. A card is needed to start, and nothing is charged until the trial ends.