Back to Blog

Programmatic SEO Template: How to Build One, With a Real Example (2026)

1 day ago • 15 mins read
Afonso Carvalho
Afonso Carvalho
Programmatic SEO Template: How to Build One, With a Real Example (2026)

A programmatic SEO template is one page design that you reuse for hundreds of keywords. You write the structure once. Then you change one or two words, such as a name or a city, and each change gives you a new page. In this video, Afonso Carvalho of Carvalho Marketing Tips builds one with Claude and Arvow in about ten minutes. This article explains the parts of a template, shows each screen from his build, and lists what to fix before you publish.

The video was recorded in May 2026. The traffic numbers below are from that month. We checked the example site again on 30 November 2026.

Programmatic SEO template at a glance

PartWhat it isExample from the video
Keyword patternA search phrase with a slot that changes[celebrity name] net worth [year]
VariablesThe slots you fill for each pagecelebrity_name, year
Generation promptThe rules the AI follows on every pageKeyword rules, tone, length, "never fabricate data"
OutlineThe fixed headings and where images goTitle, intro, "What is X's net worth?", FAQ
Product linkOne section that connects the topic to what you sellA section on personal finance apps

What a programmatic SEO template is

Programmatic SEO means publishing many pages from one pattern. Zapier does it with pages for each pair of apps. Tripadvisor does it with restaurant pages for each city. The template is the part that stays the same on every page: the headings, the order, the rules for the text. The variables are the parts that change.

A good template has two jobs. It must match what the searcher wants on every page. It must also leave room for each page to say something the others do not. If you want the basics first, read our guide to programmatic SEO. This article stays on the template.

The example: one pattern, 451,000 visits a month

Afonso found the idea during an audit for an online store. The site he shows is celebheights.com. It has one page per celebrity, and each page answers one question: how tall is this person?

Ahrefs overview for celebheights.com in May 2026 showing Domain Rating 52, 51.5K backlinks, 4.5K referring domains, 38.7K organic keywords, 451K organic traffic and a traffic value of 13.5K dollars
Ahrefs for the site in May 2026: 451K organic visits a month, with an estimated traffic value of $13.5K.

The numbers on screen are Ahrefs estimates from May 2026:

  • 451K organic visits a month, up 29.3K in six months
  • 38.7K ranking keywords, down 12.2K in the same period
  • Domain Rating 52, with 51.5K backlinks from 4.5K referring domains
  • Traffic value of $13.5K a month

The title of the video says "$13K/mo". That figure is the traffic value. It is what the visits would cost as Google ads. It is not the site's income. The site earns from display ads, and the video does not show its revenue.

Ahrefs traffic by location table: United States 275.9K visits and 61.2 percent share, United Kingdom 49.9K, India 25.4K, Canada 21.3K, Australia 10.8K
61.2% of the traffic came from the United States.

Afonso opens one page to show how simple it is. It has a name, a height, one sentence and one photo.

A celebrity height page with the person's name and height as the heading, one sentence of description, an embedded Instagram photo and a sidebar of other celebrity heights
One page from the site: a heading with the height, one sentence and an embedded photo.

What the page has that the video skips

Afonso says the page has almost no text. That is true for the top of the page. Further down, the video scrolls past something more important.

Lower part of the same page with an Average Guess box showing 6ft 1.44in from 9 votes, marked 1.1 inches shorter than the listed height, and a visitor comment dated 6 May 2026
Below the photo: visitors vote on the height and leave comments.

Each page has a voting box and a comment thread. On this page, nine visitors had voted. Their average guess was 1.1 inches below the listed height. The comments on screen were one and two days old at the time of recording. So the page is short, but it is not empty. Visitors add new text to it every week, and the vote is data that no other site has.

The site is also old. Afonso says it looks like a website from 2008. Its footer says it has run since 2004, and each height is the editor's own estimate. When we checked on 30 November 2026, the homepage listed 15,120 celebrity heights. A new site that copies only the short text will not get the same result. This matters for your own template, and we come back to it below.

Step 1: choose a pattern that leads to your product

The pattern should bring in people who could buy from you. Afonso's client sells shoes that make men look taller. People who search for a celebrity's height are thinking about height. That is the link.

