Interactive customized push notifications with customized actions
Disclosed herein are apparatus, system and method embodiments for sending an interactive customized push notifications with customized actions. An embodiment operates by determining occurrence of an event associated with an object, forming a notification and a list of actions defined by a customer using fields from the object associated with the event, and presenting the notification and the actions to a user device that's associated to the object. Further, the action is executed in response to the user's selection.
1 . A method, comprising:
forming, by one or more processors, a notification message of an event corresponding to a record change in an object associate with a tenant of a multi-tenant application for presentation to a user of a client application, wherein:
the client application is an instance of the multi-tenant application;
the object includes a record with first and second fields predefined by the tenant;
the notification message includes the event of the record change in the object; and
the notification message includes a first fixed part having a first fixed message and a first variable part defined by the tenant in the multi-tenant application using the first field of the object to manage interactions between the tenant and the user;
forming, by the one or more processors automatically in response to occurrence of the event, an action message comprising a list of actions responsive to the event associated with the notification message, wherein each of the list of actions includes a second fixed text part having a second fixed message and a second variable text part defined by the tenant using the predefined second field from the object associated with the event, and wherein each of the list of actions are formed automatically in response to the event of the record change in the notification message;
associating, by the one or more processors, an action link with the action message, wherein the action link comprises a set of information corresponding to the second variable text part for the user to execute the list of actions according to the action message in response to the event; and
sending, by the one or more processors, the notification message and the action message as a push notification to the client application on a device of the user for the user to respond to the record change, wherein:
the device displays the notification message and the action message on a lock screen of the device automatically in response to receiving the push notification without displaying the client application; and
in response to a user selection of one of the list of actions, the selected action is executed automatically to respond to the record change using information in the action link that is stored in a database and related to the predefined second field of the object.
2 . The method of claim 1 , wherein the occurrence of the event is determined by a criteria defined by the tenant using a third field from the object associated with the event.
3 . The method of claim 1 , wherein the occurrence of the event is determined by the one or more processors using an application programing interface (API).
4 . The method of claim 1 , further comprising receiving an indication of the user selection of the one of the list of actions via the device.
5 . The method of claim 4 , further comprising when receiving the indication executing the selected action with a phone call or an email using the information in the action link corresponding to the second variable text part.
6 . The method of claim 1 , wherein the device is one of a group of devices defined by the tenant according to a rule associated with the object.
7 . A system, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
form a notification message of an event corresponding to a record change in an object associated with a tenant of a multi-tenant application for presentation to a user of a client application, wherein:
the client application is an instance of the multi-tenant application;
the object includes a record with first and second fields predefined by the tenant;
the notification message includes the event of the record change in the object; and
the notification message includes a first fixed part having a first fixed message and a first variable part defined by the tenant in the multi-tenant application using the first field of the object to manage interactions between the tenant and the user;
form, automatically in response to occurrence of the event, an action message comprising a list of actions responsive to the event associated with the notification message, wherein each of the list of actions includes a second fixed text part having a second fixed message and a second variable text part defined by the tenant using the predefined second field from the object associated with the event, and wherein each of the list of actions are formed automatically in response to the event of the record change in the notification message;
associating, by the at least one processor, an action link with the action message, wherein the action link comprises a set of information corresponding to the second variable text part for the user to execute the list of actions according to the action message in response to the event; and
send the notification message and the action message as a push notification to the client application on a device of the user for the user to respond to the record change, wherein:
the device displays the notification message and the action message on a lock screen of the device automatically in response to receiving the push notification; and
in response to a user selection of one of the list of actions, the selected action is executed automatically to respond to the record change using information in the action link that is stored in a database and related to the predefined second field of the object.
8 . The system of claim 7 , wherein the occurrence of the event is determined when the event satisfies a criteria defined by the tenant using a third field from the object associated with the event.
9 . The system of claim 7 , wherein the occurrence of the event is determined by the at least one processor using an application programing interface (API).
10 . The system of claim 7 , wherein the at least one processor is further configured to receive an indication of the user selection of the one of the list of actions via the device.
11 . The system of claim 10 , wherein the at least one processor is further configured to execute the selected action with a phone call or an email using the information in the action link corresponding to the second variable text part.
12 . The system of claim 7 , wherein the device is one of a group of devices defined by the tenant according to a rule associated with the object.
13 . A non-transitory computer-readable apparatus having instructions stored thereon that, when executed by one or more processors coupled to a memory, cause the one or more processors to perform operations comprising:
forming a notification message of an event corresponding to a record change in an object associated with a tenant of a multi-tenant application for presentation to a user of a client application, wherein:
the client application is an instance of the multi-tenant application;
the object includes a record with first and second fields predefined by the tenant;
the notification message includes the event of the record change in the object; and
the notification message includes a first fixed part having a first fixed message and a first variable part defined by the tenant in the multi-tenant application using the first field of the object to manage interactions between the tenant and the user;
forming, automatically in response to occurrence of the event, an action message comprising a list of actions responsive to the event associated with the notification message, wherein each of the list of actions includes a second fixed text part having a second fixed message and a second variable text part defined by the tenant using the predefined second field from the object associated with the event, and wherein each of the list of actions are formed automatically in response to the event of the record change in the notification message;
associating, by the one or more processors, an action link with the action message, wherein the action link comprises a set of information corresponding to the second variable text part for the user to execute the list of actions according to the action message in response to the event; and
sending the notification message and the action message as a push notification to the client application on a device of the user for the user to respond to the record change, wherein:
the device displays the notification message and the action message on a lock screen of the device automatically in response to receiving the push notification; and
in response to a user selection of one of the list of actions, the selected action is executed automatically to respond to the record change using information in the action link that is stored in a database and related to the predefined second field of the object.
14 . The non-transitory computer-readable apparatus of claim 13 , wherein the occurrence of the event is determined when the event satisfies a criteria defined by the tenant using a third field from the object associated with the event.
15 . The non-transitory computer-readable apparatus of claim 13 , wherein the occurrence of the event is determined by the one or more processors using an application programing interface (API).
16 . The non-transitory computer-readable apparatus of claim 13 , further comprising receiving an indication of the user selection of the one of the list of actions via the device.
17 . The non-transitory computer-readable apparatus of claim 16 , further comprising executing the selected action with a phone call or an email using the information in the action link corresponding to the second variable text part.
18 . The method of claim 1 , wherein the device includes a mobile device, and wherein the notification message and the action message are displayed on the lock screen of the mobile device.
19 . The system of claim 7 , wherein the device includes a mobile device, and wherein the notification message and the action message with the list of actions are displayed on the lock screen of the mobile device.
20 . The non-transitory computer-readable apparatus of claim 13 , wherein the device includes a mobile device, and wherein the notification message and the action message with the list of actions are displayed on the lock screen of the mobile device.