# Opening question

AIsuru's "Opening question" feature lets you configure a hidden instruction or question that is automatically sent to the AI Agent at the start of every new conversation. This powerful feature lets you customize the opening of each interaction, setting a specific context or providing important information right from the start.

#### Configuring the opening question <a href="#configuring-the-opening-question" id="configuring-the-opening-question"></a>

To set the opening question, follow these simple steps:

1. Go to the Agent management panel;
2. Navigate to the  **Share me** section;
3. Click  **Add layout**;
4. In the advanced settings, find "Advanced widget parameters";
5. Locate the "Opening question" field and enter the desired instruction or question;
6. Click "Save changes" in the bottom right.

You'll find the "Opening question" field inside "Advanced widget parameters". Make sure to expand that section if it isn't immediately visible.

#### How it works <a href="#how-it-works" id="how-it-works"></a>

The opening question works quietly but effectively:

* The instruction is sent to the AI Agent at the start of every new conversation;
* The user doesn't see this instruction in the chat;
* The first visible message in the chat will be the AI's response to this instruction.

#### Advanced configuration <a href="#advanced-configuration" id="advanced-configuration"></a>

Make the most of this feature with these advanced options:

1. **Custom instructions**:
   * Use phrases like "Greet the user and tell them \[specific information]";
   * Example: "Greet the user and tell them which restaurants are open today".
2. **Linking to content**:
   * Associate a specific piece of content with a keyword;
   * Example: Set "Let's get started!" as the opening question and link it to a predefined piece of content;
   * When the AI receives "Let's get started!", it will respond with the associated content.
3. **Combining with other features**:
   * Combine the opening question with predefined content or automatic responses for an even richer user experience.

🚀 Tip: Experiment with different instructions to find the best approach for your users!

#### Practical examples <a href="#practical-examples" id="practical-examples"></a>

Here are some ideas for using the opening question effectively:

* "Greet the user and briefly introduce your main features";
* "Let's get started!" (linked to a custom welcome content);
* "Inform the user about the latest system updates and ask if they need help".

#### Important considerations <a href="#important-considerations" id="important-considerations"></a>

For best results:

* Make sure the instruction is clear and leads to an appropriate response as the first visible message;
* Use this feature to set a specific tone or provide crucial information at the start of every conversation;
* Remember that the user won't see the instruction, so the AI's response should be contextually appropriate.

AIsuru's "Opening question" feature offers a powerful and flexible way to personalize your users' experience from the very first moment. By experimenting with different instructions and content, you can create more engaging and informative interactions. Don't hesitate to try different configurations to find what works best for your specific use case!


---

# 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://docs.aisuru.com/en/sharing/advanced/opening-question.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.
