# Webhook: Trigger iOS shortcuts from notifications

**URL:** https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568
**Category:** Share Your Projects
**Created:** [26 April 2019 08:03 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568 "2019-04-26T08:03:40Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![sliemeobn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sliemeobn/32/10547_2.png) [@sliemeobn](https://discourse.nodered.org/u/sliemeobn)
#### Post date: [26 April 2019 08:03 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/1 "2019-04-26T08:03:40Z")

</div>

Last week I released the iOS app [Pushcut](https://www.pushcut.io) which integrates push notifications with customizable actions that can either be iOS shortcuts or URLs. You can trigger the notification through a HTTP web API. I am sure it can be combined with NodeRED in wonderful ways.

 ![iPhone_good_evening](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8e486381455b7970a364bcb08ec3c658d81fa8c0.jpeg)

For pro users, it also supports a powerful JSON API to fully customize your notifications dynamically.

I was mainly driven by my desire to have a good way to communicate with my openHAB home automation in smart way - I wanted the right options at the right time. I use HomeKit and web requests in shortcuts to communicate back from my notifications.

 ![json_example](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/08b5bd5175f6ebf7a4ef433155b649b10a125976.jpeg)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 April 2019 14:07 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/2 "2019-04-26T14:07:27Z")

</div>

Interesting!

Plus points for having a decent privacy page on your website - thanks for that, it always helps people to trust your service and to understand what they are signing up to.

Another plus-point for having a sensible pricing policy. Too many web services jump straight from free to $9.99 a month.

You do need an explanation of what the difference is between free, basic and pro however on the website, not just in the app description on iTunes. The current description of what you get for free could also be slightly clearer since the app itself seems to say that there are in fact limitations when the description on the web page says not. Just a small thing really.

Couple of other thoughts off the top of my head:

- Don't know if it is possible to have formatting on iOS notifications, but that might be nice to have.
- It would also be nice - and draw people into your Pro options - if you were able to allow 1 notification say, that allowed advanced use on the free tier. That way, you would be encouraging people to try it out.
- Be great to see some more examples on your web site, especially some mentioning Node-RED 😉

Anyway, I will certainly try this out. An interesting and more flexible option for iOS users. Also gives an alternative to using Telegram for everything.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 April 2019 14:19 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/3 "2019-04-26T14:19:45Z")

</div>

OK, so I found some more info on your website "hiding" under the support page 🙂

Another minor thing. You put the API secret in the URL. While this may be encrypted in transit because you use HTTPS, it most likely gets added to your server logs. URL's are also subject to other fairly straight-forward attacks so not ideal.

Not the most major of issues given the nature of the tool but a minor niggle non-the-less. It would be nice to have the option to pass the secret in a header instead. This would help at the Node-RED end as well since you would be less likely to accidentally share the secret when publishing a flow.

---

<div class="post-metadata">

### Author: ![sliemeobn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sliemeobn/32/10547_2.png) [@sliemeobn](https://discourse.nodered.org/u/sliemeobn)
#### Post date: [26 April 2019 14:33 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/4 "2019-04-26T14:33:04Z")

</div>

Thank you for the great feedback!

I will definitely try to clear up the pricing on the web page so people know exactly what they are getting.

About formatting: I have it on my list to add markdown support (or maybe full HTML) to notification bodies, it is technically absolutely possible to display that in the expanded notification. In the notification view (without expanding) I do not believe you have options for formatting - not the top priority for me right now though.

Pro options trials: I can't think of a way that does not add a lot of complexity around this. To be honest, I believe the "pros" will know if they can put this to use - and 2 $ to try it out for a month does not seem insurmountable to me.

Examples: I am working on guides right now - maybe I can include a node-red thing as well some day (but I guess the average node-red user is well prepared to get a HTTP POST done)

Thank you so much for this. I hope you can find a good use for Pushcut!

---

<div class="post-metadata">

### Author: ![sliemeobn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sliemeobn/32/10547_2.png) [@sliemeobn](https://discourse.nodered.org/u/sliemeobn)
#### Post date: [26 April 2019 14:37 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/5 "2019-04-26T14:37:04Z")

</div>

Another great bit of feedback!

I absolutely hear you, the URL was just the simplest, most straight forward way to get it it done. And as you say yourself - it is "secure enough" for what it is.

Adding a method with the secret in the header should be super quick to implement, I will definitely add this as an option!

Thanks!

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 April 2019 16:11 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/6 "2019-04-26T16:11:37Z")

</div>

Great stuff, glad I can help.

> [@sliemeobn](#):
>
> Pro options trials: I can't think of a way that does not add a lot of complexity around this. To be honest, I believe the "pros" will know if they can put this to use - and 2 $ to try it out for a month does not seem insurmountable to me.

Yes, undoubtedly you are right on both counts. It was just a passing thought.

> [@sliemeobn](#):
>
> Adding a method with the secret in the header should be super quick to implement, I will definitely add this as an option!

Cool, nice enhancement.

Now we just need to come up with a nice but practical example so we can post a flow or two for the good folk of this forum 😄

---

<div class="post-metadata">

### Author: ![sliemeobn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sliemeobn/32/10547_2.png) [@sliemeobn](https://discourse.nodered.org/u/sliemeobn)
#### Post date: [31 July 2019 18:22 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/7 "2019-07-31T18:22:15Z")

</div>

It took a while, but I got a proper API out for Pushcut.

I was hoping somone could help me create nodes for it?

> [@Pushcut Web API - Node for smart notifications?](https://discourse.nodered.org/t/pushcut-web-api-node-for-smart-notifications/13876):
>
> I just released the brand new Web API for Pushcut, and my intention is to offer everything that is needed to integrate Pushcut with Node-RED in a good way. Here is the [documentation](https://www.pushcut.io/webapi.html). \<- You can even play around with the API through the web UI. [[32] ](https://www.pushcut.io/webapi.html) The primary use is to send smart notifications with dynamic content and automation actions to your iOS devices. However, I think the coolest part is the possibility to register you own (local network) webhooks as "online actions" in Pushcut. Thi…

---

<div class="post-metadata">

### Author: ![noforker](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/noforker/32/22306_2.png) [@noforker](https://discourse.nodered.org/u/noforker)
#### Post date: [19 May 2020 20:52 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/8 "2020-05-19T20:52:36Z")

</div>

Have there been any takers?

---

<div class="post-metadata">

### Author: ![sliemeobn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sliemeobn/32/10547_2.png) [@sliemeobn](https://discourse.nodered.org/u/sliemeobn)
#### Post date: [21 May 2020 17:55 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/9 "2020-05-21T17:55:50Z")

</div>

not to my knowledge, no...

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [22 May 2020 08:20 UTC](https://discourse.nodered.org/t/webhook-trigger-ios-shortcuts-from-notifications/10568/10 "2020-05-22T08:20:35Z")

</div>

To me, the API and webhook provides everything I need and I put my node-making-energy into things I couldn’t easily out together with core nodes. And with dynamic settable headers on background URL actions it truly handles all my needs, thanks again for adding those to the webhook api, Simon 🙂
