AI & automation

Claude, n8n and Miva: a small team that works like a big one.

I use Claude (Anthropic’s AI) with n8n workflows and Miva’s API to handle the behind-the-scenes work of a real online store. Nothing here is a demo. It’s what runs an enterprise client’s store every day, and the same setup can take the busywork off your plate too.

How the pieces fit

Three tools, three jobs

Miva: the store

Orders, customers, products and subscriptions all live here. Miva’s JSON API lets other tools read that data safely, with keys limited to only what each job needs.

n8n: the plumbing

Scheduled workflows that move data between Miva, Google Sheets, Klaviyo, your reviews platform and your bookkeeper, and send an email when something needs a person.

Claude: the extra hands

It helps me build and test the workflows, write Miva templates, dig through data and logs, and do review work that used to take a person all afternoon. I check everything before it goes live.

From real work

Ways it’s paying off right now

All of these run for an enterprise client, a national supplement brand on Miva. Most took a few hours to build and haven’t needed attention since. For the email and storefront side, see how I use Claude with Klaviyo and Miva.

01

Sales reporting with no exports

Orders flow from Miva into Google Sheets every couple of hours. A Looker Studio dashboard puts them next to ad spend, Google Analytics, Search Console and affiliate numbers, so the owner sees the whole picture on one page. A pulse email lands every Monday morning, and Claude drafts a monthly report that flags anything unusual for me to check before it goes out.

02

Monthly files for the bookkeeper

On the same day every month, last month’s payment transactions arrive in the finance inbox as a ready-to-use CSV. No one has to log in, filter or export anything.

03

Cleaner reviews

When an order is cancelled in Miva, its Shopper Approved review request is cancelled too, so customers who never got a product aren’t asked to rate it. Every week, Claude also screens new reviews for health claims a supplement brand can’t publish and writes up the ones to look at.

04

Alerts that only speak up when it matters

Daily checks for checkout JavaScript errors (with the harmless noise filtered out), spikes in email unsubscribes, and failed subscription payments, which go straight to the sales team with a sheet of who to call. Inventory that needs to sell before it expires gets flagged too. If a workflow itself fails, I get an email.

05

Faster, safer Miva development

Claude writes Miva templates and Page Builder components to Miva’s own coding standards. Every change is tracked in git and tested on a staging copy of the store before it reaches your customers. More on Miva development →

06

Content and compliance review

Blog posts and product copy get checked against FDA and FTC rules and the brand’s own wording rules. Claude marks up the problems and drafts fixes, and the owner approves every change.

Connected data

Ask your business a question. Get a real answer.

Most stores have their numbers scattered across a dozen logins: orders in Miva, ad spend in Google and Meta, traffic in Analytics, emails in Klaviyo, points in the rewards platform, reviews somewhere else. Each one tells part of the story, and none of them talk to each other.

Once n8n pulls them all into one place, you can ask Claude a plain-English question and it works across all of them at once, the way an analyst would, in minutes instead of weeks. Here are some questions we’ve actually asked, with the details kept private.

Orders · subscriptions · customers

“Why are sales slipping?”

We put six years of orders side by side. Repeat customers were as loyal as ever. Almost the whole decline came from fewer new customers. That moved the conversation from “fix retention” to “fix acquisition”, which is a very different budget.

Rewards platform · discounts · orders

“What did changing our rewards program really do?”

The point history pinned the change to the exact hour it went live. Redemptions and member sales before and after showed what it cost. That led to loyalty tiers that reward long-time customers, and the top tier now earns double points.

Order lines · price history

“Did our price increases hurt us?”

Nobody remembered exactly when each price changed. We rebuilt every product’s price history from the orders themselves, so every sales dip can be checked against what customers were actually paying at the time.

Google Analytics · blog

“Which blog posts actually bring in customers?”

The most-visited post turned out to be mostly bot traffic. The post real people read most didn’t link to a single product. Now that one gets the attention.

Reviews · orders · session recordings

“Why did this customer leave us one star?”

We matched the review to the order and the customer’s visit. An address check at checkout was pushing its Save button off the bottom of laptop screens, so shoppers went around in circles. It was fixed the same day, and a month of past visits showed who else it had caught.

Cloudflare · server logs

“Why does the store keep freezing?”

We lined up every slowdown against the traffic at that moment and traced them to floods of bot traffic, some of it from a single network. Rules went in to block it, and what would have been days of reading logs took an afternoon.

Guardrails

AI does the legwork. People make the calls.

The fastest way to get burned by automation is to let it loose on your live store. These are the rules I learned to work by.

  • Read-only access first. API keys only get write permission when a job truly needs it.
  • Nothing goes to the live store, your customers or your email list without your OK.
  • New jobs get new workflows. Ones that already work are never edited on the fly.
  • Every scheduled workflow has an error alert, so nothing fails silently.
  • Schedules are sized to your n8n plan, so you don’t get surprise overage bills.
  • It all runs on your own n8n and Google accounts. If we stop working together, you keep everything.

Getting started

Start with one chore

1. Name the chore

The report you build by hand every Monday, or the export nobody wants to do. Tell me about it.

2. Build and test

I give you an estimate of the hours, then build one workflow and run it against your real data while you watch the results.

3. Turn it on

It goes live only when you’re happy with it. Then pick the next chore, or stop there. Billed hourly, no contract.

Got a chore you’d like to never do again?

Tell me what eats your week. I’ll tell you honestly whether it can be automated and what it would take.