Skip to main content
All CollectionsShared Team Prompt Library
How to Use Variables with Prompts in TeamAI
How to Use Variables with Prompts in TeamAI

Process of using variables with prompts in TeamAI for any purpose, be it content creation, project planning, or customer service responses.

Abdul Samad avatar
Written by Abdul Samad
Updated over a week ago

TeamAI's prompts and variables feature allows you to customize your shared prompts for various tasks and objectives, making them more tailored to your specific needs. By replacing variables with relevant information, you can create personalized outputs that perfectly fit your intended context. This guide will walk you through the process of using variables with prompts in TeamAI for any purpose, be it content creation, project planning, or customer service responses.

Accessing the Prompt Library

To get started, navigate to the Prompt Library in TeamAI. This is your gateway to a variety of prompts designed to facilitate different tasks and objectives. Take some time to explore the available prompts and select one that aligns with what you're looking to achieve.

Recognizing and Engaging with Variables

Within each prompt, you'll find variables marked by double curly brackets, such as {{variable_name}}. These variables are placeholders that you will customize to make the prompt more specific to your needs.

To begin the customization process, click on the "Run" button next to the chosen prompt. This will initiate the prompt customization interface, where you can replace the variables with your specific information.

Customizing the Prompt

Now that you've initiated the prompt customization process, it's time to personalize the prompt by replacing the variables with information specific to your task at hand.

For example, if you are going to interview someone for a job position, you might replace a {{job_position}} variable with "Marketing Specialist." Similarly, if you're creating a project plan, you could replace {{project_name}} with the actual name of your project.

Go through each variable in the prompt and provide the relevant details. Make sure to fill in all the required variables to ensure the output is complete and accurate.

Confirming Your Customizations

After entering all the necessary information into the variable fields, click on the "Use this prompt" button. TeamAI will then update the prompt with your specific details, generating a personalized output.

Take a moment to review the updated prompt and ensure that it perfectly fits your intended context. If you need to make any further adjustments, simply go back to the customization interface and refine your variable inputs.

Once you're satisfied with the customized prompt, you can proceed to use the output for your desired purpose, whether it's generating content, planning a project, or crafting customer service responses.

Creating Prompts with Variables

To learn about creating custom prompts with variables, please refer to our comprehensive guide: How to Create Custom Team Prompts with Variables.


โ€‹

Did this answer your question?