Choose where you’d like to start

Send Push Notifications using Deluge

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>, <reportLinkName>, <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.
<reportLinkName>TEXTspecifies the link name of the Report in which the target record exists.
Note:
  • Link names of applications, reports, and fields in your account can be viewed on the reference page (listed in brackets).
  • You can also fetch link names from the URL while accessing the report. The URL is in the format: app.zohocreator.com/appbuilder/<application_owner>/<application_name>/#Report:<report_link_name>
<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 specified users when 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);

Response Format

  • The following is a sample success response:

      {
      "status":"success"
      }

Get Started Now

Execute