Use AI writer to create sub headings, then use those sub headings to write content

  1. The problem
    Not possible to re-use ai generated content in a prompt (except for %title% macro)

We want to use the current article keyword to generate heading or subheading and t then use the headings to create related content.

Introducing AI Writer variables

You can create unlimited variables which can then be used in your article prompt to create more dynamic content.


How to create an AI article with a title and sub headings and have AI write content for each sub heading.

Create variables you need

TITLE1=[write a title about %keyword%]
SUB1=[create a sub heading introduction to %keyword% don’t use " and ! punctuation symbols]
SUB2=[create a sub heading %keyword% don’t use " and ! punctuation symbols]

  • Each line is its own variable
  • Each line starts with the variable name eg TITLE, SUB1 etc
  • After the variable name, use = to mark the end of the variable name
  • Create the prompt by including it inside [ai prompt] brackets

How use AI variables inside the article prompt

Variables can be used by %variable%, ie using the %% symbols.

See the following examples on creating an article

Code is:


[write a paragraph about %sub1%]
[create a html table about %sub1% only return the table code dont explain yourself]

[write a paragraph about %sub2%]
[create a bullet point list about %sub2%]

Missing AI variables?


Each time a variable is correctly detected, you can see its name inside the task log.

Sample output



Without using variables this setup would not be possible.

Will this method creates repeating or duplicate sub headings?

It’s possible.

More likely the more times you repeat the prompt.

However the best solution is to load the ai outline template.

This ensures proper lengthy article without duplicate sub headings.

I’m still slightly confused. If I enter a keyword, loaf ai outline template and leave everything else as it is, does it search the Google and then use the searched result content to create my content?

If it uses the searched content as content, does it use rewrite?

If I do not want searched content, how to go about turning it off?

I’m talking about this when referring to AI outline template

Set this to 0 to turn off all search scraping

If you use AI it doesn’t use any scraped content by default.

However if you use any of the content inserts, these use scraped content.

So the scraped content will be rewritten by ai when I select scm as the writer?

Does it rewrite using scraped content as context or just changing the words of the scraped content?

Scraped content will be re-written if you select the AI Writer dropdown item.

It re-writes each sentence.

So you can think of it as a paraphraser.

Its technically possible to ask the AI to rewrite using ‘spintax’.

However I don’t allow any spintax output from the AI because all {|} spintax characters are forcefully removed so that it doesn’t break spintax used by content inserts etc.

Is possible using ai outline template now.

Use an AI outline to write a long article