> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/aisera-platform/ai-automation-optimize-flow/hyperflow-studio/hyperflow-prompt-optimization/hyperflow-prompt-template-integration.md).

# Hyperflow Prompt Template Integration

## **Hyperflow Prompt Template Integration**

A Prompt Template is generated when a Hyperflow is created. This template combines the Hyperflow Description and Use Cases provided upon creation of the Hyperflow with the general best practices for creating a Hyperflow. After creation, you are free to edit, remove, replace, or refine the prompt to shape the Agent’s behavior.

### **To view and customize the Prompt Template :**

1. In the Aisera Admin UI navigate to **AI Automation > Hyperflows.**
2. Click on **+ New Hyperflow** in the top right corner.
3. Input the **Name**, **Description**, and optionally **Use Cases**, and click **OK** to create a new Hyperflow.

<div align="left"><figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2F2983236984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiZkLJr3EjXkd2tHYiQJP%252Fuploads%252Ftd47WeHFNEnSKvLNrijn%252Frn_2.png%3Falt%3Dmedia%26token%3D72e2c015-27dd-4fff-8ce7-b4ba3bf2f4a6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f9628706&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure></div>

1. A template prompt is visible within the prompt window.

<div align="left"><figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2F2983236984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiZkLJr3EjXkd2tHYiQJP%252Fuploads%252FIGsCC79SKASvnDjZeHRp%252Frn_3.png%3Falt%3Dmedia%26token%3D8d078982-8310-4108-bab7-344a3b82d450&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f63e3cc1&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure></div>

**Separate Editing for Hyperflow Details and Prompt**

In previous releases, editing Hyperflow details and a Hyperflow prompt has been part of a single process. Now the editing has been separated into two distinct actions.

You may now edit the Hyperflow **name**, **description**, and **use cases** directly from the details window by clicking the **Pencil** icon next to **Details**.

<figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2F2983236984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiZkLJr3EjXkd2tHYiQJP%252Fuploads%252FjYJN9xdSlaqN5GuLg0kW%252Frn_4.png%3Falt%3Dmedia%26token%3D56e56e84-a070-4f64-8eb0-61926ad029dc&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=bc8b2034&#x26;sv=2" alt=""><figcaption></figcaption></figure>

To edit the prompt, from the Hyperflow Details screen click **New Draft**.

<div align="left"><figure><img src="https://docs.aisera.com/~gitbook/image?url=https%3A%2F%2F2983236984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FiZkLJr3EjXkd2tHYiQJP%252Fuploads%252FScnXEsBUFMlXwceOpcjc%252Frn_5.png%3Falt%3Dmedia%26token%3D617c8b99-ade9-4403-99cc-a965f782a96d&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=91de2631&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure></div>

Click the **Pencil** icon next to the word, **Prompt** to start editing the draft. A new editing window has been added to the application to provide a more convenient experience while editing Hyperflow prompts. When you complete editing the prompt, press the\*\* Publish\*\* button to save the changes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aisera.com/aisera-platform/ai-automation-optimize-flow/hyperflow-studio/hyperflow-prompt-optimization/hyperflow-prompt-template-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
