# Sendbird Desk notify agent

**URL:** <https://community.sendbird.com/t/sendbird-desk-notify-agent/2087>\
**Category:** Sendbird Desk\
**Tags:** desk\
**Created:** [April 19, 2021, 6:00pm UTC](https://community.sendbird.com/t/sendbird-desk-notify-agent/2087 "2021-04-19T18:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sameer\_Madan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sameer_madan/32/693_2.png) [@Sameer\_Madan](https://community.sendbird.com/u/Sameer_Madan)\
**Post date:** [April 19, 2021, 6:00pm UTC](https://community.sendbird.com/t/sendbird-desk-notify-agent/2087/1 "2021-04-19T18:00:53Z")

</div>

I want a way to be able to notify an agent (who might be offline) that a customer has messaged them. Is there any way to do this? Our product depends on the customer-concierge relationship so ideally we’d want the same agent (aka the concierge) to respond to a customer. We want to make sure they know that the customer is waiting for a response. Any way to trigger an email/SMS to the agent perhaps?

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [April 19, 2021, 9:42pm UTC](https://community.sendbird.com/t/sendbird-desk-notify-agent/2087/2 "2021-04-19T21:42:35Z")

</div>

@Sameer_Madan,

There is currently no built in/pre-existing functionality that can accomplish this. That being said, we do send webhooks out when the user messages the ticket. You could utilize those webhooks to trigger SMS/Email notifications to the associated user(s) in the channel.

Here is an example of the JSON output from the webhook in a test ticket I just created:

```json
{
  "category": "group_channel:message_send",
  "sender": {
    "nickname": "exampleUser01",
    "user_id": "exampleUser01",
    "profile_url": "",
    "metadata": {}
  },
  "silent": false,
  "custom_type": "",
  "mention_type": "users",
  "mentioned_users": [],
  "app_id": "FAB5130C-30E5-48C5-9AF2-729B6180CA33",
  "sender_ip_addr": "108.227.233.58",
  "members": [
    {
      "is_blocking_sender": false,
      "unread_message_count": 6,
      "total_unread_message_count": 6,
      "is_active": true,
      "is_online": false,
      "is_hidden": 0,
      "channel_mention_count": 0,
      "nickname": "Baymax",
      "is_blocked_by_sender": false,
      "user_id": "sendbird_desk_agent_id_bot_ed4b31ae-c7d8-408a-a7e2-17dc8df02dea",
      "channel_unread_message_count": 1,
      "do_not_disturb": false,
      "state": "joined",
      "push_enabled": true,
      "push_trigger_option": "default",
      "profile_url": "",
      "metadata": {}
    },
    {
      "is_blocking_sender": false,
      "unread_message_count": 35,
      "total_unread_message_count": 35,
      "is_active": true,
      "is_online": true,
      "is_hidden": 0,
      "channel_mention_count": 0,
      "nickname": "exampleUser01",
      "is_blocked_by_sender": false,
      "user_id": "exampleUser01",
      "channel_unread_message_count": 0,
      "do_not_disturb": false,
      "state": "joined",
      "push_enabled": true,
      "push_trigger_option": "default",
      "profile_url": "",
      "metadata": {}
    }
  ],
  "type": "MESG",
  "payload": {
    "custom_type": "",
    "created_at": 1618867840284,
    "translations": {},
    "message": "Hi",
    "data": "",
    "message_id": 6719020274
  },
  "channel": {
    "is_distinct": false,
    "name": "Issue #056",
    "custom_type": "SENDBIRD_DESK_CHANNEL_CUSTOM_TYPE",
    "is_ephemeral": false,
    "channel_url": "sendbird_group_channel_122777072_8039879575de41cbe04b0fff3d62d47f5f3c12f0",
    "is_public": false,
    "is_super": false,
    "data": "",
    "is_discoverable": false
  },
  "sdk": "JavaScript"
}
``
```

---

<div class="post-metadata">

**Author:** ![Chloe\_Schoreisz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/chloe_schoreisz/32/815_2.png) [@Chloe\_Schoreisz](https://community.sendbird.com/u/Chloe_Schoreisz)\
**Post date:** [September 24, 2021, 6:20pm UTC](https://community.sendbird.com/t/sendbird-desk-notify-agent/2087/3 "2021-09-24T18:20:36Z")

</div>

I’d love to see this become reality, so I’m commenting to follow the evolution of this request 🙂
