Lymonah prompt for a business health dashboard v2
Updated Nov 24, 2026·13 min read
Summarize with
A practical guide: copy the prompt below as is, then follow the review steps before and after running it so the result is safe and ready to publish.
Contents
Before you start
- Connect the
Lymonah MCPconnector to your platform account, then open a new conversation with the assistant. - Check that you have the right permissions to run it and that your platform's basic details are correct.
- Have ready any information the prompt asks for in its single question, if it has one, such as the product name, its idea or your real contact details.
How to use it
- Copy the full prompt text from the box below.
- Paste it into a new conversation, and answer the first question only if the prompt asks it.
- Let it run the phases in order, and do not approve publishing any draft before you have reviewed it.
The prompt
Top priority: Business health dashboard (HTML, read only) version 2
You are a business analyst for Lymonah platforms. You are connected to my platform through the Lymonah MCP connector, with read-only permission. This task makes no changes to my platform; it only reads and reports.
Your task: produce one interactive business health dashboard for a chosen period, end to end in one pass. Pull the real numbers (revenue, orders, learners, enrollments, every product type, payment channels, engagement), turn them into clear visual analysis, and deliver the result as a single self-contained HTML file designed exactly as specified below. Do not output a text report; the output is the HTML dashboard.
Which period
If I name a period (today, this_week, this_month, this_year), open the dashboard on it. If I give nothing, default to this_month. You may proceed without asking. The dashboard itself must let me switch between the four periods (see Filters).
Output language rule
* These instructions are in English. Do not assume English as the dashboard language.
* Detect my platform's primary language from get-tenant-branding (default_locale), then write the whole dashboard in that language, in a clean professional register (plain Modern Standard Arabic for Arabic, standard English for English). Do not mix languages.
* If the language is right to left, set dir="rtl" and align everything to the right.
* Never use an em dash anywhere. Use commas, colons or parentheses, or rephrase.
Copywriting rule (non-negotiable)
The text is half the product. Do not settle for polite labels and descriptions. Every chart tooltip, every strength, every point of attention and every recommendation must read like sharp, confident analysis written by a senior operator who respects the reader's time.
* Lead with the insight, not the metric. Say what the number means before restating it, or instead of restating it.
* Every claim carries a real number from the data, woven into a sentence, never a bare statistic.
* Frame strengths as earned assets ("what you have already built") and risks as leaks or untapped value ("where value is escaping"), not as a neutral list of pros and cons.
* Recommendations start with a verb and end with the number that justifies them.
* Keep sentences tight. No filler, no hedging, no academic tone, no exclamation marks.
Design system (fixed and non-negotiable)
Design the dashboard as a simple, modern, shadcn-style interface:
* Theme: black and white only. White and near-white surfaces, near-black text and accents, and a grayscale for everything else. Introduce no other colors, not even for charts. Use a grayscale chart palette (for example #0a0a0a, #404040, #737373, #a3a3a3, #d4d4d4).
* Do not pull brand colors or brand fonts from the branding kit for the design. Use get-tenant-branding only to detect default_locale (language plus RTL) and the currency. The visual look stays black and white whatever the tenant's brand kit.
* Font: Readex Pro for the whole document, loaded from Google Fonts, with a safe fallback stack. It covers Arabic and Latin, so use it for headings, body text and numbers.
* Border radius: 2px on every element (cards, pills, tables, bars, buttons, chart corners). Define it once as a CSS variable and reuse it.
* Layout: generous spacing, fine 1px borders to separate cards, no heavy shadows, and tabular figures so numbers line up. Fully responsive down to mobile. A quiet, staggered fade on load is welcome; avoid flashy animation.
* Charts: rendered with Chart.js (one CDN script tag). Use a deliberately varied set (see the visual spec below): bars, lines, area fill, dual-axis line, horizontal bars, doughnut and pie. Keep tooltips and labels in the detected language and use the grayscale palette throughout.
* The file must be fully self-contained: one HTML file with its CSS and JS, with only the Google Fonts link and the Chart.js CDN as external resources. No browser storage APIs.
Safety and quality rules (non-negotiable)
1. Read only. Use only get-* and list-* tools. Never call any create, update, delete or publish tool in this task.
2. Real numbers only. Every number must come from a tool result. Never invent or estimate a number. If a metric is unavailable (the tool is plan-gated or returns empty), simply leave it out of the dashboard instead of printing a placeholder.
3. Money units. Amounts come back in the tenant currency's MINOR unit. Convert to the major unit for display and state the currency once in the header. Be careful and consistent.
4. Feature-gated tools. get-order-analytics and get-trainee-analytics need the advanced analytics feature. If blocked, fall back to the always-available tools (get-dashboard-stats, get-order-revenue) and build the dashboard from what you have.
5. Tenant neutral. Detect everything (language, currency, products, payment gateways) from the tools. Nothing hard-coded about a particular platform.
6. No dashes anywhere, in copy or in code comments.
What to leave out (keep it ready to use)
The dashboard is an operating tool, not a memo. Do not include any of the following in the output: read-only disclaimers styled as warnings, methodology or reconciliation notes, an indicator glossary, or a data sources and references section. One quiet footer line saying the data is live and read only is fine. Show only what gives me a broad, useful view I can act on.
Data reconciliation and pitfalls (read before trusting any aggregate)
These are real traps that show up in production data. Handle them deliberately, then move on. None of this plumbing appears in the dashboard.
1. The aggregate order count can disagree with the actual order records. get-order-revenue and get-order-analytics may report a yearly order count that does not match the orders you can enumerate in list-orders. When they conflict, the listed records are the ground truth. Verify by checking that revenue matches the individual paid transactions you can see, then report the order count you actually counted. Never show an aggregate count you cannot reconcile with the records.
2. list-orders treats date bounds as the start of the day when you pass a date without a time. A bare date such as "2026-04-15" can exclude that whole day, leaving a silent gap between the two halves. Always pass explicit datetimes: from_date "YYYY-MM-DDT00:00:00" and to_date "YYYY-MM-DDT23:59:59".
3. The 100-row cap is real. For any month that may exceed 100 orders, split it into two halves (1 to 15 and 16 to the end) using the explicit datetimes above, count each half, then add them. Do not rely on the subtract-from-yearly trick when more than one month is capped, because that yearly total may itself be unreliable (see point 1). Counting the records directly is the safe path.
4. Check paid and completed statuses. The revenue tools count "paid/completed". Free enrollments usually arrive with status "paid", amount 0 and gateway null, but check whether a separate "completed" population exists by querying it once; include it in the trend if it does.
5. Free enrollments distort simple averages. With a freemium catalog, almost every order is a zero-amount "paid" enrollment, so the average order value collapses toward zero. Compute AOV consistently with the order count you actually use, and treat a near-zero AOV as the real story to tell rather than as an error.
6. The payment gateway is null for free enrollments. An honest gateway view separates "Free enrollment (no gateway)" from real gateways (for example Stripe and PayPal). Do not present a gateway pie that hides the fact that almost no orders ever touched a payment processor.
Workflow (one shot, read only)
Phase 0: Setup
* Call get-tenant-branding to detect default_locale (language plus RTL) and the currency. Lock the language and currency before continuing.
Phase 1: Pull the data
Pull everything needed so the filters and charts are backed by real numbers.
* get-dashboard-stats once (all time: total learners, published products, all-time revenue, active enrollments, new learners this month).
* get-order-revenue for each of: today, this_week, this_month, this_year. These feed the period filter.
* get-order-analytics for each of: this_week, this_month, this_year if available (adds refund count and rate, and top products). Note: this tool does not support today.
* get-trainee-analytics for each of: this_week, this_month, this_year if available (new learners, completion rate, average progress).
* list-orders for the current period to read the live status mix (paid, pending, failed) and momentum. Use explicit datetimes.
* Build a monthly trend for the current year: call list-orders month by month (explicit from and to datetimes for each month) from January to the current month, and count paid plus completed orders per month. Split any month near or above the 100 cap into two halves. Derive the monthly revenue series at the same time by reading the non-zero paid order amounts, so you have both an orders trend and a revenue trend.
* Payment channels: count the gateway of every paid order, map null to "Free enrollment (no gateway)" and group real processors separately.
Phase 2: Cover every product type
Do not assume a single course. Inventory the full catalog.
* list-courses for all products (course, digital_product, bundle, membership) with type, status, price and enrollment count.
* list-coaching-sessions for coaching products (price, duration, booking count).
* If coaching sessions exist, list-coaching-bookings to read booking volume and status (confirmed, completed, cancelled).
* Build a product mix that reflects what actually exists. Compute the free versus paid enrollment split. If one product dominates, show the concentration and say plainly that the other product types are not in use yet. If coaching or multiple products exist, give each its share and add the relevant coaching KPIs.
Phase 3: Analysis
Build a clear picture: how much came in each period, where it came from (product mix, top products), order quality (AOV, refund rate, paid versus pending versus failed), the monthly path over the year for both orders and revenue, the cumulative growth curve, the payment channel split, free versus paid access, audience growth (new learners), engagement (completion rate, average progress, paid order share), and any concentration risk. Name the one or two things that deserve attention, good or bad. Be precise: do not sugarcoat and do not catastrophize.
Phase 4: Build the dashboard (one HTML file)
Assemble the HTML using the design system and copywriting rule above. This is a rich, living dashboard, not a handful of static doughnuts. Include, in the detected language:
Header and context
* Title: the platform name, the flagship product, a one-line value-led subtitle, and the currency. No warning badges.
* An all-time context strip of small stat tiles (for example: total learners, active enrollments, published products, all-time revenue, completion rate, average progress).
Filters (at least two interactive controls)
* Period filter: pills for today, this_week, this_month, this_year. Selecting a pill updates the KPI cards and the order status chart instantly. Opens on the requested period (default this_month).
* A metric toggle on the main trend chart that switches the view between orders, revenue and cumulative.
KPI cards (period aware)
* Revenue collected, paid orders, average order value, new learners. Add a small inline sparkline (a thin line with a soft area fill) under the cards that have a real monthly series (revenue and orders), showing the last six months for context.
Charts (aim for at least eight charts, of varied types)
* Main monthly trend (driven by the metric toggle): orders as bars, revenue as an area line, cumulative as an area line. This single component must cover bar, line and area.
* Order status: a doughnut of paid, pending and failed for the active period, with a legend showing counts and percentages.
* Cumulative growth: a dual-axis line chart, cumulative orders on one axis and cumulative revenue on the other, so the gap between volume and money is visible at a glance.
* Payment gateways: a pie of gateway share, with free enrollments (no gateway) shown as their own slice.
* Free versus paid: the split of enrollments between free and paid products.
* Product mix: a doughnut across all product types, with a legend and a one-line note on what is in use and what is not.
* Product ranking: a horizontal bar chart ranking products by enrollment.
* Engagement: CSS progress bars for completion rate, average progress and paid order share (or order conversion).
Narrative
* A short two-column read: what you have already built (strengths tied to real numbers) and where value is escaping (risks and opportunities tied to real numbers).
* Prioritized recommendations ordered by likely impact, each action starting with a verb and closing with the number that justifies it.
Start now: detect the language and currency, pull every available metric for each period and each product type, build the reconciled monthly orders and revenue trends, then deliver the complete black and white interactive dashboard as a single self-contained HTML file in one pass.After running it
- Read the final report and check the items it created or changed.
- Review every
DRAFT, page or piece of content before publishing, and replace any placeholder with your real details. - Carry out the items the prompt left for manual review only after you are sure of their effect on your customers and your platform.
Important notes
Notes for the platform admin:
- Version 2 is richer and smarter: a live dashboard with eight or more charts of varied types (bars, lines, areas, a dual-axis line, horizontal bars, doughnut, pie), a metric toggle on the main chart (orders/revenue/cumulative) and sparklines under the cards.
- Analytical copy, not labels: a strict writing rule that leads with the insight rather than the number, frames a strength as an asset you built and a risk as value that is leaking, and makes every recommendation start with a verb and end with a number.
- It handles data pitfalls quietly (they do not appear in the dashboard): aggregate order counts that conflict with the actual records (the records win), list-orders date bounds read as the start of the day (it passes explicit times), the 100-row cap (it splits the month into two halves and counts), free enrollments that drag the average order value toward zero, and a null payment gateway for free enrollments (shown as a separate slice).
- Read only, real numbers only, black and white only (gray for charts), the Readex Pro font, 2px corners, Chart.js via CDN, one self-contained HTML file. From your branding it reads only the language (with RTL) and currency, not the colors or fonts.
- It covers every product type and the free versus paid split, and builds the orders and revenue trends and the cumulative growth curve.
- Clean and ready: no warning disclaimers or methodology notes, just one quiet footer line saying the data is live and read only.
Summary
A practical guide: copy the prompt below as is, then follow the review steps before and after running it so the result is safe and ready to publish.