case study · AI app development

A Shopify app built with AI: the PACKTRACK story

What our own records show about building, fixing and launching a Shopify app with AI tools, mistakes included.

By NLY Media · Updated November 2026 · 8 min readBy NLY Media

Short answer

PACKTRACK is a Shopify app built with AI by the NLY Media team: an AI assistant inside the app picks the box for each order, and AI coding sessions build and fix its website under human approval. The AI did a lot of the typing, but people still set every rule, approved every release and checked every claim. Below are the real steps, the mistakes we caught, and what Shopify asks of any app.

In this guide
  1. The idea
  2. The AI part
  3. The steps
  4. Shopify's rules
  5. Mistakes
  6. Lessons
  7. Questions people ask

What PACKTRACK is and the problem it solves

Every good app starts with one clear job. PACKTRACK's job is packaging. Shopify counts the products you sell, but it doesn't count the boxes, mailers and fillers you ship them in. PACKTRACK tracks that packaging stock, assigns the right box to every paid order, and alerts you before you run out.

We wrote the gap down plainly before we wrote anything else. Here is how Shopify on its own compares with the app, using the same facts the app's own site uses.

Shopify alonePACKTRACK
Picking a boxStores box sizes only for shipping ratesPicks the box for every order, by your rules or by its AI
Packaging stockNo packaging item typeReserves packaging on each order and deducts it when you fulfill
Low-stock alertsNeeds a Shopify Flow workflowEmail and in-app alerts at thresholds you set
Packaging costNo packaging line in profit reportsCost per order, average cost and trends

Notice what the table doesn't say. It makes no claim about how much time or money a store saves. We had no data for that, so it isn't there. That rule shaped the whole project, as you'll see below.

AI app development by NLY Media

Want it done for you? See what we build and how we work.

See AI app development →

The AI inside the app: how Peter picks the box

The app has a built-in AI assistant called Peter. You can set simple packing rules, or let Peter pick the best-fit box from your product dimensions using 3D bin-packing. Packaging is assigned when a paid order comes in.

We gave the AI clear limits. It assigns packaging and sends alerts. It doesn't reorder stock for you on its own. When an early version of the website implied automatic reorders, we changed the wording to match what the app really does: it alerts you.

Making the AI part visible

The design system gives Peter his own color. Purple means Peter, the AI agent. Orange means the PACKTRACK brand and your wins. That way a store owner can tell at a glance which actions the AI takes and which ones they control.

We also used AI image tools for brand art. To stop them drifting, we wrote one locked rule for the logo: a solid orange P whose bowl is a box with two tape lines. Every prompt for a new brand image must use the reference file or describe the mark in those exact words.

How to build a Shopify app with AI: the steps we followed

This is the order the work really happened in, based on our project records. The app's code lives in its own repository. The steps below cover the product decisions and the website and listing that carry it.

  1. Write the job in one sentence. Ours: track packaging stock for Shopify stores and pick the right box for every order.
  2. Pick who can install it. PACKTRACK is a public app that installs from the Shopify App Store, not a custom app for one store.
  3. Build the AI feature with limits. Peter picks boxes or follows your rules; alerts are alerts, not automatic purchases.
  4. Build the website with a mainstream stack. The site runs on React, TypeScript and Vite, with Tailwind CSS and shadcn-ui components.
  5. Let an AI coding agent write the code, one approved job at a time. Each job is a numbered finding with what done looks like, a fail line and what must not change.
  6. Check every change by hand and save the proof. There is no automatic check yet, so each job's results are written down before release.
  7. Release only on a person's go-ahead. Bigger changes go to a preview branch first and reach the live site after a human looks.
  8. Keep claims, site and listing in sync. Facts on the website must match the App Store listing word for word.

The AI coding sessions were Claude Code. They read the project rules at the start of each session, worked on one approved package, wrote their own test notes and stopped. If you're choosing a tool for this kind of work, our guide comparing Claude Code and Lovable covers the trade-offs.

What Shopify asks of any app, AI-built or not

