---
title: "Notifications Management - Devad CHAT Guides — Devad"
url: "https://devad.io/help/en/docs/settings-area/notifications-management--170"
---

[Skip to content](https://devad.io/help/en/docs/settings-area/notifications-management--170#main-content)  

[Devad](https://devad.io)  

[Home](https://devad.io) [POST](https://devad.io/post) [CHAT](https://devad.io/chat) [SITE](https://devad.io/site) [AI](https://devad.io/ai-agent) [Pricing](https://devad.io/pricing)

 

[](https://devad.io/help#hc-search)  [Agent view](https://devad.io/help/en/docs/settings-area/notifications-management--170.md)

 

[Docs](https://devad.io/help?type=doc&lang=en&view=list) [Guides](https://devad.io/help?type=guide&lang=en&view=list) [Blog](https://devad.io/help?type=article&lang=en&view=list) [Changelog](https://devad.io/help?type=changelog&lang=en&view=list)

 

Browse this Help Center

[Settings Area](https://devad.io/help?category=5&lang=en)  

- [Conversation Management System](https://devad.io/help/en/docs/settings-area/conversation-management-system--163)
 
- [Conversation Management System](https://devad.io/help/en/guides/settings-area/conversation-management-system--164)
 
- [Articles & Tickets Sections](https://devad.io/help/en/docs/settings-area/articles-tickets-sections--45)
 
- [Automations & Cron Job](https://devad.io/help/en/docs/settings-area/automations-cron-job--48)
 
- [Department Settings & Configuration](https://devad.io/help/en/guides/settings-area/department-settings-configuration--168)
 
- [Department Settings & Configuration](https://devad.io/help/en/docs/settings-area/department-settings-configuration--167)
 
- [Notifications Management](https://devad.io/help/en/guides/settings-area/notifications-management--171)
 
- [Notifications Management](https://devad.io/help/en/docs/settings-area/notifications-management--170)
 
- [Conversation Management System](https://devad.io/help/en/docs/settings-area/conversation-management-system--57)
 
- [Department Settings & Configuration](https://devad.io/help/en/docs/settings-area/department-settings-configuration--63)
 
- [Departments, Queue and routing](https://devad.io/help/en/docs/settings-area/departments-queue-and-routing--66)
 
- [Email, Newsletter, SMS, & Notifications](https://devad.io/help/en/docs/settings-area/email-notifications-sms--69)
 
- [Miscellaneous: More Features & settings](https://devad.io/help/en/guides/settings-area/more-features-settings--185)
 
- [Miscellaneous: More Features & settings](https://devad.io/help/en/docs/settings-area/more-features-settings--184)
 
- [Language and Translations](https://devad.io/help/en/docs/settings-area/language-and-translations--201)
 
- [Language and Translations](https://devad.io/help/en/guides/settings-area/language-and-translations--202)
 
- [Articles & Tickets Sections](https://devad.io/help/en/guides/settings-area/articles-tickets-sections--204)
 
- [Articles & Tickets Sections](https://devad.io/help/en/docs/settings-area/articles-tickets-sections--203)
 
- [Departments, Queue and routing](https://devad.io/help/en/docs/settings-area/departments-queue-and-routing--205)
 
- [Departments, Queue and routing](https://devad.io/help/en/guides/settings-area/departments-queue-and-routing--206)
 
- [Language and Translations](https://devad.io/help/en/docs/settings-area/language-and-translations--102)
 
- [Automations & Cron Job](https://devad.io/help/en/docs/settings-area/automations-cron-job--209)
 
- [Automations & Cron Job](https://devad.io/help/en/guides/settings-area/automations-cron-job--210)
 
- [Mobile App & Other Settings](https://devad.io/help/en/docs/settings-area/mobile-app-other-settings--108)
 
- [Miscellaneous: More Features & settings](https://devad.io/help/en/docs/settings-area/more-features-settings--111)
 
- [Mobile App & Other Settings](https://devad.io/help/en/guides/settings-area/mobile-app-other-settings--213)
 
- [Mobile App & Other Settings](https://devad.io/help/en/docs/settings-area/mobile-app-other-settings--212)
 
- [Notifications Management](https://devad.io/help/en/docs/settings-area/notifications-management--117)

 

[Help Center](https://devad.io/help)  › [Docs](https://devad.io/help?type=doc&lang=en)  › [Settings Area](https://devad.io/help?category=5&lang=en)  › Notifications Management

Docs

# Notifications Management

Notifications Management Overview Understanding exactly when and how notifications are triggered is essential for maintaining smooth communication. If you suspect notifications aren’t functioning correctly, please…

 

Abdullah HA

 

## Notifications Management Overview

 

Understanding exactly when and how notifications are triggered is essential for maintaining smooth communication. If you suspect notifications aren’t functioning correctly, please review the logic below, as testing methods often differ from real-world usage scenarios.

 

## Email Notifications System

 

Both support agents and end-users can receive email alerts whenever a new message lands in their inbox. This ensures that no critical communication is missed, even when users are offline.

 

### For Admins and Agents

 

When a user sends their very first message, the system intelligently routes the notification based on assignment rules:

 

- **Department Assignment:** If the chat is routed to a specific department, only agents within that department receive the email.
 
- **Specific Agent Assignment:** If assigned to a particular individual, only that agent is notified.
 
- **Unassigned:** If neither applies, an email is broadcast to all agents who are currently **offline**.

 

For subsequent messages in an ongoing conversation, emails are sent exclusively to the last agent handling the chat, provided they are currently offline. If the **Human Takeover** feature is active within the Artificial Intelligence app, the system suppresses notifications if the chatbot successfully answers the query.

 

### For Users

 

Users receive email notifications only when an agent replies and the user is currently **offline**. To prevent inbox spam, only one email alert is sent per offline session; subsequent messages will not trigger additional alerts until the user returns.

 

### Customizing Email Templates

 

You can fully customize the content of these emails via **Settings > Notifications**. The editor supports both plain text and HTML. New lines are automatically converted to HTML line breaks. Use the following dynamic merge fields to personalize your messages:

 

| Merge Field | Description |
| --- | --- |
| {recipient_name} | The name of the user or agent receiving the email. |
| {sender_name} | The name of the person who sent the triggering message. |
| {sender_profile_image} | The profile picture of the sender. |
| {message} | The actual text content of the message. |
| {attachments} | Links to any files attached to the message. |
| {conversation_link} | A direct link to the conversation in the admin panel (Agents only). |
| {conversation_id} | The unique ID of the conversation. |

 

## Optimization via Cron Jobs

 

For a more robust notification system, you can offload email sending to a cron job. This is highly recommended as it improves performance and ensures emails include the entire conversation context.

 

**Setup Required**! To enable this, activate **Email notifications via cron job** in settings and configure your server cron command.

 

Use the following command format, replacing `[SCRIPT-URL]` with your actual Installation URL found in *Settings > Miscellaneous*:

 

~~~
*/59 * * * * wget [SCRIPT-URL]/include/api.php?email-notifications=true
~~~

 

## Troubleshooting Email Delivery

 

Hosting & Spam Issues

If your web host’s email server is unreliable or your emails land in spam folders, we strongly recommend using an external SMTP server. Activate the **SMTP** option in *Settings > Notifications* and enter your provider’s details.

 

SMTP Connection Failures

If test emails fail even with SMTP enabled, your server configuration might be incorrect. Use the browser console to view specific error messages. For a reliable free alternative, consider integrating **SendGrid**.

 

Google Gmail Setup

To use Gmail SMTP, generate an **App Password** from your Google Account security settings. Use `smtp.gmail.com` as the host with port `465` or `587`. Ensure “Less secure app access” or equivalent API controls are properly configured in Google Workspace.

 

## Real-Time Push Notifications

 

Unlike standard desktop notifications, Push notifications are delivered from a server even when the user’s browser is closed or the device is offline. We support both **Pusher** (Android/Desktop) and **OneSignal** (iOS/Android/Desktop). Note that iOS devices strictly require OneSignal.

 

## Setup: Pusher (Beams)

 

1

## Create Instance

 

Log in to your Pusher dashboard, select the **Beams** product, and create a new instance.

 

2

## Get Keys

 

Navigate to the “Keys” menu in Pusher and copy your **Instance ID** and **Primary Key**.

 

3

## Configure Settings

 

Go to *Settings > Notifications > Push notifications* in your chat admin, select Pusher, and paste your keys.

 

### Setup: OneSignal (iOS Support)

 

For Apple devices (iOS 16.4+), you must use OneSignal. The setup involves creating a **Web Configuration** in OneSignal, entering your site’s root domain, and uploading the required SDK files (`sw.js` etc.) to your server’s root directory.

 

- **Cloud Version:** OneSignal is pre-configured by default.
 
- **WordPress:** You must access the chat admin area directly (outside the WP dashboard) to finalize push settings.
 
- **Service Workers:** You need to define the path to your service worker files in the settings if they are not in the root.

 

**Troubleshooting**! If notifications fail on Windows 10+, check your “Focus Assist” or “Notifications” settings. On Chrome, ensure “Continue running background apps” is enabled.

 

## Additional Notification Types

 

### Desktop Notifications

 

These are standard browser notifications. They work only over **HTTPS** and are not supported on iOS. If Push notifications are active, they will override and replace standard desktop notifications.

 

### SMS Notifications (Twilio)

 

You can send SMS alerts to both agents and users via Twilio integration. This also enables a true two-way texting experience where SMS replies appear in the chat.

 

- **Setup:** Enter your Twilio SID, Auth Token, and Phone Number in *Settings > Notifications > Text message notifications*.
 
- **Sender ID:** You can replace the phone number with a custom Sender Name (Alphanumeric Sender ID) where supported.
 
- **Logic:** SMS notifications are sent only if the recipient is offline. They are disabled if the AI chatbot successfully handles the query.

 

### Sound Alerts

 

Audio alerts play when a new message arrives. Due to browser security policies, sound will only play if the user has interacted with the document (clicked somewhere on the page). If set to loop, the sound plays until the chat window is opened or maximized.

 

Use this page

 [Ask ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdevad.io%2Fhelp%2Fen%2Fdocs%2Fsettings-area%2Fnotifications-management--170%20and%20answer%20questions%20about%20the%20content.) [Ask Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdevad.io%2Fhelp%2Fen%2Fdocs%2Fsettings-area%2Fnotifications-management--170%20and%20answer%20questions%20about%20the%20content.)

 

On this page

[Notifications Management Overview](https://devad.io/help/en/docs/settings-area/notifications-management--170#notifications-management-overview) [Email Notifications System](https://devad.io/help/en/docs/settings-area/notifications-management--170#email-notifications-setup) [For Admins and Agents](https://devad.io/help/en/docs/settings-area/notifications-management--170#admin-and-agent-notifications) [For Users](https://devad.io/help/en/docs/settings-area/notifications-management--170#user-notifications) [Customizing Email Templates](https://devad.io/help/en/docs/settings-area/notifications-management--170#customizing-email-templates) [Optimization via Cron Jobs](https://devad.io/help/en/docs/settings-area/notifications-management--170#cron-job-optimization) [Troubleshooting Email Delivery](https://devad.io/help/en/docs/settings-area/notifications-management--170#troubleshooting-email-issues) [Real-Time Push Notifications](https://devad.io/help/en/docs/settings-area/notifications-management--170#push-notifications) [Setup: Pusher (Beams)](https://devad.io/help/en/docs/settings-area/notifications-management--170#setup-pusher-notifications) [Create Instance](https://devad.io/help/en/docs/settings-area/notifications-management--170#gspb-heading-id-gsbp-61aa1cf) [Get Keys](https://devad.io/help/en/docs/settings-area/notifications-management--170#gspb-heading-id-gsbp-c759ae4) [Configure Settings](https://devad.io/help/en/docs/settings-area/notifications-management--170#gspb-heading-id-gsbp-d33ab6a) [Setup: OneSignal (iOS Support)](https://devad.io/help/en/docs/settings-area/notifications-management--170#setup-onesignal) [Additional Notification Types](https://devad.io/help/en/docs/settings-area/notifications-management--170#additional-notification-types) [Desktop Notifications](https://devad.io/help/en/docs/settings-area/notifications-management--170#desktop-notifications) [SMS Notifications (Twilio)](https://devad.io/help/en/docs/settings-area/notifications-management--170#sms-notifications-via-twilio) [Sound Alerts](https://devad.io/help/en/docs/settings-area/notifications-management--170#sound-notifications)

 

## Keep exploring

[### Conversation Management System

Here is the full, SEO-optimized, and expanded article based on your documentation. I have utilized the specific GreenShift and WordPress blocks you provided to ensure…](https://devad.io/help/en/guides/settings-area/conversation-management-system--164) [### Conversation Management System

Here is the full, SEO-optimized, and expanded article based on your documentation. I have utilized the specific GreenShift and WordPress blocks you provided to ensure…](https://devad.io/help/en/docs/settings-area/conversation-management-system--163) [### Articles & Tickets Sections

Knowledge Base &amp; Ticket Management Expand your customer support capabilities beyond real-time chat. This guide covers two essential modules:&nbsp;Articles&nbsp;and&nbsp;Tickets. Learn how to build a searchable Knowl...](https://devad.io/help/en/docs/settings-area/articles-tickets-sections--45) [### Department Settings & Configuration

Department Settings & Configuration Organizing your support team into departments ensures that user inquiries are handled by the right experts. You can configure department behavior…](https://devad.io/help/en/guides/settings-area/department-settings-configuration--168)

 

[Devad](https://devad.io) 

Apps Suite Every Business Needs to Start and Grow

## Apps

 [POST](https://devad.io/post) [CHAT](https://devad.io/chat) [SITE](https://devad.io/site) [AI](https://devad.io/ai-agent)

## Company

 [Plans & pricing](https://devad.io/pricing) [Contact](https://devad.io/contact-us)

## Resources

 [Help Center](https://devad.io/help)

## Legal

 [Privacy](https://devad.io/privacy-policy) [Terms](https://devad.io/terms-of-service) [Cookies](https://devad.io/cookie-policy)
