Zapier – How to send Push Notifications to your Phone 5 years ago by Owain Cuvelier
With WP Remote recently being added as an app to Zapier, we’re really excited to share some of the awesome Zaps you can create.
One of the most powerful Apps (aside from WP Remote of course) currently available on Zapier, is called Pushover. This simple but ingenious web API allows you to send custom data as push notifications to your mobile device.
What I’m going to illustrate today is the power of Zapier. And I’ll be showing you how to send push notifications from WP Remote, to your mobile device.
You will need:
- 1 Zapier account.
- 1 WP Remote Account with some WordPress sites added.
- 1 Pushover account.
- Any mobile device.
- Some coffee
In the below image, I’ve selected the ‘New Plugin Update Available’ trigger, and for our action, I want to send a notification to my phone.
We’ll now have to connect our WP Remote account, and push over account.
A modal will appear. You’ll have to name the connection to your account. The second field you’ll be asked for an API Key. I’ll explain how to obtain your key next.
To connect your WP Remote account, you’ll need to generate an API key from your WP Remote account.
Goto WP Remote, login, and go to your account settings page.
To get here, click your username from the top right corner, and select account.
Towards the bottom of the account panel, press the generate API Key, copy the API Key, and paste it into the field in Zapier.
After you’ve added your API key, WP Remote will be connected. Next we’ll connect Pushover.
To get your Pushover key is quite easy. Login to your Pushover account. In the top right of the Pushover home screen, copy ‘Your User Key’ and paste as below.
With both WP Remote and Pushover now connected to Zapier, we can begin creating our Zap. It’s also worth noting that you’ll need to connect your apps only once to Zapier. Using WP Remote or Pushover again from this point, you won’t need to dig out your API keys, as Zapier has saved your connection to that account for future use. ( For you practicing hackers, the API keys used in this guide no longer are used )
We’re not going to be adding any custom filters to this Zap. But it’s worth mentioning that with custom filters we can do some advanced things, like specifying specific sites or plugins. We’ll save that for another tutorial. For now, lets press continue to move to the next part.
Next we’ll setup the push notification message. I’ve kept things pretty simple for my Zap.
Zapier is able to dynamically insert fields. In this case, I’m going to use the ‘site name’ and the ‘plugin name’ so that when my push notification reaches my phone I’ll know exactly what site and plugin it’s referring to.
Zapier allows us to test our Zap with dummy data. You can do so now. If all goes well, it should say ‘Success!’ and your phone will alert you.
Finally we name the Zap. You’ll only see the name in your Zapier dashboard, so you can make it descriptive, allowing you to see what a Zap does at a glance.
After naming it, click ‘Turn Zap on’ and you’re done. Whenever WP Remote detects a new plugin update, you’ll receive a push notification to your phone.