AI Blocks › Run your online store
Revenue by location reporter
Run it on your orders. Get revenue for each warehouse or fulfillment location, ready for a split profit view.
Revenue by location reporter is a free AI skill for the job "Run your online store". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · MIT licence · Made by 40rty AI · Thinking: low
Made by 40rty AI. See the original on GitHub; we copied it as it is, with its licence.
What it does
Revenue split by the warehouse or fulfilment centre that shipped each order, so you can judge every location's profit on its own. It reads your Shopify data only and changes nothing. The skill first lists your active locations. It then pulls shipped orders for the window you choose, 30 days by default, and attaches each order's total to the location that fulfilled it. Closed fulfilment orders fill gaps, and any order with no location data goes under Unknown so totals still add up. The output shows revenue per location, ready to place beside costs for a per-site profit view.
You give it
- Your Shopify store address
- How many days back to report
- Output format, readable or JSON (optional)
You get
- Revenue for each fulfilment location
- Order counts per location
- An Unknown line for orders without a location
- Figures ready for a location profit view
Use it when
- You ship from more than one warehouse and want a profit view for each.
- You are deciding staffing or stock levels by site.
- You want to see where demand is actually being fulfilled from.
- Finance asks for revenue by location at month end.
How to use it
- Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
- Ask for the job in your own words. Your AI opens the skill when it fits.
- It works best when your AI can access your Shopify admin.