12

I've just stared using IFTTT and one of the things I want to do is

if 
A NEW TUMBLR POST IS PUBLISHED
run
my-site.com/my-script.php

To do this it really needs to be able to ping the URL my-site.com/my-script.php is that possible with IFTTT?

10

If This Then That added a channel called "Maker" which supports an action that allows you to send a request to a specific URL with several options. Method (get, post, delete) content type, and content.

It also has a new trigger channel so you can trigger an IFTTT recipe by sending a web request to IFTTT with up to three parameters.

Detailed information can be found here: https://ifttt.com/maker

  • 2
    This has changed to webhooks for anyone wondering – Michael Russo Nov 24 '17 at 19:42
5

It is not possible to make a request like this to your external site. The site must be one of the services featured on the IFTTT page.

  • 2
    First statement is flat wrong, second is correct (So I guess I'll give a -1 and +1). Although you must use one of their services, they do have at least one service (MAKER) capable of dealing with arbitrary URLs. You would have to create an externally accessible web port and have maker send a message or post a message to maker's site to trigger an event. – Bill K Dec 9 '15 at 18:45
  • 1
    @BillK take note of the date of the answer. That channel did not exist at the time of the answer. – ComputerLocus Dec 11 '15 at 18:08
  • Then I'm glad I didn't actually-1 it :) – Bill K Dec 11 '15 at 18:10
  • @BillK Well you should have, because the answer is no longer useful, and in fact is misleading. – user79865 Mar 18 '16 at 21:54
  • @404 that is not a reason to downvote, that is a reason to edit the answer. – ComputerLocus Mar 18 '16 at 22:34
2

You could do this via another method though.

write a php script that goes and fetches new items from the tumblr rss and process it, no need to use IFTTT.com

1

Use Zapier instead, they have Tumblr trigger: https://zapier.com/zapbook/tumblr/

The action can be a webhook (get, post, put are all supported): https://zapier.com/zapbook/webhook/

Or any javascript run in node.js, can do http post too: https://zapier.com/zapbook/code/

Zapier is open to developers, so you could easily create your own Zapier app with triggers and actions if you couldn't find one ready made.

Soon it will be possible to chain apps, similar to how Yahoo! Pipes worked. Try out the beta: https://zapier.com/manage/add-superpower/flow/

1

You could use something like Dropbox

Install it on the server and setup an ifttt to write a file. Then monitor the directory locally for changes and trigger events on detection of new file creations

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.