> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stardex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI variables

> Personalize selected parts of campaign emails with AI variables and instructions tailored to each recipient.

Stardex can help you personalize emails with AI. We don’t recommend having AI write your full email, but rather add 1-2 variables at specific points in the template for AI to fill in. E.g. you can highlight something unique about their work experience, or if you both share a common interest.

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=75224bdf9e0da28d0e5c736f061847dd" alt="AI variables — screenshot 1" width="2312" height="1164" data-path="images/help-center/ai-variables/image.png" />

To get started, click Insert AI Variables, and then enter the variable name and a description on what you want the AI to respond with. The more specific you are the better.

* For power users, you can type in `{{ai: variable_name}}` to quickly enter them. To edit the description, you will need to click through the button.

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-1.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=ade582003afe93cc86445b31902d5b80" alt="AI variables — screenshot 2" width="1608" height="960" data-path="images/help-center/ai-variables/image-1.png" />

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-2.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=cb01292d2723d1853a00f081438abe80" alt="AI variables — screenshot 3" width="992" height="724" data-path="images/help-center/ai-variables/image-2.png" />

To edit an existing variable, hover over the variables button and click the edit icon on the variable name

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-3.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=1e25815cbd153ff813c024ee46c6c27e" alt="AI variables — screenshot 4" width="830" height="362" data-path="images/help-center/ai-variables/image-3.png" />

This will work on bulk enrollment as well!

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-4.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=d12e087ed0c8b98d235904e964aa8a20" alt="AI variables — screenshot 5" width="2496" height="972" data-path="images/help-center/ai-variables/image-4.png" />

<Note>
  If you would like more personalization, we recommend making sure you add info about you. This way, the AI can find commonalities which improves the response!
</Note>

Click Edit existing info to add more personalization info. This will then improve the ai responses!

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-5.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=783e01e777e150a3c26c8cd1377f414e" alt="AI variables — screenshot 6" width="730" height="916" data-path="images/help-center/ai-variables/image-5.png" />

<img src="https://mintcdn.com/stardex/3qUa0wFvl8G0ygpK/images/help-center/ai-variables/image-6.png?fit=max&auto=format&n=3qUa0wFvl8G0ygpK&q=85&s=0a68488ea96cbda5e0f7e759e9037b2f" alt="AI variables — screenshot 7" width="1632" height="1670" data-path="images/help-center/ai-variables/image-6.png" />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.