---
title: "Before We Rebuilt Their Platform, We Learned Their World"
url: https://www.axelerant.com/blog/headless-drupal-nextjs-ai-native-rebuild
published: 2026-11-25T09:00:00.000Z
author: "Field Correspondent"
source: Axelerant Thinking
---

# Before We Rebuilt Their Platform, We Learned Their World

> How a headless Drupal 11 and Next.js 16 rebuild for a global brand went live: the discovery, architecture, AI delivery harness and the lessons we'd pass on.

The brief said: rebuild the website.

We could have. These days, a good team with a decent AI setup can ship a shiny new site faster than ever. That's the strange new reality of our industry. Building is the easy part now.

But the more we listened, the clearer it got that a new website wasn't what this business needed. A global membership brand with thousands of independent centers, half a dozen sites that had grown up separately, and almost no view of what its customers did between sign-up and certification doesn't have a website problem. It has a we can't see our own customers problem.

So we didn't start with the website. We started with their world.

When the new platform finally went live, nobody counted down. Someone flipped a switch, Slack filled up with confetti, and traffic that had been scattered across a tangle of old sites landed on one: Drupal 11 and Next.js 16 on Acquia, with Cloudflare at the edge. One search box for courses and places. A new member area. A translation workflow regional editors can run without filing a ticket with anyone.

The switch was the easy bit. This is the story of everything that came before it: how we approached it, what we built (in more technical detail than is probably polite), and what it taught us about where implementation work is heading now that AI writes so much of the code.

It's a long read. We think it earns it. But if you've only got two minutes, here's the short version:

- **Discovery is now the most valuable part of a project.** AI made building cheaper. It did nothing to make knowing what to build any easier.

- Headless Drupal with Next.js holds up at global scale, as long as you design for caching, failure and languages on day one, not day ninety.

- **Verification is the new build.** Before cutover we checked 33,708 URLs and audited 340 pages. By machine. Twice, in places.

- **An AI delivery harness is a system, not a tool.** Reviewed plans, guardrails, checks at scale, observability as code, shared memory.

- **People still make the calls.** AI drafted, tested and triaged. Humans decided. Including when everyone needed to go to sleep.

## So What Does AI-Native Implementation Actually Mean for You?

Short answer: the expensive part of a project has moved. Most budgets haven't caught up yet.

For as long as most of us have worked in this industry, the rule of thumb went something like this. For every $1 you spend on software, you'll spend about $6 on services. And most of that $6 paid for people building and configuring things. Hours, basically.

Then AI agents got very good at building and configuring things.

A recent piece by Innovation Endeavors argues that the traditional systems integrator model is breaking, and it's hard to disagree. If you bill by the hour, a tool that halves your hours is... awkward. The authors describe a new kind of firm, which they call the NeoSI. It wraps AI around the whole delivery process, runs smaller and more senior teams, and sells outcomes instead of time. They also call process discovery "the single biggest bottleneck in implementation."

We'd add one more bottleneck, the one that actually keeps engineers awake: verification. When an agent can write a migration script before your coffee's gone cold, the real question becomes whether all 33,000-plus URLs it touched still work.

We didn't read that piece and nod along from a safe distance. We'd been living inside it for a while. So here's what it looked like up close.

## Why Did Discovery Take Eight Weeks Before We Touched the Website?

Because the brief and the business were two very different sizes.