He gives more pairs in the video:

You sellPattern
Shoes that add height[celebrity] height
A financial planning app[celebrity] net worth [year]
A weight loss product[celebrity] weight
IQ tests[celebrity] IQ

The same method works for cities, tools, job titles or product models. Check three things before you commit: people search for the pattern, you can get true data for each page, and the topic is close to your product. Our post on buying intent keywords helps with the third check.

Step 2: let Claude write the generation prompt

Afonso does not write the template by hand. He pastes a starter prompt into Claude. The prompt explains that a template has two parts: a generation prompt with variables, and a Markdown outline. Claude then asks one question: which pattern should the template target? He answers "celebrity + net worth".

Claude chat where the starter prompt describes a custom template as a generation prompt with variables in curly braces plus a Markdown outline, and Claude asks what programmatic SEO pattern the template should target, answered with celebrity plus net worth
The starter prompt, Claude's question and the one-line answer.

Claude returns the generation prompt. This is the text the AI writer will follow on every page.

Generation prompt written by Claude: target query celebrity_name net worth year, an article brief with primary and secondary keywords, 1,200 to 1,500 words, factual tone, 8th grade reading level, and a section titled Critical, never fabricate data
The generation prompt: keyword rules, length, tone and reading level.

The brief on screen sets these rules:

  • The main keyword must appear in the H1, the first 100 words and at least one H2.
  • Length is 1,200 to 1,500 words.
  • Tone is factual, with no hype.
  • Reading level is 8th grade, with paragraphs of two or three sentences.

The next block is the most useful one. It is headed "CRITICAL — NEVER FABRICATE DATA".

Part of the generation prompt: do not invent net worth figures, only state numbers reported by credible sources such as Forbes and Bloomberg, use ranges when unsure, never invent quotes, followed by a monetization angle marked soft, never pushy, with one section that introduces the product category
The data rules and the "soft, never pushy" product section.

It tells the writer to use only figures reported by credible sources, to name the source, to give a range when a figure is uncertain, and never to invent quotes or deals. After that comes the "monetization angle". It asks for one section that introduces the product category, and it says "soft, never pushy". Keep both blocks in any template you build. The first protects your facts. The second keeps the page from reading like an ad.

Step 3: put the prompt and outline into a template

Afonso pastes both parts into a custom template in Arvow. Variables use double curly braces. The tool reads the text and reports "2 variable(s) detected": celebrity_name and year.

Arvow Custom Template window with the template name Celebrities Net Worth, a notice that 2 variables were detected, celebrity_name and year, and the generation prompt pasted in with double curly brace variables
The template in Arvow, with both variables detected from the prompt.

