In order to start working with the agent, we need to write instructions for it, for this we need to go to the widget settings

Widget settings structure
The widget settings are divided into several sections for convenience:
1. Basic Settings
- Knowledge base management - button to open the knowledge base management interface (adding, editing, importing documents)
- AI Model Selection - Select a model to generate responses. Various models are available with different prices and quality of answers
- Add web search support - enable so that the agent can search for relevant information on the Internet and follow links from instructions
2. Agent behavior
- Character of Communication - Describe the agent's tone and communication style. Example: "Friendly and professional. Address yourself as 'You'. Use emoji sparingly."
- General Rules - specify the rules for all dialogs. Example: “Don’t discuss competitors. Don’t promise discounts without approval. Always check the client’s budget.”
- Response Examples - Add examples of how the agent should respond. Example: "✅ Good: 'Now I'll clarify for you!' ❌ Bad: 'I don't know'"
3. Instructions
In the general instructions you mustwrite general information for the agent, for example, what your company does, what city you are in and what products it offers

Additional instructions must indicate specific actions for the agent. Each instruction consists of a title and instruction text. These instructions can be selected in the trigger settings for reuse in different scenarios

- Example of instructions for sales: Title: “Working with objections”, Text: “If the client says it’s expensive, find out his budget and offer alternative options”
- Example of instructions for support: Title: “Technical problems”, Text: “In case of technical problems, collect information: what exactly does not work, when the problem started, what actions the client took”
4. AI Consultant for Telegram
- Enable AI consultant - activates the /ask command in Telegram to advise your team on the knowledge base
- Инструкция для консультанта — специальная инструкция, которая определяет как консультант должен помогать команде. Если не указана, работает без дополнительной инструкции
- Telegram chat IDs - list of chat IDs where the consultant will work. The /ask command works ONLY in chats from this list
5. Information for specialist
- Select the fields from deals, contacts and companies that will be shown to the specialist when submitting a question
- Example: select “Phone”, “Email”, “Transaction Budget”, “Source” - this information will help the specialist quickly understand the context
- If you do not select fields, the specialist will see only standard information
If necessary, you can add many instructions for the agent
After finishing writing the instructions, you need save the settings

Next you need to go to funnel settings and add a deal source


Next you need to create a bot:
- at the required stage, click +Add trigger
- +Salesbot
- In the trigger settings, click +Create a new bot



In the bot editing window, select Widgets

Select AI agent

Next click on the button edit

Configuring trigger fields
The following fields are available in the trigger settings:
- Task is the main field. Describe the task the agent must perform during a conversation with a customer. Example: "Ask the client about their budget, timing, and product requirements. After collecting information, go to the 'qualified' exit"
- Agent should not respond - If you enable this option, the agent will only select an output (trigger) without sending responses to the client. Useful for automatic routing without communication
Section "Role and rules" (optional settings):
- Role - Define the agent's role in this specific scenario. Example: "You are a sales manager who helps a client choose the appropriate tariff"
- Scenario Rules - Specify specific rules for this scenario. Example: "Do not offer discounts of more than 10% without approval. Be sure to specify the delivery city"
- Templates - you can use prepared templates and change them to suit your needs
Section "Additional settings":
- Instructions - select one or more additional instructions from those created earlier in the widget settings. This allows you to reuse common instructions in different triggers
- Telegram chat with a specialist - specify a link to the chat where the agent will send questions if he doesn’t know the answer. To get the chat ID use @nova_aiagent_bot
Section "Pass fields to agent":
- Enable field transfer - activate so that the agent can see information from the deal, contact and company fields
- If do not select specific fields, the agent will receive all non-empty custom fields + basic standard fields (title, budget, ID)
- If you select specific fieldsthe agent will receive only the specified fields. Example: select "Contact Phone", "City", "Transaction Source"
Section “If there is no response from the client”:
- Waiting time (minutes)—specify how many minutes to wait for the client to respond. Example: 60
- Reminder instructions - what the agent should do if the client does not respond. Example: "Write: 'Good afternoon! I remind you that I am waiting for your answer on the issue of choosing a tariff. I'm ready to help!'"
Section "Fill in the fields":
- Enable Filling—the agent will automatically fill in the deal fields based on the client’s responses
- By default, all available fields are filled in
- You can select specific fields to fill out. Example: select "Budget", "Deadline", "Requirements"
- Do not change if filled in - enable for each field so as not to overwrite already filled values
Output triggers:
- First, create outputs (the results of the agent). Example: “Qualified”, “Not targeted”, “Need manager’s advice”
- Then write a trigger condition for each output. Example for the “Qualified” exit: “The client named a budget above 50,000 rubles, indicated the deadlines and is ready for the meeting”

- create action outputs
- clickSave

- again click on the edit button
- enter exit triggers from the dialogue with the agent
- clickSave

Fill in fields function
Based on client responses, the widget can automatically fill in transaction fields.
- when enabled, all fields will be filled in by default

- or select fields to fill in

- ifthe field is filled inand its value does not need to be changed, then enable the checkbox “Do not change if filled in”

If an agent does not know the answer to a question, he can redirect the question to a chat with a specialist. In order to get a chat number you need to: Either add a bot to your chat with colleagues or technical support. In order to find out the chat number you need to: enter /start and send
- in the Telegram search we look for @nova_aiagent_bot
- click Run
- get number
- insert this number in the field
- Marker for exclusion from the knowledge base: if you add
[NO_KB]to a specialist’s answer, this answer will not be saved to the knowledge base. The token is not sent to the client.

- Select actions that should be performed by the bot after the agent finishes communicating with the client
- save Salesbot
- save settings trigger



















