# In-note command

{% hint style="danger" %}
In-note command needs to be used with deployed gateway.&#x20;
{% endhint %}

In-note command allows the user to execute commands (empowered by GenAI) by sending notes in the conversation or ticket.&#x20;

<figure><img src="https://301624521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKHM836KGDAfAWvw6XL6%2Fuploads%2FVdt1IYV5ocRVv9NCG55N%2FScreenshot%20from%202025-05-12%2018-26-08.png?alt=media&#x26;token=bcb89dcc-cbb9-41dd-97ac-1564904c0369" alt=""><figcaption><p>Example of using in-note command to summarize the information</p></figcaption></figure>

### The support in-note commands

All started with a command sign. Some is followed by \[text] parameter.

<table><thead><tr><th width="159">In-note command</th><th width="333">Description</th><th>Example</th></tr></thead><tbody><tr><td>!!% [text]</td><td>Summarize the conversation. The [text] parameter is optional. If provided [text], it will summarize with provided instruction. Otherwise, it will summarize with a default template with "summary", "unanswered questions", "next steps", etc.</td><td>!!% summarize the following items: (1) main topic; (2) whether it has been resolved; (3) next steps.</td></tr><tr><td>!!@ [text]</td><td>Rephrase, translate then send. It is very useful command to send a follow-up message that is engaging and in the language of user's message. The [text] parameter is mandatory, and is the base text that it will send to the user.</td><td>!!@ to follow up, have you received quote? If so, do you have any questions?</td></tr><tr><td>!!? [text]</td><td>Analyze the conversation then update the attributes of conversation. This is another very powerful tool usually can be triggered by closing conversation or ticket. It will help the team to get insight and better structural reporting. The [text] is mandatory and usually is a list of attributes followed by explanation.</td><td><p>!!? ORDER # : the order number that starts with '#E' followed by 7 - 8 digits; null if not provided;</p><p>​Email: user's email; null if not provided;</p></td></tr><tr><td>!!^</td><td>Close the conversation or ticket. There is no [text] parameter for this command</td><td>!!^</td></tr><tr><td>!!#</td><td>Translate the last user input. There is no [text] parameter for this command</td><td>!!#</td></tr><tr><td>!!! [template_id]</td><td>Execute the template</td><td>!!! 234dfsd-3239d3-342dd</td></tr></tbody></table>

### In-note command template

In-note command can be quite long, especially for summarize and analyze. Therefore, we provide in-note-command template in the console.aissist.io to conveniently manage and maintain.&#x20;

To create/edit/delete in-note-command, login in console.aissist.io, click "deploy" -> "In-note command".&#x20;

<figure><img src="https://301624521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKHM836KGDAfAWvw6XL6%2Fuploads%2FuTGAmvKJowIx9qM79Pam%2FScreenshot%20from%202025-05-12%2018-43-57.png?alt=media&#x26;token=ea9fdef4-1d8e-414d-8ad0-4020bd4ca2e7" alt=""><figcaption></figcaption></figure>

To use template, enter the following in the note

```
!!! template_id
```


---

# Agent Instructions: 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:

```
GET https://doc.aissist.io/tutorial/in-note-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
