By IDG Enterprise

IFTTT: Simple code "recipes" for the non-programmer

February 14, 2013 2:15 PM

How do you get started coding, when you’ve never learnt a programming language? Even to the experienced eye a page of code can look unintelligible, lines of letters and numbers that only mean something to the developer who put them together. It’s a lot like trying to describe knitting over the phone, in Latin. What’s needed is a way of programming simple applications that doesn’t look like code at all.

That’s where a service like IFTTT comes in. IFTTT, short for If This Then That, is a simple tool for programmatically automating tasks, providing a glue that links consumer and enterprise web services. The developers behind the service have created a bare-bones site that focuses on creating and sharing action-driven simple workflows that join together web services. There’s no fancy editor, no complicated user interface; just a simple step-by-step approach to building (and sharing) applications.

The model behind IFTTT is very simple: triggers and actions fit together to make recipes, using data as ingredients. It’s as easy as thinking “if this happens, then do that”, making an IFTTT recipe the very essence of a simple program. The recipe metaphor makes a lot of sense. We’ve all followed the instructions on a packet of brownie mix to make just the cake the manufacturers designed – and then we’ve started to add our own ingredients to the mix, changing a triple chocolate brownie into a chocolate orange ginger brownie with a dash of espresso.

The Bridge Between DIY Electronics and The Internet of Things
FINAL WEEK to register for CITE! Don’t miss the Sunday interactive workshops.

IFTTT is much like that customized brownie mix. Taking triggers and actions and fine tuning the ingredients means that you can bake an application that meets your needs, even if you’re using the same components as everyone else. You just make the tweaks you need to get the results you want – and if it doesn’t work first time, you can go back again and start over.

Web APIs are everywhere, but they’re often complex and poorly documented. What the team behind IFTTT has done is to take a selection of popular sites and services, and extracted the APIs that you’re most likely to want to use. Those APIs are then wrapped up as channels, with the data they need treated as ingredients in your IFTTT recipes.

 
Credit:Screenshot/IFTTT
Choose from 59 web services to bake an IFTTT recipe
 

IFTTT has 59 different channels, from services like Facebook, Evernote, LinkedIn, Twitter, and Yammer. Some are consumer services, some have an enterprise focus. Some are just inputs (what IFFTT calls "triggers"), some are outputs (called "actions"), and others are both. All you need to do is activate a trigger to use it in your recipes – a process that’s as easy as signing into a site from IFTTT, and giving it permissions to work with IFTTT.

So, for example, if you want to build a recipe that sends a message to a Yammer group when a team member uploads a file to a shared Dropbox folder, you’ll start by activating the Dropbox channel.

Once activated, you get two trigger options. One fires when a new file is uploaded to your public folder, and one when a new photograph is uploaded. Once you choose the trigger to use, IFTTT then walks you through the steps needed to create your program. For a Dropbox-driven app, you can choose a sub-folder to monitor, or just use the default public folder.

Latest Stories
May 25, 2013 11:51 AM

10 shocking things I learned using Google products exclusively

Getting off Apple and going all Google has increased my respect for both companies. I've come to realize that the very best mobile experience right now is built on a foundation of Google services on Apple hardware. I wish only that these two companies could get along better, and that Apple will allow more Google integration on the iPhone.

May 24, 2013 4:14 PM

Excel: Microsoft's best weapon against Tableau and competitors

New data visualization apps for Excel 2013 could help Microsoft hang on to customers looking for better data visualization tools.

May 24, 2013 3:53 PM

Microsoft isn't crazy to think it could sell 25 million Surfaces next year

Surface has been a stiff so far, but Microsoft reportedly has big expectations for its next fiscal year. Here's why the company may not be crazy.

May 24, 2013 10:27 AM

How an internal social network helped one agency fight terrorism

Flickr by UNC-CFC-USFK

The global law enforcement agency needed a secure, global network where crime and terrorist information could be shared among its members. It found an answer with the enterprise social network, tibbr.

May 24, 2013 9:54 AM

IT must act like a fast-moving startup

Brandon Porco, the chief technologist for defense contractor Northrop Grumman, says that IT will have to try lots of different things and move quickly to keep abreast of evolving employee needs. "Google has it very well-patterned: Launch and iterate."

May 24, 2013 8:41 AM

Enough with the silly myth about Apple hating the enterprise

Although Apple is often accused of not being an enterprise company, it's only in the last few years that Apple has abandoned its enterprise-oriented products. The real story may be that Apple's discovered that making enterprise-focused efforts simply don't deliver a huge return on investment.

FOLLOW US
Get CITEworld updates via email, RSS or social media