News for hackers. Stuff that matters.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by windexh8er on Wednesday September 09, 2020 @10:53PM (#24428475)
I look at IFTTT and Zapier and wonder what people use them for. Don't get me wrong, I think both have a target consumer but they feel expensive for what they appear to offer. I feel like if you're investing in automation the agnostic nature of owning and operating the code is more valuable than building into a walled system that relies on Internet connectivity and a SaaS service. OpenFaaS plus some Python could get you a long way on a $5/month VPS. Or... Pennies in any of the FaaS offerings wired up with cloud native tools. Or Node-RED?

Are there any good OSS orchestration / automation frameworks out there that scratch this itch?

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by muratsu on Wednesday September 09, 2020 @11:13PM (#24428568)
We used Zapier at a previous startup to automate some gsuite tasks. It's really nice because it comes with monitoring and non-developers can edit/re-configure them if needed. It's expensive but headache free.

You can find huginn[1] & n8n[2] interesting.

https://github.com/huginn/huginn https://n8n.io/

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Wednesday September 09, 2020 @10:58PM (#24428504)
My main use for IFTTT is that they accept incoming webhooks to send push notifications to my phone via their app.

Incredibly useful and convenient.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by CarelessExpert on Wednesday September 09, 2020 @11:42PM (#24428684)
If you can run a docker container and you have an Android phone, Gotify is a nice alternative for this use case.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @01:01AM (#24429042)
I have an iPhone so it's not really an option. That's a really interesting project that I'd definitely look into if I still had an Android phone.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by windexh8er on Wednesday September 09, 2020 @11:13PM (#24428571)
If that's your only use case - wouldn't Pushbullet (or something similar) be a more complete solution? Genuinely curious.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @12:59AM (#24429034)
Short answer is that yes, there are other options. But they're always vastly more complex and would require actual work to use. Why bother with all that when I can just issue a GET or POST to a simple HTTP endpoint (no auth/headers required) and have IFTTT fill in the title, message, link (if the notification is tapped), and image with the values in the uploaded JSON object? The IFTTT API is truly a joy to use as a someone trying to quickly hack something together using cURL.

Re Pushbullet specifically: it no longer supports iOS but either way, it's also much more complex [0] to use.

[0]: https://docs.pushbullet.com/#create-push

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by dahx4Eev on Wednesday September 09, 2020 @11:03PM (#24428526)
Any examples of how you use the webhooks?
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @01:11AM (#24429084)
It's literally just:

1. Here's a URL (custom to each user/applet). You can either GET or POST to it. No auth/headers required (the URL includes a token).

2. You can optionally submit a JSON in the format of {"value1": ..., "value2": ..., "value3": ...} and set up the applet to set those values as the notification title, body, link, or image.

Rather unfortunately, you can only specify three values in the JSON so you can only ever have three of those four properties filled in for a single notification. But you can set up multiple receiving URLs/applets such that you can send the first notification containing three of those properties and then a second notification containing the last property.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by m-p-3 on Friday September 11, 2020 @08:29AM (#24441965)
I hope we'll see more than three values as a possibility with IFTTT Pro.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by Namidairo on Wednesday September 09, 2020 @11:10PM (#24428558)
You basically just POST/GET url they provide with the json payload then hook it up to a notification service (whether that be their Android app, Telegram, etc.)

Came in handy when I needed to poll something on my end, which would trigger the webhook when it met certain conditions.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by m-p-3 on Friday September 11, 2020 @08:28AM (#24441957)
I currently use IFTTT mostly for the webhooks feature. I have some bots on Discord posting stuff from multiple sources, and not having to host my own server to do so is nice.

I also use it to send important notifications from some of my servers to my phone. I just have to `curl` the info to IFTTT server with my API key and send the info I need.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by MrStonedOne on Thursday September 10, 2020 @12:13AM (#24428822)
> and wonder what people use them for

We use it to relay tweets to a discord channel webhook. The requirement was that it had to relay the tweet contents with no flair or "tweeted by" or link to the tweet, all discord bot solutions fail this requirement and i didn't want to learn how2tweeterapi.