# Create long form articles with 5000+ words using the AI Outline template

**URL:** <https://forum.seocontentmachine.com/t/create-long-form-articles-with-5000-words-using-the-ai-outline-template/422>\
**Category:** workflow\
**Tags:** article-creator\
**Created:** [July 27, 2024, 8:28pm UTC](https://forum.seocontentmachine.com/t/create-long-form-articles-with-5000-words-using-the-ai-outline-template/422 "2024-07-27T20:28:56Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [July 27, 2024, 8:28pm UTC](https://forum.seocontentmachine.com/t/create-long-form-articles-with-5000-words-using-the-ai-outline-template/422/1 "2024-07-27T20:28:56Z")

</div>

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 process requiring AI generated outlines and special prompts.

SCM ships with a special long form AI template inside the Article Creator to make it easy to generate special long form articles.

## How it works

1. Ask AI to generate an outline of an article
2. Use the same outline to generate prompts to write that section

Create a new Article Creator task

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/c1218c0972274d4a7118329b12c3a047b9c72613.png)

Under Generator

Click Select AI prompt

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/5/55ceb5b37106d132beeb6f86cedc6fc4c8694330.png)

Select a longform, AI outline prompt

Click select to load it

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/90303787852f2b1da95333d09589c92558d0b4a5.png)

Prompt is loaded into your article creator

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/ca1513c264ad5d48dd24c25347ce825bb5e7e583.png)

Set article keyword

Click run

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/be2225988d7c4305cacd6ca917881c5c3d1d8867.png)

## Macro deep dive

There are 3 types of tags use to generate content from an online.

- `<ai_outline_prompts>`
- `<prompt_hx>`
- `<prompt_hx_no_children>`

Prompts used to generate content from an outline must appear inside the `<ai_outline_prompts>` tag.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/4/486478461dfce07bcb3bbbbcd8c9bcc8df4e0e7d.png)

The actual article outline is generated by an AI prompt in the user macro section.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/8/85cd25aba18d333c0c9804ea010f0e6804e4ef63.png)

The AI will generate an outline using only h2/h3 tags.

The outline is parsed and fed to prompts defined inside the `<ai_outline_prompts>` tag.

For example:  
`<prompt_h2>`  
`<prompt_h2_no_children>`

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/8/8d3e21cd974978c3dc420ea9257ee9ce9ce4804c.png)

`<prompt_h2>` = An outline that has H2 and a H3 will use the prompt defined in this tag.

`<prompt_h2_no_children>` = An outline with only a H2 (no H3 under it) will use the prompt in this tag.

We define both tags to cover all possible H2 tags.

## Inside a prompt\_hx

Inside the `<prompt_h2>` there are reference to some special macros.

The `%h2%` refers to the text inside one H2 from the outline.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/4/4fc73a9c32e8f188747db563551806dc8ffd2371.png)

## Prompts allow spintax

Use spintax to randomize prompts.

In this example `{ | }` spintax is used to make the appearance of bullet lists random.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/4/45c1898bc351f5c8cd2ac32908f7a898032ac9b6.png)

## Output

Explanation of task steps.

1 - Generate an article outline using AI

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/b0438b4dbc3ac3dc662915a07dcc59cc61c1a06d.png)

A count of section tells us how long the article might be.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/1/1ef11b4c854d3c800c5afd8265899b4f30100a4f.png)

Each section = H2 or H3 sub heading

There will 32 prompts sent to the AI…

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/e/ecb9cb0cc539b8d823b6b403dbb84c33933ade42.png)

On completion check the word count.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/c4e2981946e3006b20193570c41ddb48feafd062.png)

Click preview button to see the article

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/a/a7f5957fea96c105c188fcaf911e196b382606da.png)
