{"slug": "give-ai-your-weekly-sales-report", "title": "Give AI your weekly sales report.", "summary": "Anthropic demonstrated that giving an AI agent a complete sales-reporting assignment with explicit business definitions produces a usable report, evidence, and repeatable instructions, using a fictional Northstar case where net completed sales totaled $54,700 after excluding a $1,800 duplicate, a $7,000 cancelled transaction, and a $3,500 pending transaction. The agent's reusable JavaScript analysis and HTML reports were verified against separate calculations, catching and fixing a display issue without changing numeric results, and the corrected snapshot showed net sales of $58,200 after a $3,500 pending transaction became paid and a $1,500 sale was assigned to Maya.", "body_md": "## Give it the result and the next run.\n\n“Summarize this spreadsheet” leaves a lot of the job with you. You still need to decide which numbers matter, notice a duplicate, reconcile the total, explain a missing owner, and work out how to repeat the process.\n\nA stronger assignment makes those part of the deliverable. The agent owns a usable report, the evidence behind it, and the instructions that carry your decisions into the next run.\n\nThis follows [Matt’s approach to briefing agents](https://somethingbig.ai/prompting-ai-agents): describe the outcome, provide the real context, and set a clear standard for done. Do not spend the prompt dictating every operation the agent already knows how to choose.\n\nA repeatable report remembers what the numbers mean.\n\nThat means the reporting brief matters as much as the prose summary. If “sales” quietly means something different next week, a consistent-looking chart can hide an inconsistent calculation.\n\n## The business definition comes before the total.\n\nOur fictional Northstar case measures **net completed sales in USD**: count unique paid and refunded transactions, using their signed amounts. Exclude pending and cancelled transactions. Remove one copy of an identical duplicate. Keep a valid sale with a missing owner, but label that owner “Unassigned.”\n\nThose rules are supplied business context. They are not universal accounting rules, and this metric is not profit, cash flow, or recognized revenue.\n\nWithout the definitions, an agent can produce a tidy report about a different number. Summing the raw original export gives $67,000. That includes a $1,800 duplicate, $7,000 cancelled transaction, and $3,500 pending transaction. Removing those exclusions gives $54,700.\n\n**A second way to challenge the total:** unique paid transactions sum to $55,500. Add the signed refund of −$800, and the result is also $54,700. Agreement between those paths is useful evidence; a confident paragraph is not.\n\n## What happened in the recorded rehearsal.\n\nA coding agent received only the approved exercise inputs and a complete assignment. It wrote a reusable JavaScript analysis and HTML reports for the two source snapshots. The original source files were preserved. We then checked the saved results against a separate calculation.\n\nThe first verification caught a display issue: the report showed a minus sign on zero. The agent fixed it and reran the checks. The pack preserves the first generated output and the correction log; the numeric results did not change.\n\nThe second snapshot makes two explicit corrections: a $3,500 pending transaction becomes paid, and a $1,500 completed sale is assigned to Maya. It does not contain a new reporting period.\n\n| Report check | Original export | Corrected snapshot | \n|---|---|---|\n| Raw source rows | 20 | 20 | \n| Unique transactions | 19 | 19 | \n| Included transactions | 17 | 18 | \n| Paid transactions, summed | $55,500 | $59,000 | \n| Signed refund | −$800 | −$800 | \n| Net completed sales | $54,700 | $58,200 | \n| Unassigned completed sales | $1,500 | $0 | \n\nThe paid-status correction adds $3,500 to the net total. Assigning the other sale changes the owner breakdown without changing the business total. Those are different kinds of changes, and the report needs to keep them separate.\n\nThe same calculation handled both snapshots. That is evidence for this small exercise, not a reliability claim for an arbitrary CRM export. A real deployment would also need to handle your actual schema, currencies, access rules, and exception policy.\n\nThe full outputs, exact assignment, source hashes, and run notes are in the pack. The reports were generated by a coding agent; they were not produced or recalculated inside Excel, Claude for Excel, or Cowork.\n\nFrom the generated report: what the owner can conclude\n\nWillow Health has the largest client total: $17,800.00, or 32.5% of net completed sales. This describes this period’s mix; there is no supplied benchmark for judging concentration.\n\nText excerpt from the original HTML report. The complete report includes exceptions and links from subtotals to source rows.\n\nFREE RESOURCE + FREE NEWSLETTER\n\n### Give your agent the complete reporting job.\n\nGet the practice data, the assignment, the generated reports, and the repeatable calculation. Join Matt’s free newsletter for useful ways to work with AI.\n\n- Original workbook + clearly labeled practice data\n- The actual reports and reusable analysis script\n- The assignment, checks, and next-run handoff\n\nJoin the free Something Big Is Happening newsletter and unlock the resources here. Unsubscribe anytime. [Privacy](https://somethingbig.ai/privacy).\n\nYour resources are unlocked.\n\n## The assignment to adapt.\n\nReplace the bracketed details and attach the source export and definitions. Choose a format your agent can actually produce and your team can use. For the recorded exercise below, the deliverables were HTML reports, JSON results, and a reusable script.\n\nA complete assignment · adapt the bracketed details\n\n```\nTake responsibility for turning [sales export] into the [reporting period] sales report for [audience]. The report should help us decide [business decision]. Use [metric definitions] and [previous approved report, if available]. I want the result, the exceptions that matter, and a reliable way to do this again next time.\n\nOwn the analysis and the finished report, not just a summary of the rows. Choose a useful structure. Tell me what deserves attention, what the evidence supports, and what remains uncertain. If a previous period, target, cost, or explanation is missing, don't invent one.\n\nThe bar for done: I can trace the headline to the source; the summary, tables, and charts agree; and all the source rows are accounted for. Use the metric definitions consistently. Flag conflicting records instead of silently picking one. Keep a valid transaction in the total even if a descriptive field is missing, and make the gap visible.\n\nPreserve the original export. Use a simple repeatable calculation where appropriate. Challenge the main total with a separate calculation, resolve discrepancies, and inspect the saved output with the tools available. Tell me what you could not verify, including any native spreadsheet or formula checks.\n\nMake routine choices yourself. Ask only about an ambiguity that changes the meaning of the report. Deliver the report in [usable format], a short update with the decision it supports, and a reusable reporting brief: the inputs, definitions, known exceptions, and checks for the next run.\n\nDo not send the report, change source-system records, or schedule anything unless I have authorized it. A working report and a reusable process are the deliverables here.\n```\n\nExample brief adapted from Matt’s published approach. The pack also includes the exact assignment used for the coding-agent rehearsal.\n\n## A good report knows what it cannot explain.\n\nWillow is the largest client by net completed sales in both snapshots. Its original $17,800 is 32.5% of the $54,700 total; after the correction it is 30.6% of $58,200. That is a supported concentration fact.\n\n“Willow is growing” is not supported. Neither is “the sales strategy is working.” There is no prior period, target, margin, or explanation of customer behavior in these inputs.\n\nThe useful next step is to focus the owner’s attention on what the report exposes: concentration, the refund, the cancelled transaction, and any unresolved source problems. The agent can recommend what to investigate without inventing why it happened or committing a colleague to a deadline.\n\nThat distinction is part of the assignment. Ask for a position, and ask the agent to show where the evidence stops.\n\n## Leave the next run ready.\n\nThe handoff should preserve the decisions that made this report trustworthy: which input to use, the reporting period, what counts, how to treat duplicates and missing values, and which totals must reconcile.\n\nThe included runner reads the approved exercise inputs and produces the report and result files. Its instructions explain how to rerun it. An analyst or a capable coding agent can inspect the calculation instead of relying on an undocumented chat history.\n\nBefore adapting it to real work, use an approved copy of your export. Run the new and previous process side by side, inspect exceptions, and make sure the report still means the same thing. Keep personal and confidential data inside tools your organization permits.\n\nA repeatable script is one piece of automation. We did not connect a CRM, schedule a job, email a report, or observe this process over multiple weeks. Those require separate implementation and checks.\n\n| Carry forward | Replace or confirm next time | \n|---|---|\n| Metric, currency, duplicate policy, and exception rules | The new export and explicit reporting dates | \n| Report structure and source-to-total checks | New fields, changed definitions, and unresolved records | \n| The audience and decision | Comparable prior-period data, if a comparison is wanted | \n\nFor the next assignment, give the agent the previous reporting brief as context. Let it carry the work forward, and make it explain any definition it needs to change.\n\nTAKE THE WHOLE ASSIGNMENT\n\n## Sales reporting practice pack\n\nThe article and assignment above are public. Join the free newsletter to get the complete pack. Once your subscription is confirmed, the files unlock; the profile questions are optional.\n\n## See the individual files\n\nOriginal Office files are unchanged starters. Use fictional or approved data for your own practice.\n\n## What we did, and what we didn’t.\n\nThis exercise was prepared with coding agents on September 2, 2026. It is teaching material, not a product benchmark or a report about Matt’s business.\n\n- **Inputs** The existing fictional Northstar sales export and a JSON snapshot containing two explicit corrections to the same June 2026 period. Twenty source rows per snapshot.\n- **Actual work** A separately started coding agent received the exercise inputs, wrote a JavaScript runner, and generated HTML reports and JSON results for both snapshots.\n- **Review** The coordinating coding agent checked the saved numbers with a separate calculation and preserved the source hashes. This was agent review, not human sign-off. The process is recorded with the files.\n- **Not performed** No native Excel editing or recalculation, product comparison, CRM connection, scheduled execution, elapsed-week trial, human sign-off, or measured time savings.\n\nThe download includes the exact exercise assignment, preserved outputs, source hashes, and verification notes. The prompt in this article is the broader assignment to adapt to your own environment.\n\n## Before you try it.\n\n## Is this a weekly report or a monthly example?\n\nThe assignment can be adapted to a weekly reporting job. The actual exercise uses a June 2026 dataset and two versions of that same period. It does not show two consecutive weeks or a live recurring deployment.\n\n## Can I upload my own sales data on this page?\n\nNo. This page provides the article and practice files; it does not process your business data. Use approved copies in an agent or environment your organization allows.\n\n## What happens after I enter my email?\n\nYour email joins the free Something Big Is Happening newsletter. Once your subscription is confirmed, the files unlock. The next questions about your work are optional; you do not need to finish them to use the kit.\n\n## The approach and the original materials.\n\nThe assignment follows the outcome, context, and verification approach in [The Ultimate Guide to Prompting AI Agents](https://somethingbig.ai/prompting-ai-agents). The underlying fictional data and Office starter files come from our [AI analyst practice kit](https://somethingbig.ai/work/claude-for-excel) and [PowerPoint starter guide](https://somethingbig.ai/work/claude-for-powerpoint). The method and new evidence are described above.\n\nSomething Big Is Happening is an independent publication. Product names belong to their respective owners.", "url": "https://wpnews.pro/news/give-ai-your-weekly-sales-report", "canonical_source": "https://somethingbig.ai/work/ai-weekly-sales-report", "published_at": "2026-09-02 00:00:00+00:00", "updated_at": "2026-09-09 16:18:47.837217+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "artificial-intelligence"], "entities": ["Anthropic", "Northstar", "Willow Health", "Maya"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/give-ai-your-weekly-sales-report", "markdown": "https://wpnews.pro/news/give-ai-your-weekly-sales-report.md", "text": "https://wpnews.pro/news/give-ai-your-weekly-sales-report.txt", "jsonld": "https://wpnews.pro/news/give-ai-your-weekly-sales-report.jsonld"}}