✕ Beranda Langganan Per Project Proses Profil FAQ Co-Researcher Blog Carousel SaaS Hubungi
Artikel ini juga tersedia dalam Bahasa Indonesia. Baca versi Indonesia →

Year-End Sales Recap with AI: From Spreadsheet to Restock Insights

Year-End Sales Recap with AI: From Spreadsheet to Restock Insights

The Promo Season Is Over — Don't Let the Data Pile Up

Harbolnas, Black Friday and year-end sales usually leave an online shop with two things: a warehouse that is running low and a messy pile of order exports. Many small business owners stop at "revenue went up", yet that spreadsheet holds answers to far more useful questions: which products actually sold well, what hours customers are most active, and which items need restocking before the new year.

The good news is that cleaning and reading this data can now be done with the help of AI. The Indonesian E-Commerce Association (idEA), as reported by Bisnis.com, sees AI not as a threat but as a new opportunity for e-commerce — as long as platforms keep adapting, small businesses grow with them, and consumer trust is protected. Meanwhile, Lazada research cited by Industry.co.id found that 90% of surveyed Indonesian sellers consider AI important for productivity, even though actual adoption still lags behind what they claim.

This article is a practical tutorial to close that gap: from marketplace exports to a restock list, with one hard rule you must never skip — remove customers' personal data before uploading anything to an AI service.

Step 0: Strip Customer Personal Data First

Before touching ChatGPT, Gemini, Claude or any other AI, open your order export and delete the columns that contain personal data: buyer name, phone number, full address, email, and order notes that may include personal details. Sales analysis almost never needs them.

Indonesia has Law No. 27 of 2022 on Personal Data Protection, which sets out the obligations of anyone processing personal data. Uploading a full customer list to a third-party service without a clear legal basis risks breaching those principles — and undermines the very consumer trust idEA calls essential.

Column Action Why
Name, phone, email, address Delete Personal data, not needed for analysis
City/regency Optional to keep Enough to see regional spread
Order ID Replace with a sequence number Prevents tracing back
Order date & time Keep Needed for shopping-hour patterns
SKU, product name, qty, price Keep The core of sales analysis

If you want to count repeat customers, replace names or phone numbers with pseudonymous codes (such as C001, C002) on your own computer, then upload only the pseudonymised version.

Step 1: Merge and Clean the Spreadsheet

Promo-season data is often scattered across Shopee, Tokopedia, TikTok Shop and Lazada exports, plus WhatsApp sales notes. Merge everything into one sheet with consistent columns: date, time, channel, sku, product_name, qty, unit_price, discount, total.

This is where AI shines. An example prompt:

"I have sales data from three marketplaces with different column names. Map the columns to the standard format below, then show me spreadsheet formulas to split the date and time from the order timestamp column."

Also ask the AI to flag common problems: the same product written under different names, duplicate rows, or cancelled orders that are still being counted.

Step 2: Find Your Real Best Sellers

"Best seller" can be misleading. The product with the highest quantity isn't necessarily the most profitable if it was heavily discounted. Ask the AI for three rankings at once:

  1. By units sold.
  2. By net revenue (after discounts).
  3. By margin, if you add a cost-price column.

Example prompt: "From the attached data, build a top-10 table by units, by net revenue and by margin. Flag products that only sold well because of deep discounts." The results are often surprising: some products sell in large numbers yet contribute almost no profit.

Step 3: Read Shopping Hour and Day Patterns

With a clean time column, ask the AI for a pivot table of orders per hour and per day. Typical online-shop patterns — a midnight spike when twin-date promos kick off, or a lunchtime bump — become obvious. Use this insight to:

  • Schedule broadcasts, posts or live selling at peak hours.
  • Staff customer chat during the busiest hours.
  • Plan shipping so parcels don't pile up.

Step 4: Calculate Restock Needs

Add a remaining-stock column per SKU, then ask the AI to calculate average daily sales excluding peak promo days (to avoid being overly optimistic), how many days until stock runs out, and the restock quantity taking supplier lead time into account.

The simple formula: restock needed = (average daily sales × (supplier lead time + safety-stock days)) − remaining stock. Ask the AI to write it directly as an Excel or Google Sheets formula so you can reuse it next month.

Limitations to Keep in Mind

AI can miscalculate or "hallucinate", especially with large files. Always double-check key numbers with your own spreadsheet formulas, and treat the AI's output as a draft analysis, not a final decision. Promo-season data also doesn't represent a normal month — separate promo and non-promo periods when calculating restock.

Conclusion

A year-end sales recap doesn't have to mean days of overtime in front of a spreadsheet. With the right order — strip personal data, clean up, analyse products, read time patterns, calculate restock — AI can turn a messy export into a clear stock plan for the start of the year. The keys remain the same: clean data and protected customer trust.

Need your own sales dashboard or a shop website whose data is tidy from day one? The katili.dev team is ready to help.

References

  1. idEA: AI Bukan Ancaman, tetapi Peluang Baru bagi E-Commerce — Bisnis.com, 5 November 2026
  2. Seller eCommerce Indonesia Makin Melek AI, Ini 3 Cara Optimalkan Listing Produk — Industry.co.id
  3. Undang-undang (UU) Nomor 27 Tahun 2022 tentang Pelindungan Data Pribadi — JDIH BPK RI

Share Article