AI can write the code, but Shopify reviews the result the same way it reviews any app. These are the points from Shopify's own developer docs that matter most if you build with AI.

  • Shopify CLI "scaffolds your app, runs it against a dev store while you work, and packages and releases your app versions."
  • Shopify AI Toolkit "connects your coding agent to Shopify's docs and API schemas, so it writes queries that validate against the version you're building on."
  • Shopify runs most app components for you. "Only your backend is yours to host."
  • Decide distribution early: building for the App Store "is a different job from building for a single organization."
  • Before you submit, "you need to test it on a development store to check for any bugs or errors."
  • An embedded app "must function properly without relying on third-party cookies or local storage," including in Chrome incognito mode.

New Shopify App Store requirements from November 2026

Shopify changed its submission rules on November 10, 2026. Developers who submit new apps must now verify their identity. Rejected submissions face cooldowns that get longer each time. Each of your existing apps needs at least 10 installs on full-priced stores before you can list another one. Apps with zero installs after six months are removed from the App Store.

This matters for AI builders. It's easy to generate many small apps quickly. Shopify now rewards one app that merchants use over many that nobody installs.

What AI got wrong, and how we caught it

No guide in the top search results talks about this part, so here it is. Building with AI is fast, but speed hides small errors. These are real ones from our records.

Numbers with nothing behind them

Early website copy showed figures like an accuracy rate, minutes saved per order and percentages of waste saved. Nobody could point to a source, so we removed them. If a number has no source, it doesn't ship.

A feature the app didn't have

A line on the site said purchase orders included freight and duties in the average cost. When the team checked the app, it didn't. We fixed every page that said it and added a test that fails if those words come back.

Pages search engines couldn't read

The site was a single-page React app, so sections that loaded on scroll were missing from the HTML search engines read first. We had the home page pre-rendered as real HTML. After the first release, the page didn't fully start in 3 of 36 live test runs, because it waited on separate section downloads. A second fix bundled the sections and passed 12 of 12 runs.

Small layout and status errors

Unknown URLs returned the home page with a success code instead of a real 404 page. At tablet width the header pushed the page sideways by a few pixels. Both were fixed and checked, the second one at 141 screen widths. One rare warning, seen in 1 of 846 test loads, is still written down as open rather than hidden.

Lessons if you want a Shopify app built with AI

Here is what we would tell any store owner or founder thinking about the same path.

  • Give the AI one small job at a time, with a clear done line and a clear fail line.
  • Keep a person in charge of releases. AI suggestions and test results are not approval.
  • Write every rule down in the project, not in chat, so the next AI session follows it too.
  • Check every claim against what the app really does. AI writes confident sentences about features you don't have.
  • Read Shopify's App Store requirements before you build, because a rejection costs a full review cycle.
  • Plan for security and data handling from day one, not after launch.

When is AI the wrong choice? If your app handles sensitive data, needs deep custom backend work, or you have no one to review the code, an experienced developer should lead and AI should assist. If you're not sure which fits, NLY Media's AI app development service can help you decide.

PACKTRACK: a Shopify app built with AI: questions people ask

How do you build a Shopify app with AI?

Start with one clear job, decide whether it's an App Store app or a custom app for one store, then let an AI coding agent write the code in small, approved steps. Shopify CLI sets up the project and runs it against a development store, and the Shopify AI Toolkit connects your coding agent to Shopify's docs and API schemas. Test on a development store before you submit for review.

Can ChatGPT build me an app?

An AI tool can write much of the code, but it can't take responsibility for it. Someone still has to host the backend, test the app, check that every claim is true and meet Shopify's review requirements. In our case, people approved every release.

How much does it cost to develop a Shopify app?

It depends on what the app does, so we won't quote a single number. Plan for the build itself, hosting your backend (the one part Shopify doesn't run for you), and time for App Store review, since rejections now come with cooldowns that get longer each time.

Can I use AI to build a Shopify store?

Yes, but a store and an app are different jobs. A store sells your products. An app adds a feature that runs inside Shopify and works with its APIs and store data. PACKTRACK is an app: it adds packaging tracking that Shopify doesn't have.

Is PACKTRACK on the Shopify App Store?

Yes. PACKTRACK installs from the Shopify App Store. It tracks packaging stock, assigns packaging to paid orders and sends low-stock alerts.

More guides

All guides →

let’s talk

How do you
want to start?