> For the complete documentation index, see [llms.txt](https://supportiko.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://supportiko.gitbook.io/documentation/getting-started/create-agents/add-edit-agent.md).

# Add/Edit Agent

This page allows you to customize each agent’s profile with additional properties.

<figure><img src="/files/B2fZgaNxPAvhlUMdLVlM" alt=""><figcaption></figcaption></figure>

* **Enable Agent**: Toggle to turn the agent on or off. A disabled agent will not be visible to visitors.
* **Online Status**: Set whether the agent is currently available. If offline, the agent’s WhatsApp icon will turn gray, and visitors cannot initiate a chat.
* **Offline Text**: Enter a custom message (e.g., "I’m currently offline. Will be back at 3 pm.") to display when the agent is unavailable.
* **Avatar**: Upload a profile picture to personalize the agent’s appearance.
* **WhatsApp Channel**: Select "Phone" as the communication channel for WhatsApp integration.
* **WhatsApp Phone Number**: Enter the agent’s WhatsApp number (e.g., +381641785699) to enable direct messaging.
* **Title**: Add a title (e.g., Mark Bennett) to identify the agent in the chat widget.
* **Delete Agent**: Use the **Delete Agent** button to remove the agent from your list if needed.

After making changes, ensure you save your settings to apply them.

## Predefined Text Templates

Supportiko offers predefined text templates to streamline the start of WhatsApp conversations. These templates act as pre-filled conversation starters and support shortcodes to dynamically include details like the current page title or URL.

* **How It Works**: When a visitor clicks on an agent, the predefined text will automatically populate the initial message in WhatsApp. Shortcodes like \[page\_title] or \[page\_url] are replaced with the actual values from the page the visitor is on.
* **Example**: Set the template as:textCollapseWrapCopy`Hi, I have a question about [page_title]. Can you provide more details about its features?`If a visitor is on a page titled "Headphones Sale," the message sent to WhatsApp will appear as:textCollapseWrapCopy`Hi, I have a question about Headphones Sale. Can you provide more details about its features?`


---

# 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://supportiko.gitbook.io/documentation/getting-started/create-agents/add-edit-agent.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.
