Message authoring
The admin message editor and automated messages (welcome, follow-up, offline, ticket welcome, Telegram welcome, chatbot prompts, and more) support lightweight markup — not raw HTML.
Use this syntax in any Message textarea in Aysali Bot settings and in agent replies where formatting is enabled.
Pair formatted text with merge fields to personalize automated messages.
Link labels
Plain URLs become clickable links automatically.
To set a custom link label, append #sb-LABEL to the URL. Use -- instead of spaces in the label.
| You type | Renders as |
|---|---|
https://aysali.com#sb-Visit-our-site | Link text: Visit our site |
https://docs.aysali.com/v1/en/bot/introduction#sb-Aysali-Bot-docs | Link text: Aysali Bot docs |
The #sb-… fragment is stripped from the href; only the part before #sb- is used as the destination URL.
Text styles
Surround text with the markers below. Nesting works for simple cases.
| Style | Syntax | Example |
|---|---|---|
| Bold | *text* | *Hello* → Hello |
| Italic | __text__ | __Note__ → Note |
~text~ | ~removed~ | |
| Inline code | `text` | `order-123` |
| Code block | ```text``` | Multi-line monospace block |
Line breaks
Insert a new line with:
- Shift + Enter, or
- Ctrl + Enter
(Depends on your browser and editor context.)
Where formatting applies
| Area | Formatting |
|---|---|
| Chat widget messages | Yes — links, bold, italic, etc. |
| Automated messages (Welcome, Offline, …) | Yes |
| Tickets welcome message | Yes — Settings → Tickets → Welcome message |
| Telegram welcome | Yes (Telegram HTML conversion) |
| Messaging channels (WhatsApp, Messenger, …) | Partial — converted per channel; see Rich messages |
| Email templates | Often HTML allowed in dedicated email fields — check each setting’s description |
Examples
Welcome-style message:
*Welcome*, \{user_name\}!
Visit our help center: https://docs.aysali.com#sb-Documentation
Need a human? Just ask.
Agent reply with emphasis:
Your ticket `TK-4821` is ~pending~ *resolved*.