# How to add extra sub keywords to AI prompts

**URL:** <https://forum.seocontentmachine.com/t/how-to-add-extra-sub-keywords-to-ai-prompts/676>\
**Category:** faq\
**Created:** [March 22, 2025, 9:58am UTC](https://forum.seocontentmachine.com/t/how-to-add-extra-sub-keywords-to-ai-prompts/676 "2025-03-22T09:58:21Z")\
**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:** [March 22, 2025, 9:58am UTC](https://forum.seocontentmachine.com/t/how-to-add-extra-sub-keywords-to-ai-prompts/676/1 "2025-03-22T09:58:21Z")

</div>

Inside the article creator, AI articles generator the %keyword% macro is used to generate content from your keyword list.

%keyword% macro

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

Keywords taken from your keyword list

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/6/60f61e6a02bce984fad241760c75cb2755c106c9.png)

In the example above, the task will create 3 articles from your keyword list about:

- what is green tea
- what is coffee
- what is chocolate

What if you would like to add additional sub keywords to pass to your AI prompts?

## How to use Article Variables

Article variables allow you to pass extra information to your AI prompts.

If you know about environmental variables, the syntax is the same!

Example of a 2 sub keywords.

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

After the main keyword there are 2 sub keywords.

They need to always be formatted like this:

`VARIABLE_NAME="content in here"`

The first part is the name of the new article variable  
Then ‘=’ sign  
Then contain the text value of the variable inside " " double quotes.

If done correctly…  
 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/3/3bf1287088a144def8d4de1654ad5416687bdc27.png)

If done wrongly…  
(missing double quotes)

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

(space between = and " sign)

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

Once your article variables are correctly set for each keyword you can use them in AI prompts and throughout the entire task settings.

Example article variables

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

- %SUB\_KEYWORD%
- %SUB\_KEYWORD2%

## How to use article variables inside AI prompts

Just like %keyword%, we just use the %SUB\_KEYWORD% macro where is needed.

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

This will send 3 different prompts to the AI model.

Example in task log.

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

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