Messages
Notify the user when their message is sent outside of the scheduled office hours or all agents are offline.
Configure this under Settings → Messages → Offline message in your Aysali Bot admin panel.
Message capabilities
You can compose the offline text using the same features as other bot messages:
- Text formatting — bold, links, lists, and more
- Merge fields — dynamic values in the message body
Office hours
The offline message depends on your Scheduled office hours schedule under Settings → General. That timetable defines when the workspace is considered “in office” for this feature and for other settings that rely on office hours.
When the message is sent
The offline message is triggered when Active is on and either:
- The current time is outside scheduled office hours, or
- All agents are offline (see agent check below)
For the default Chat message type, the bot waits about 5 seconds after the visitor sends a message before sending the offline reply.
Important behavior
Settings
| Setting | Description |
|---|---|
| Active | Turn the offline message on or off |
| Hide timetable | Send plain text instead of the built-in timetable rich message ([timetable]) |
| Disable agents check | Do not treat “all agents offline” as a trigger; only outside office hours |
| Message type | Chat message (in transcript), Info message (banner in widget), or Header (replace chat header title/text) |
| Title | Optional heading (bold in chat message mode) |
| Message | Main offline text shown to the visitor |
Related chat settings
| Setting (elsewhere) | Effect |
|---|---|
| Hide chat outside of office hours (Chat) | Hides the widget outside the schedule — separate from the offline message |
| Hide chat if no agents online (Chat) | Hides the widget when no agents are online |
Example workflow
- •
Configure office hours
Set Scheduled office hours under Settings → General.
- •
Enable offline message
Turn on Active, choose Message type, and write Title / Message.
- •
Tune agent detection
Enable Disable agents check if you only want notices outside the timetable, not when agents are away during office hours.
- •
Save and test
Test outside office hours or with all agents offline; confirm the message appears at most once per hour.