# Hyperflow Prompt Optimization

Use the Optimization command on the Prompt Details window for a Hyperflow to increase the efficiency of your hyperflow prompts. Prompt Optimization improves consistency, accuracy, and repeatability across runs, contexts, and users, without requiring any prompt-writing expertise.

**To use the Hyperflow Prompt Optimizer:**

1. Navigate to **AI Automation > Hyperflows** in the Aisera Admin UI.
2. Make sure the correct application/bot is shown in the upper-left corner of the Hyperflows window.

<figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2Fcontent.gitbook.com%2Fcontent%2FiZkLJr3EjXkd2tHYiQJP%2Fblobs%2F6J7wL7GSo8qsayyfGhmN%2FUnknown%2520image&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=1302b39b&#x26;sv=2" alt=""><figcaption></figcaption></figure>

3. Choose one of the Hyperflows to open the **Hyperflow Details** window for the chosen hyperflow.
4. Open a Hyperflow and click **the pencil icon** in the upper-right side of the window to make any changes.

<figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2Fcontent.gitbook.com%2Fcontent%2FiZkLJr3EjXkd2tHYiQJP%2Fblobs%2FxzKGCQ8Ejo82wBS2YzDT%2FUnknown%2520image&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=a3086979&#x26;sv=2" alt=""><figcaption></figcaption></figure>

5. Choose the **pencil icon** next to the word **Prompt** at the top left of the window. This action brings you to the **Hyperflow Prompt Editor**.
6. Click the pull-down menu next to the three horizontal dots above the right side of the prompt editor canvas and choose **Optimize**.

<figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2Fcontent.gitbook.com%2Fcontent%2FiZkLJr3EjXkd2tHYiQJP%2Fblobs%2F3ZcjTAx6X7ZyltnpdMED%2FUnknown%2520image&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=cbc297d5&#x26;sv=2" alt=""><figcaption></figcaption></figure>

7. This action causes the Aisera Gen AI Platform to optimize the content in your prompt editor canvas.
8. Once optimized, you can:

* Review the improved prompt
* Edit it further if needed
* Revert to the previously saved version at any time

To revert the optimization, open the three-dot menu again and select **Revert**.

### &#x20; <a href="#enhancements" id="enhancements"></a>
