Pushpad is a service that allows you to send push notifications to your web site or web app. You can create a bot in your AppSheet app that will send a Pushpad notification.
Note: If instead you'd like to send push notifications to your users on mobile devices, see Send notifications from a bot.
To set up an integration with Pushpad:
-
Create a Pushpad account.
You will receive a Pushpadauth_token
andproject_id
. -
Call a webhook from a bot in your AppSheet app. Configure the webhook action as follows:
-
Set the URL to:
https://pushpad.xyz/projects/<project_id>/notifications
Where<project_id>
is theproject_id
issued to you by Pushpad. -
In the Body field, enter:
{ "notification": { "body": "Hello World", "title": "My Title" } }
Customize the body to include your own text. You can include variables and expressions that use data from the updated record. -
In the Headers field, enter:
Authorization: "Token token=""<auth_token>"""
Where<auth_token>
specifies theauth_token
value obtained from Pushpad.
-
-
Run the app deployment check and mark the app as Deployable, otherwise the bot won't actually execute the actions.
-
Make an update to the app so that the bot fires. Verify from the audit history log that the bot succeeded. A short while later, Pushpad will send a notification.