--- title: "Instructions App" slug: "cai-instructions" updated: 2026-10-05T08:17:20Z published: 2026-10-05T08:17:20Z canonical: "docs.natterbox.com/cai-instructions" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.natterbox.com/llms.txt > Use this file to discover all available pages before exploring further. # Instructions App The Instruction Assistant is a non-customer interacting tool that can be used for on the fly AI requests. The most common use of the Instructions Assistant is to query the conversation and then use the outcome of the query as part of the call, such as presenting an agent with a summary of the call or a list of action items before answer. #### Configuring a Instruction Assistant After creating a **Natterbox AI** component from the Routing Policies, simply select the **Instructions** App. ![Natterbox AI interface displaying various app options with highlighted instructions section.](https://cdn.document360.io/c81c490c-daaa-4ebd-a3c3-1a2dee8b7617/Images/Documentation/Screenshot 2025-04-10 at 16.53.32.png?sv=2026-02-06&spr=https&st=2026-10-12T06%3A07%3A40Z&se=2026-10-12T07%3A07%3A40Z&sr=c&sp=r&sig=bMi%2BQysgNwkzy2E%2B1LRTNRkNGtgNe8Qm0ufW%2B8A%2FK6s%3D) ![](https://cdn.document360.io/c81c490c-daaa-4ebd-a3c3-1a2dee8b7617/Images/Documentation/image-1790957102392.png?sv=2026-02-06&spr=https&st=2026-10-12T06%3A07%3A40Z&se=2026-10-12T07%3A07%3A40Z&sr=c&sp=r&sig=bMi%2BQysgNwkzy2E%2B1LRTNRkNGtgNe8Qm0ufW%2B8A%2FK6s%3D) 1. Describe your instructions 1. You can define your own from scratch but we recommend using our templated options and tweaking as you see fit 2. Click the **Builder** Icon 3. Select the template you’d like to use and click ‘**Apply Changes**’ to insert the prompt ![A wrench icon indicating a tool option in a software interface.](https://cdn.document360.io/c81c490c-daaa-4ebd-a3c3-1a2dee8b7617/Images/Documentation/Screenshot 2025-04-15 at 19.06.43.png?sv=2026-02-06&spr=https&st=2026-10-12T06%3A07%3A40Z&se=2026-10-12T07%3A07%3A40Z&sr=c&sp=r&sig=bMi%2BQysgNwkzy2E%2B1LRTNRkNGtgNe8Qm0ufW%2B8A%2FK6s%3D) ![Template builder interface for customizing instructions and summarizing conversations effectively.](https://cdn.document360.io/c81c490c-daaa-4ebd-a3c3-1a2dee8b7617/Images/Documentation/Screenshot 2025-04-15 at 18.54.38.png?sv=2026-02-06&spr=https&st=2026-10-12T06%3A07%3A40Z&se=2026-10-12T07%3A07%3A40Z&sr=c&sp=r&sig=bMi%2BQysgNwkzy2E%2B1LRTNRkNGtgNe8Qm0ufW%2B8A%2FK6s%3D) If you wish to query the conversation of the call you will need to always include the line : ‘**JSON: $(AIConversationJsonData)**’. *Note the Instruction macro will contain* ***exactly*** *what the AI returned, so if you need to the data to be in a particular format then you need to use some prompt engineering in the Prompt field to tell the AI exactly how it should respond back.* 1. Define your custom macro 1. For example CustomSummary can later be called upon as $(**Custom_**CustomerSummary) 2. Utilise your custom macro 1. You can manually type the macro by using ‘$(**Custom_**MACRO_NAME)’ or you can select it from the macro selector If you wish to brief your agents with a summary of the call, you can make use of **CTI Whisper Text**, create a Manage Properties before you connect a call to an Agent ([as seen here](/v1/docs/manage-properties-app)) select the ‘CTI Whisper Text’ property and simply plug in your custom macro to do so. ### **Notes on System Annotations** The conversation data may include control prefixes like `[STATE:` or `[INSTRUCTION:` used by the assistant to manage internal logic. These can be safely ignored during summarization. To improve results, you can instruct the model to exclude these elements. For example: > Summarize the following conversation in no more than 4 sentences. Focus on the customer's key questions or requests. The data is in JSON format, representing a structured dialogue between a customer ("user") and an assistant. Ignore any content in the "text" fields that begins with [STATE:] or [INSTRUCTION:] — these are system directives and not part of the natural conversation. > > #CONVERSATION# $(AIConversationJsonData)