---
title: "Prompts"
description: "Learn how to create, manage, and collaborate on prompts within PromptEasy."
---

Prompts are the heart of PromptEasy. They are the reusable templates that your team uses to interact with Large Language Models (LLMs). This guide will walk you through creating, managing, and collaborating on prompts.

---

## Creating and Managing Prompts

### Parameters
Parameters are dynamic variables you can embed in your prompt content using the `[[parameter_name]]` syntax. When a user interacts with a prompt, they can provide values for these parameters, which are then substituted into the prompt before it's used.

- **Automatic Detection**: PromptEasy automatically detects parameters as you type them in the prompt content field.
- **Default Values**: You can provide optional default values for each parameter. If a user doesn't specify a value, the default will be used.

> **NOTE**
> <div className="flex flex-col">
>     <h4 className="font-semibold text-foreground mb-2">AI Consultant (Premium & Enterprise)</h4>
>     <p>If your plan includes the AI feature, you can use the **AI Consultant** to analyze your prompt. It can automatically identify potential parameters and suggest relevant keywords, streamlining the creation process.</p>
>   </div>

### Categories & Keywords
- **Categories**: Assign one or more categories to a prompt to keep your library organized. You can create new categories on the fly.
- **Keywords**: Add comma-separated keywords to improve searchability. Unlike the core prompt content, keywords are not encrypted and are used to power the search functionality.

---

## Suggestions
Prompt suggestions are the core of collaboration in PromptEasy.

### The Standard Plan
On the **Standard** plan, all users are effectively editors. When a prompt is edited, the changes are applied directly and immediately, becoming the new official version.

### The Premium & Enterprise Plans
On **Premium** and **Enterprise** plans, a more robust workflow is available:
- **Creating Suggestions**: Users (excluding 'Viewers') can propose changes to a prompt by creating a "suggestion." This creates a new version of the prompt with the proposed edits without altering the original.
- **Approval Workflow**: Suggestions must be approved by a user with the appropriate permissions (like a 'Moderator' or 'Admin') before they become the new official version of the prompt.
- **Auto-Approve Setting**: Company admins can enable an "Auto-Approve" setting. If enabled, all suggestions are automatically approved, mimicking the direct-edit behavior of the Standard plan.

---

## Prompt History
For **Premium** and **Enterprise** plans, every time a suggestion is approved and a prompt is updated, the previous version is saved to its history. This allows you to view a complete, timestamped log of all changes made to a prompt over its lifetime.

---

## Administration

### Detaching Prompts
Admins have the ability to "detach" a prompt from its vault. This is a crucial tool for maintaining control over valuable intellectual property.

- **Who can detach?**
  - **Company Admins/Superadmins** can detach prompts from any company-level vault.
  - **Team Admins** can detach prompts from vaults belonging to their specific team.

### Managing Detached Prompts
Once a prompt is detached, it is moved to a special administrative area.

- **Access**: Only Company Admins and Superadmins can see and manage detached prompts.
- **Actions**: From here, an Admin can re-attach the prompt to a different vault or a Superadmin can choose to permanently delete the prompt and its entire history. This ensures that valuable prompts are never lost and can be re-purposed or securely archived as needed.

### Migrating Prompts
If your plan has been downgraded to **Standard** plan, you might have prompts that are inaccessible (like prompts in team vaults). To regain access to these prompts, **Superadmin** must run **Migration** from Plan page. This will detach all prompts that were not in default vault so that these can be assigned manually to default vault and can be accessed again.