# AI outline macro - info

**URL:** <https://forum.seocontentmachine.com/t/ai-outline-macro-info/611>\
**Category:** questions\
**Created:** [February 7, 2025, 2:41pm UTC](https://forum.seocontentmachine.com/t/ai-outline-macro-info/611 "2025-02-07T14:41:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [February 7, 2025, 6:55pm UTC](https://forum.seocontentmachine.com/t/ai-outline-macro-info/611/2 "2025-02-07T18:55:47Z")

</div>

You are referring to AI outline specific macros.

The usage is described here:

> [@Create long form articles with 5000+ words using the AI Outline template](https://forum.seocontentmachine.com/t/create-long-form-articles-with-5000-words-using-the-ai-outline-template/422):
>
> Most AI models will only create responses to articles of around 400 words. AI models are generally not trained to create very lengthy responses. If you copy and paste the same prompt multiple times to increase the word count, you will find the AI repeating itself. You can craft a special prompts with article subsections, intro body etc, however this doesn’t scale with different keywords. Getting an AI model to write a coherent long form article with 5000 or more words requires a different pr…

The explanation of each macro is detailed here as well:

> [@Article creator AI outline macros explained](https://forum.seocontentmachine.com/t/article-creator-ai-outline-macros-explained/613):
>
> What are AI outline prompts? When you load any longform AI template in the Article creator it uses a special outline prompt. This prompt starts with the \<ai\_outline\_prompts\> tag. Each tag refers to a part of the HTML outline tree and is what is used to create prompts sent to the AI model. For example: \<ai\_outline\_prompts\> \<prompt\_h2\> \<h2\>%h2%\</h2\> [write a short introductory paragraph about %h2% in language %language%. Use html \<p\>\</p\> tags. Don't use html attributes. Start w…

All other macros like `%keyword%``%language%` are global tags that can be used anywhere.

`%previous_output%` is a special tag that just prints out the last thing the AI model returned to SCM.

Let me know if anything needs further clarification.

Personally I don’t like the h2\_no\_children naming convention, it is a bit confusing. I will think about another way to structure it…

Maybe?..

```auto
<ai_outline_prompts>
  
  <prompt_h2>
    <h2>%h2%</h2>
    [write a short introductory paragraph about %h2% in language %language%. 
    Use html <p></p> tags. Don't use html attributes. Start with a paragraph. 
    The topic of the article is %keyword%.]
  </prompt_h2>

  <prompt_h3>
      <h3>%h3%</h3>
      [write an answer about %h2%, %h3% in language %language%. 
      Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
      {Insert a html <ul><li> bullet list or a <ol><li> numbered list||||}. 
      The topic of the article is %keyword%.]
  </prompt_h3>

 <prompt_h2_no_h3>
    <h2>%h2%</h2>
    [write an answer about %h2% in language %language%. 
    Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
    {Insert a html <ul><li> bullet list or a <ol><li> numbered list||||}. 
    The topic of the article is %keyword%.]
  </prompt_h2_no_h3>
    
</ai_outline_prompts>

```

---

_[View the full topic](https://forum.seocontentmachine.com/t/ai-outline-macro-info/611)._
