Feedback
External APIs

RingCentral: Offline Notifier

Notify offline chat users via SMS
Back to BLOCKS

About RingCentral: Offline Notifier

Offline notifier block notifies the offline users using RingCentral SMS API. If a message is published and a user is not listening to the chat channel, an SMS notification is sent to that user.

Try it Now
Categories:
External APIs External APIs
Chat & Social
Chat & Social
Triggers & Notifications
Triggers & Notifications
Last Updated:
20160801 at 17:17:24
Author:
Devendra

Walkthrough

This block sends SMS notifications to offline users.

A message is sent targeting a user's uuid. The block then checks PubNub presence to see if that user is online. If the user is online, the message is sent over PubNub so that the target user can receive it.

If the user is not online, the event handler uses the phone number of the offline user and sends the message over SMS using RingCentral's API. Visit https://developer.ringcentral.com/ to get your credentials for RingCentral API.

Input

Publish a message over the input channel. Input Channel: notifier-channel
{
    "text": "Hi How are you", 
    "to_uuid": "user_uuid" 
}

Try PubNub Today

Connect up to 100 devices for Free