The outline goes in a second field. It is written in Markdown. Normal lines are headings that appear on every page. Lines inside {# #} are instructions for the AI and do not appear in the article.

Markdown outline field with the outline switch on: an instruction for a featured image, the title line celebrity_name Net Worth year, an instruction for an 80-word intro that does not state the figure, and the first H2, What is celebrity_name's net worth in year
The outline: fixed headings with variables, and AI instructions between {# and #}.

Read the intro instruction on screen: about 80 words, use the keyword in the first sentence, and "Do NOT state the figure here". The answer comes under the first H2. You can change that. The height site gives the answer at the top.

Step 4: fill in the variables and generate

With the template saved, each new page needs only the variable values. Afonso types a name and a year and clicks Add Article.

Add Custom Article window for the Celebrities Net Worth template with two fields, celebrity_name filled with Michael Jordan and year filled with 2026, plus an Import from File tab
One page = one row of values. The second tab imports many rows from a file.

The same window has an "Import from File" tab. That is how a template becomes programmatic: you upload a list of names and get one article per row. The video shows one article at a time.

Generations tab of the Celebrities Net Worth campaign with one article marked Generating and one finished article titled Elon Musk Net Worth 2026: How Much Is He Really Worth
One article generating and one finished.

He then shows where the article goes. The integrations screen lists WordPress, Shopify, Webflow, Wix, Ghost, Squarespace, Lovable and others. You can see the current list on the Arvow integrations page.

Step 5: read what the template produced

The finished article has a featured image, a table of contents, the fixed headings, an FAQ and the product section.

Preview of the generated article Elon Musk Net Worth 2026 showing the section How Personal Finance Apps Can Help You Track Wealth Like Elon Musk, which explains what net worth tracking apps do
The product section: one H2 that connects the topic to personal finance apps.

It talks about the product category and does not push a brand. In your own template, add your product name and one link here.

Now read the FAQ in the same article.

FAQ section of the generated article. The answer to How much is Elon Musk worth in 2026 says projections range from 250 billion to 350 billion dollars and that the figure is speculative
The FAQ answer gives a "projection" for 2026 and calls it speculative.

The answer says projections for 2026 "range from $250 billion to $350 billion" and that the figure "is speculative". The intro of the article starts with "As we look toward 2026". The article was generated in May 2026, so it treats the current year as the future. It also names no source for the range, although the prompt asked for one. Afonso does not comment on this in the video.

The lesson is simple. A prompt that says "never fabricate data" does not give the writer data. If the true value is not in the input, the model will guess or hedge. This is the main weakness of a template with only a name and a year.

What to fix before you publish at scale

Put the data in the variables

Add variables for the facts: the figure, the source, the date of the source. For the net worth example that could be net_worth, source_name and source_date. Fill them from a spreadsheet you have checked. Then the AI writes around a fact you supplied.

Give each page something unique

Google's spam policy, in place since March 2024, says: "Scaled content abuse is when many pages are generated for the primary purpose of manipulating search rankings and not helping users." It applies "no matter how it's created". A template is not against the rules. Hundreds of pages that say the same thing with a different name can be. The height site has votes and comments on each page. Decide what yours will have: a data table, a calculator, a comparison or your own test results. Our AI programmatic SEO case study shows what happened to one site whose pages only changed a number.

Be careful with real people

The outline in the video asks the AI for a "featured image of {{celebrity_name}}". An AI picture of a real person on a page that sells a product is a legal risk in many places, because people have rights over the commercial use of their name and image. Use licensed photos, or use images that do not show the person. Wrong numbers about a living person are also a risk, which is one more reason to supply the data yourself.

Start small

Publish 10 to 20 pages first. Check each one for facts, dates and repeated text. Watch Search Console for a few weeks to see which pages are indexed. Then raise the volume. Link the pages to each other and to your product pages; our internal linking strategy guide covers how.

A programmatic SEO template you can copy

This skeleton follows the structure in the video, with the fixes above added. Replace the words in double braces with your own variables.

  1. Title: {{entity}} {{attribute}} ({{year}})
  2. Answer box: one sentence with {{value}} and {{source_name}}, {{source_date}}
  3. H2: What is {{entity}}'s {{attribute}}? Two short paragraphs that explain the value and how it was measured
  4. H2: How {{entity}} compares. A table with three to five similar entities from your data
  5. H2: Unique block. Your own data, tool or reader input for this page
  6. H2: Product section. One paragraph that connects {{attribute}} to {{product_category}}, with one link
  7. FAQ: three questions that people ask about {{entity}} {{attribute}}

Rules to put in the generation prompt: use only the values supplied in the variables, name the source, write at a simple reading level, and keep the product section to one paragraph.

Frequently asked questions

What is a programmatic SEO template?

It is a reusable page structure with variables. You fill the variables for each keyword and get one page per row of data.

How many variables should a template have?

The video uses two, a name and a year. That is enough for the title. Add more for the facts on the page, so the writer does not have to guess them.

Is programmatic SEO against Google's rules?

No. Google's policy targets pages made at scale mainly to manipulate rankings without helping users. Pages that give each searcher a useful, specific answer are fine.

Can I build a programmatic SEO template with Claude or ChatGPT?

Yes. In the video, Claude writes the generation prompt and the outline from one starter prompt. You still need a tool to store the template, fill the variables and publish.

How many pages should I publish at first?

Start with 10 to 20. Check them, wait for indexing data, then scale up.

Want to build your own template? Custom templates with variables are part of Arvow. See the plans, or read the programmatic SEO statistics for 2026 first.

Generate, publish, syndicate and update articles automatically

The AI SEO Writer that Auto-Publishes to your Blog

  • Cancel anytime
  • Articles in 30 secs
  • Plagiarism Free