loading words...

May 30, 2019 21:30:13

A Couple of Neat Webhook Resources I Found

by @nicksimard PATRON | 462 words | 🐣 | 73💌

Nick Simard

Current day streak: 0🐣
Total posts: 73💌
Total words: 27985 (111 pages 📄)

I recently came across a couple of apps/services that play well together. They both relate to webhooks.

What’s a webhook?

There’s a whole post on the Zapier blog about it.

From the post:

Webhooks are automated messages sent from apps when something happens. They have a message—or payload—and are sent to a unique URL—essentially the app's phone number or address.

The first service is called Cronhooks. It combines cron functionality (time-based job scheduler) with webhooks to let you schedule one-time or recurring webhooks via API.

Why might you wanna use this? Well, there are lots of times you might want to perform certain actions at a specific date/time.

This way you set up when you want the hook to be sent, and to where. You could, of course, trigger a Zap with these webhooks by using a Catch Hook on the Zapier side. And from there you could do all kinds of things.

Zapier offers a Schedule trigger but with the power of cron you can be way more specific. And, if you have no need for a paid Zapier plan you’re able to use cronhooks to trigger a Zap and then perform an action, rather than using filters or delays to make sure things run when they should.

Enter our second app: Pushcut. With this iOS app you can set up a notification on your phone that will be triggered by sending data to its custom webhook URL. You can also schedule notifications or make them location-based from within the app.

Real example from my life. Our son is 3 and still not fully potty trained (he's taking his sweet ol' time). He’s with his nanny all day long and she’s great about making sure he goes on the potty. On the weekends, my wife and I forget to ask him and so he probably pees in his pull-up. Womp womp.

How does relate to webhooks?

Well, I used Cronhooks to set up a complex schedule during which to send a webhook to Pushcut, which then gives me a push notification reminding me to ask him to use the potty.

I made it for Saturday and Sunday, at 9 am, 11 am, 1 pm, 5 pm, and 7 pm.

Why not just use some sort of reminder app with recurring notifications?

1. I’m not 100% sure that there’s an app that makes it less labor-intensive than the system I created.

2. This way I get to play with apps that can be used for all types of purposes outside of this one :)

3. I work at Zapier and I’ll take any chance to mess around with workflows and webhooks.

4. Now I can tell all you fine folks about these apps.

If you find any uses for one or both of the apps I'd be curious to hear about it!

From Nick Simard's collections:

contact: email - twitter / Terms / Privacy