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
| Part | What it is | Example from the video |
|---|---|---|
| Keyword pattern | A search phrase with a slot that changes | [celebrity name] net worth [year] |
| Variables | The slots you fill for each page | celebrity_name, year |
| Generation prompt | The rules the AI follows on every page | Keyword rules, tone, length, "never fabricate data" |
| Outline | The fixed headings and where images go | Title, intro, "What is X's net worth?", FAQ |
| Product link | One section that connects the topic to what you sell | A 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?

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.

Afonso opens one page to show how simple it is. It has a name, a height, one sentence and one 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.

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 sell | Pattern |
|---|---|
| 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 returns the generation prompt. This is the text the AI writer will follow on every page.

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".

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.

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.

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.

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.

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.

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.

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.
- Title: {{entity}} {{attribute}} ({{year}})
- Answer box: one sentence with {{value}} and {{source_name}}, {{source_date}}
- H2: What is {{entity}}'s {{attribute}}? Two short paragraphs that explain the value and how it was measured
- H2: How {{entity}} compares. A table with three to five similar entities from your data
- H2: Unique block. Your own data, tool or reader input for this page
- H2: Product section. One paragraph that connects {{attribute}} to {{product_category}}, with one link
- 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