Send push notifications

Send Push Notifications using Deluge

Table of Contents

Note: This task is applicable only to Zoho Creator.

Overview

This task is used to send notifications to your users. For example, send notifications whenever a new record is added.

Notifications can be viewed in the "Notifications" tab inside the Zoho Creator app.

Syntax

<variable> = zoho.pushNotification(<emailID>, <title>, <message>, <reportName>, <recordID>);

where,

ParameterData typeDescription
<variable>KEY-VALUEspecifies the variable to hold the returned response.

<emailID>

TEXT or LIST

specifies the email address of the Zoho Creator account to which the notifications will be sent.

<title>

TEXT

specifies the title of the notification.

<message>TEXTspecifies the contents of the notification.
<reportName>TEXTspecifies the name of the Report in which the target record exists.
<recordID>NUMBERspecifies the ID of the record which will be displayed when the notification is opened.

Example

The following snippet sends a notification to the the specified users when a new feedback is received.

responseMessage = zoho.pushNotification({"tony@zylker.com", "john@zylker.com"}, "New feedback received", "Click to view the record", "All_Feedback_Report", input.ID);

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com