![Three research paths connect a field notebook to a shared destination on a map, illustrating how discovery builds a common understanding.](https://cdn.sanity.io/images/d78h1a2t/production/e5701decbe2fde0a9d25a91b3279b1bf99487952-1440x800.jpg)

Business discovery connects separate needs before the team defines what to build.

On paper, this was a website rebuild. Fair enough. The brand's digital estate had grown the way these things always do: a main site, a consumer blog, a separate blog for professionals, a store, a travel booking site, a learning platform, mobile apps. Each one made perfect sense the year it was built. Together, they looked like a house where every owner added a room and nobody ever drew a floor plan.

But this is a global membership business, and the brand had signed up for a multi-year partnership with us covering strategy, design, build and growth. So we decided early on that the website was release one of a long roadmap. And that we'd only earn the later releases by genuinely understanding how their world works.

Which meant becoming students. Properly. Notebooks out.

Discovery ran for eight weeks. The first two were about vision and strategy. Weeks three and four went deep into technical and structural requirements. The last four were design workshops, functional workshops and journey mapping. We kept the groups small, sent prep material days ahead so nobody walked in cold, and tested with the client the whole way through instead of saving it all for one big nervous reveal at the end.

Here's some of what we learned, and why it mattered:

- **The brand talks to three very different people.** Certified members looking for their next course, trip or experience. Professionals running training centers. And total newcomers who just want to know where on earth to start.

- **Customers climb a ladder.** Consumer, then student at the first certification, then (for some) professional member. Each rung renews on its own rhythm, and a surprising amount of that was still handled by hand.

- **There's a blind spot right in the middle of the journey.** Thousands of independent centers deliver the actual training, and only a small share of them sent the brand any data. So the brand mostly met its customers at one moment: certification day. Before and after? Fog.

- **The platforms pay the bills, and they were under pressure.** Early on, AI crawlers from more than 200,000 IP addresses were hammering the travel site's database-heavy search pages. Hard enough to slow down bookings.

None of those is a website requirement. Every single one ended up shaping what the website had to do.

(Hold on to that point about the centers, by the way. It comes back later, in a way none of us planned.)

## Is Headless Drupal With Next.js Right for a Global Brand? Our Honest Take

It can be. But only if you design for things going wrong, because at global scale, something somewhere always is.

Here's the stack we landed on, and why each piece earned its place:

| Layer | Technology | Why it's there |
| --- | --- | --- |
| Content | Drupal 11 with JSON:API, on Acquia | Structured content, editorial workflow, and permissions that let global and regional teams work without stepping on each other |
| Front end | Next.js 16 (App Router, Cache Components), React 19, next-intl, Tailwind 4, hosted on Acquia | Fast pages, server-first rendering and sign-in, proper per-language handling |
| Edge | Cloudflare CDN, Workers and Turnstile | Caching, routing between the old and new sites at cutover, bot protection on forms |
| Assets | Acquia DAM | One home for every image and video, instead of five |
| Search and finder | Go services, Amazon OpenSearch, Aurora PostgreSQL with PostGIS | Course, center and location search that stays in sync with the brand's booking data |
| Translation | Crowdin, wired in through webhooks | Editors trigger and review translations themselves |
| Observability | Datadog (APM, RUM, SLOs, Synthetics) written in Terraform, Opsgenie for paging | Alerts and dashboards that get reviewed and versioned like the code they watch |

### The part nobody puts in a case study: what happens when it breaks

This is the bit we're proudest of. It's also the bit no visitor will ever notice, which is sort of the whole point.

![Layered roofs shelter a house while an alternate pipe bypasses a break, illustrating caching layers and fallback routes.](https://cdn.sanity.io/images/d78h1a2t/production/50c00bf0581936a07b40b496ec4249374d559ef0-1440x800.jpg)

Conceptual illustration: layered protection and fallback routes keep the experience available when dependencies fail.

- **Caching in layers.** Most anonymous visits are answered by Cloudflare before they get anywhere near our servers. On a miss, Next.js serves a prebuilt shell and streams content in from Drupal, whose JSON:API responses sit in Varnish (with Memcache behind Drupal's own caches). When an editor saves a change, Drupal sends cache-tag invalidations to both Varnish and Next.js, so the right pages refresh and nothing else does.

- **A circuit breaker in front of the CMS.** If half of 10 reads fail inside 10 seconds, across at least three different paths, the front end stops asking Drupal and serves its last good copy instead. Cached pages keep going for up to 24 hours. If the origin starts throwing server errors, stale copies cover for another day.

- **An empty page counts as a failure.** Sounds obvious. It isn't. If Drupal ever replies "200 OK" with nothing in it, the front end treats that as an error and serves a short-lived degraded page, rather than happily caching a blank for hours.

- **Purges that don't give up.** Cache purges retry up to six times with backoff, then land in a dead-letter queue. A rate-limited purge doesn't quietly leave old content live.

Every one of those failure modes has a named owner, a signal that detects it, and a written recovery plan. We wrote that table before launch. Writing it after your first middle-of-the-night incident is a lot less fun.

## How Do You Build a Location and Course Finder That Works Worldwide?

This is the part of the story we end up telling at dinner.

Course search and the center locator were scoped as two separate features. Sensible. Normal. Then, partway through the build, one of our engineers sat down and prototyped them working as one. Type a course. Type a place. Get an answer. One box.

Great idea. Terrible timing. It meant rebuilding around it against a deadline that was not moving, with plenty of late nights and a fair amount of (polite) panic. And then the client saw it working. They called it "a massive step forward." A bit later, "a really, really, really strong foundation."

Three reallys. From a client whose kind words, our project team will tell you, do not come easily. We may have screenshotted it.

For the engineers still reading, here's what's under the hood:

- **Two small Go services.** A locator API builds the finder's cards, prices and map pins. A search API owns every OpenSearch query, and also powers the site-wide search box.

- **A sync pipeline that keeps up.** Go functions on AWS Lambda keep a PostgreSQL and PostGIS database, and the search indexes, in step with the brand's booking data within ten minutes. They can build a fresh index generation, or roll one back if it misbehaves.

- **Timeouts nested like Russian dolls.** The search API has 2 seconds. The locator gives it 2.5. The whole request is capped at 3. Whatever happens downstream, the visitor gets an answer.

- **It knows where it is.** Suggestions blend in Google Places results on a best-effort basis, except in mainland China, Hong Kong and Macau, where the finder leans on its own data and a different map provider.

- **Translation built in, not bolted on.** Finder content flows through Crowdin webhooks. The native mobile app is being built on the same APIs, so web and app will give the same answers.

- **Forms that bots can't spam.** The "contact this center" form checks a single-use Cloudflare Turnstile token on the server before a single lead is forwarded.

## How Do You Merge Several Websites Into One Without Losing Your SEO?

Slowly. Paranoidly. One URL at a time.

Here's the thing nobody tells you about migrations: rankings almost never die on the homepage. They die in the long tail. The old blog post that still quietly pulls in readers every month. The translated version of an article nobody remembers publishing. So we treated every old URL as a small promise somebody, somewhere, was still relying on.

Both blogs ran on WordPress, separate from the main site. Both moved into Drupal, on the main domain, in many languages. That's thousands of addresses that each needed a sensible new home.

- **One redirect rule, applied without exceptions.** If an old URL was dead but the same article was live in English, it went to the English article. No equivalent? The English blog hub. And where the content plan explicitly said a page should be gone, it returned a 410 and stayed gone.

- **Every URL checked by a machine, not a sample.** We built a small checker in Rust, ran it on a single cloud instance, and pointed it at 33,708 URLs from the old estate. It logged 851 redirecting URLs and 1,437 hops along the way. Separately, every one of the 3,310 addresses in the old sitemap was checked on the new site.

- **Assets moved into a library, not just another folder.** About 300 GB of images and video were deduplicated and migrated into Acquia DAM, with alt text and descriptions added for the website and blog assets. Since launch, the site and both blogs serve their media from there.

- **The long tail, chased down after launch.** A post-launch audit found thousands of links inside old blog posts pointing at retired pages and files. Within days, a fix covered 5,673 of the 5,731 broken links. The last few went to the client's team with clear options, because some calls should be theirs.

## What Does an AI-Powered Delivery Harness Actually Do?

We say "delivery harness" a lot. It's a fair question what we actually mean.

![Documents pass through measurement and a human approval gate into a shared archive, illustrating a reviewed AI delivery harness.](https://cdn.sanity.io/images/d78h1a2t/production/80c660ea4ff6d8d7fbee1ad2fed2548bb1e193bc-1440x800.jpg)

AI supports the work. People retain review, approval, and release authority.

Here's our working definition: it's everything that lets AI do routine work at scale without anyone losing control of the result. On this project it had five parts. And (this surprises people) AI is only one of them.

- **Reviewed plans, not raw output.** Our engineers worked mostly in Claude Code, with project documentation and guardrails the tools read before writing anything. The AI drafted a plan first. A person read it, pushed back, adjusted it. Only then did code get written, and every change was still reviewed by someone other than its author.

- **Hard lines around data.** AI tools never touched personal data, credentials or production access. Full stop. Sign-in happened out of band, and local work ran on synthetic data.

- **Checking at a scale no human team could manage.** URL checks across the entire estate. Performance and accessibility audits across 340 pages, covering public, member and finder journeys. Visual regression before production deploys.

- **Observability written as code.** Service-level objectives, monitors, synthetic tests and dashboards for the front end, the CMS and the finder all live in Terraform. After launch we went a step further: every production alert now also reaches Bott, our own delivery assistant, which opens a thread and starts digging in the right repository before a person even picks it up. 72 monitors are wired up this way.

- **A memory that doesn't walk out the door.** Decisions, meeting notes and project context flow into Memra, our shared knowledge index. So the next phase, or the next new person on the team, starts from what we already know.

The harness changed the early stages too. In discovery workshops, the team built interactive analytics dashboards with Claude, the kind standard reporting tools simply don't give you. Figma designs became prototypes the client could actually click through.

One of our engineering leads summed up the whole shift in one line: the bottleneck moved from writing code to managing context.

If you're about to hire a partner, maybe read that line twice.

## What Did It Take From the People?

More than we'd usually admit in a blog post about efficiency.

AI changed where the hours went. It did not make the late nights go away. Launch weeks meant calls across time zones, weekend pushes and, to quote the team directly, "a lot of coffee."

Some moments we keep coming back to. An engineer who took on the entire automation testing strategy while he was staffed on a different project, just because he wanted to. His manager called him "the quiet but formidable force" behind it, which is about the best review anyone can hope for. The client's editors signing off localization and calling the translation workflow "very straightforward" (music to anyone who has ever built a translation workflow). The homepage design getting a two-word review from the client: "it rocks."

And launch morning.

The team had been at it since the previous day. The person leading the launch told everyone to log off and get some sleep, and promised to call them herself if anything came up. Then she wrote:

"You've been at this since yesterday morning, and it shows in every part of this launch. Thank you, truly."

We're including this on purpose. Protecting judgment means protecting the people who have it. Tired people make worse calls, and no amount of AI changes that.

## How Do You Plan a Website Cutover With Zero Downtime?

Make launch day boring. Seriously. If launch day is exciting, something went wrong weeks earlier.

Our checklist, in the order we actually ran it:

- **Get the new site running in production, quietly.** The new front end sat behind the brand's edge network on its own production host for weeks before anyone outside the project saw it.

- **Install the switch, but leave it pointing at the old site.** A Cloudflare Worker decided, request by request, whether traffic went to the old site or the new one. We installed it pointed at the old site and compared responses before and after, across 235 pages and 61 account paths. Nothing changed. Which was exactly what we wanted to see.

- **Test every dependency on the real domain.** Sign-in, the travel pages, the member club, and sign-in from every other product that relies on it, including the mobile apps. The sign-in provider, bot protection, map providers, consent manager and real-user monitoring all had to accept the new host.

- **Prove the alarms actually ring.** Paging was set up, and a test alert received, before launch.

- **Flip the switch.** Then watch. Routing moved to the new site. The blogs moved onto the main domain the same day.

The launch even slid a few hours later, so a late change from the client's own engineers could settle first. Nobody argued. Nobody rushed. That's what a boring launch buys you: the calm to wait.

### The first two weeks, which is where the real answers start

A launch isn't the finish line. It's the moment the real data starts showing up. Here's what those first two weeks taught us.

- **Read early numbers like a skeptic.** Search data lags by days, and launch-day analytics were still processing. Organic traffic had already been sliding before launch, so the team compares against the same weeks last year, not just the weeks before. (Tempting as the flattering comparison is.)

- **Test your own measurement, too.** Comparing the new site side by side with the store and travel sites, the team noticed analytics only loaded after a visitor accepted the cookie banner. Most people never touch the banner, so most visits weren't being counted. We flagged it within days.

- **Make measurement part of "done".** Analytics checks are now part of the brand's definition of done, with staged checks that must pass before any release goes live, and one tracking container covers every site.

- **Send alerts to triage, not just to pagers.** Ten days after launch, every production page also kicked off an automated first look in the right code repository.

## What Happens When You Solve a Problem Nobody Asked You To?

Remember the centers? This is where they come back.

All that time spent as students of the brand's world kept surfacing the same worry. The brand couldn't reliably see which of its member centers had quietly started listing with rival agencies. Or which businesses were using its name without being members at all. Regional managers worked from periodic scrapes and spreadsheets, and because there's no shared ID across agencies, past attempts at matching only ever got about halfway.

Nobody had written this into the brief. We tried something small anyway: a two-day proof of concept.

Two days turned into a few weeks of real build. The tool now:

- Crawls eight rival agencies' center locators, plus each center's own website.

- Matches every listing to the brand's records, with a confidence level on each match.

- Alerts regional managers to centers showing up on a rival's map, early signs of a center drifting away, and misuse of the brand's name.

- Remembers every decision a regional manager makes, so the next run only brings back what's actually changed.

That last part matters more than it looks. The tool suggests. A person decides. The tool remembers the decision. It's our whole philosophy, shrunk down to one small product.

The latest run checked about 7,400 rival listings against roughly 15,500 centers. It found 351 centers that should belong only to the brand sitting on a rival's map, 1,669 at risk, and more than 1,600 the brand didn't even have on file. When our team visited the brand's office, three of its leaders thanked them for it in person. We're still a little giddy about that, if we're honest.

And none of it is really about this sport. If your business reaches customers through independent dealers, franchisees or partners that competitors also court, you probably have the same blind spot.

## Five Things We'd Tell Any Leader Planning a Rebuild

If you skipped straight here, no judgment. Here's what we'd say over coffee.

- **Pay for discovery like it's the product.** Because increasingly, it is. If AI makes building cheap, knowing what to build is where your budget earns its keep. Our eight weeks shaped every workstream that followed, and turned up a problem nobody had put in the brief.

- **Ask your partner how they get paid when AI makes them faster.** It's an uncomfortable question. Ask it anyway. Hourly billing and AI efficiency pull in opposite directions. The whole industry, ourselves included, is still working out the right answer, but a partner who hasn't even thought about it is telling you something.

- **Budget for verification, not just for building.** Our cutover stood on 33,708 checked URLs, 340 audited pages and a switch we'd tested before we flipped it. Expect more of a modern project's effort to go into proving things work than into writing them.

- **Insist that the learning carries forward.** Decisions, context and project know-how should live somewhere the next phase can actually use. Otherwise you'll pay for discovery again every time the team changes.

- **Keep a person's name on every decision.** AI can draft, test and triage all day. Architecture, review and release calls belong to named people, on both sides of the table.

One honest note before we wrap up. This wasn't a tiny team, and we're not going to pretend a platform this size runs itself. The NeoSI shift, as we see it, isn't about doing the same work with fewer people. It's about where people's hours go: less setup and repetition, more understanding and judgment. That's a trade we'll take every time.

## So, What's Next?

Honestly? A lot. The website was release one of a much longer roadmap. Next up: new storefronts for the brand's business customers, a mobile app that reuses the same account and finder APIs through a small edge service, the asset library rolling out to more of the brand's systems, and the partner-network tool moving into everyday use with regional managers.

The nice part is that none of it starts from zero. Every one of those builds on what this phase taught us.

To the brand's teams: thank you for letting us ask so many questions before we offered a single answer. To ours: thank you for learning a whole new world, staying up across time zones, and still checking on each other.

If you're staring down a rebuild of your own and want to compare notes, on discovery, on architecture, or on how to actually work with AI in delivery, we'd genuinely love to hear from you.

[Compare notes with our team](https://www.axelerant.com/contact)

## Frequently Asked Questions

### What is a NeoSI?

A NeoSI is a new kind of implementation partner that builds AI into its whole delivery process, runs smaller and more senior teams, and sells outcomes rather than hours. The term comes from Innovation Endeavors' analysis of how AI is breaking the traditional systems integrator model.

### How should an implementation partner use AI in software delivery?

AI should draft plans, generate routine code, run verification at scale and triage alerts, inside clear guardrails. People should review every plan, approve every release, and keep AI away from personal data, credentials and production access.

### Is headless Drupal with Next.js a good fit for a global brand?

Yes, when caching, failure handling and localization are designed in from day one. Drupal 11 handles structured content and editorial workflow, Next.js 16 delivers fast server-rendered pages, and a circuit breaker with layered caching keeps pages serving even when the CMS is slow.

### How do you merge several websites into one without losing SEO?

Give every old URL a fate using one consistent redirect rule, then verify every URL by machine before launch. On this project we checked 33,708 URLs and every address in the old sitemap, and fixed broken links in old content within days of launch.

### How long should discovery take before a replatform?

For a multi-site, multi-language platform, plan for around eight weeks: two on vision and strategy, two on technical requirements, and four on design workshops, functional workshops and journey mapping.

### How do you plan a zero-downtime website cutover?

Run the new site in production before launch, install the routing switch pointed at the old site and confirm nothing changes, test every dependency on the real domain, prove alerting works, then flip the switch.

---

Read on the web: https://www.axelerant.com/blog/headless-drupal-nextjs-ai-native-rebuild
