How we turned ScrapingBee's Google API into an AI glossary powerhouse.

300+ glossary pages re-written with data-backed SEO briefs, in a few hours instead of months.

AI Agency LabOctober 20268 min read

Grab the full install guide
AI content engine re-writing hundreds of glossary pages for search
pages re-written
300+
per page
Minutes
days to scale
< 30

Part 1

How we turned 300+ poorly written glossary pages into an AI overview machine.

One of the biggest challenges for our client was scaling up SEO with data-backed content insights, so they could capitalise on every missing opportunity across the site.

Most teams waste hundreds of hours researching competitors, finding content gaps, and analysing content structures, and still end up with mediocre content.

We built a better way.

AI Agency Lab built a fully automated content engine that took every single glossary page, matched it against competitors, ranked it by performance, and fed it into an SEO framework to re-write every page in minutes.

This saved our client a huge amount of time on research and content creation, and gave them a fully optimised content pipeline in a few hours.

Part 2

The no-code blueprint that accelerated SEO content production in minutes.

SERP research
4 modules
  1. TriggerGlossary URLs pulled
  2. ScrapeMain keyword found
  3. Search APITop SERP results
  4. Headers4–5 H2s per page
From a list of glossary URLs to keywords, top competitors and data-backed headers.
Briefs & content
4 modules
  1. Deep searchCompetitor analysis
  2. SEO briefGuidelines & checklists
  3. Re-writeDraft into Google Docs
  4. PipelineReady for HITL review
From competitor research to SEO briefs and 80% ready re-writes in Google Docs.

The step by step approach

Reverse engineered SERP data

This simple but powerful automation extracts hundreds of short tail keywords across every glossary page, hunts down the top competitors in Google SERPs, and builds data-backed briefs and checklists, then re-writes the pages within a few minutes.

  1. The trigger

    The automation starts with a trigger from a Google Sheet, which pulls through the URLs to feed into the downstream workflow.

  2. The scrape

    As soon as the automation is triggered, we extract the content from every page, highlight the main keyword, and feed this data into GPT to output the exact term for every page.

  3. Search API

    We used ScrapingBee to take the keyword from every glossary page and extract the top positions as SERP data to feed into our SEO briefs.

  4. ChatGPT

    Based on the data from the top articles, we fed competitor content into ChatGPT with a comprehensive brief on H2 header writing, to spin up 4–5 headers for every page.

Building out SEO briefs & glossary content

This workflow takes you from manually turning data insights into SEO briefs, through to drafting next level re-writes for your copywriter to deploy.

  1. Perplexity

    This part of the automation uses the SERP data and hunts down specific glossary pages with Perplexity’s deep search engine, analysing market share across 2–3 competitors, Wikipedia results, and other data sets.

  2. ChatGPT

    ChatGPT is incredibly good at logic tasks, so we used it to build an SEO brief from custom guidelines, SEO checklists and a range of data sets, ready to hand over to Claude. This covered word count, H2 optimisation, contextual paragraphs, tone guidelines, competitor examples, and best practice for glossary pages.

  3. Claude

    We used the SEO brief from GPT and custom prompts for Claude to re-write each glossary article into a Google Doc. This went through rigorous testing and review, so every page was 80% ready for a copywriter to humanise before upload.

  4. Google Sheets

    Once the automation has finished for every page, all of the articles feed into the content pipeline for review. This keeps a human in the loop (HITL), so every page is fact checked, QA’d for originality, and signed off by a member of the team.

Part 3

The exact tech stack we used to scale content production in under 30 days.

Tech stack used for the SEEK prospecting engine
ToolPurposeBase cost
MakeThe core engine for running the automations.—
ChatGPTBuilds content briefs, drafts articles, and analyses data.—
ScrapingBeeScrapes SERPs to feed into GPT and Claude prompts.—
Google SheetsWhere all pages are stored and Google Docs are added.—
ClaudeRe-writes content to be reviewed by human editors.—

Part 4

Technical setup

Grab the full install guide with step by step instructions.

  1. 01Google Sheets

    Set up a webhook and create an Apps Script that sits inside the Google Sheet and triggers when you type something into a column.

  2. 02ScrapingBee

    Locate the Google Search API and set it up to find keywords in the top results.

  3. 03Split bundles

    Break down the data into single bundles, so it can be processed.

  4. 04Array aggregator

    Set up an array aggregator to feed URLs one by one into the LLMs.

  5. 05HTML to text

    Set up HTML to text converters to feed raw text into prompts and save on context window.

  6. 06Error handlers

    Set up error handlers to make sure random PDFs or page types don’t break the flow.

The AI Agency Lab methodology

The B2B SEO growth engine.

The same framework behind the glossary engine, applied to your site.

Stage 1 of 4

01 SEO discovery

Find what’s holding you back.

This is where we dive deep into the strategy, performance, and pinpoint exactly what’s holding you back from scaling up organic search. From technical SEO through to GEO content, we highlight the quick wins that prioritise ROI and build out a fully fledged roadmap to kick start your growth.

What you get

  • Technical & GEO audit
  • ROI-first quick wins
  • Full growth roadmap
Usually worth £250

Want to build your own AI growth system with guaranteed ROI in 90 days?

Book a growth call below. 45 minutes with a senior growth specialist, usually worth £250.

  • A mapped-out ROI for your business
  • An audit of your current growth stack
  • A 90-day plan you can keep, even if we never work together

You'll speak with Warren Hill

Founder, 12+ years in SEO & growth