Tutorials

How to use IFTTT

‘Put the Internet to work for you’ is the tagline for IFTTT.com, also known as ‘If this then that.’ IFTTT automates tasks between apps that would otherwise be very time-consuming. In programming jargon IFTTT is what’s known as a macro which makes a defined sequence of instructions into a single program statement.

Why is IFTTT useful to a journalist, researcher or anyone on the Internet? Say you want to search for a certain hashtag on Twitter and save those tweets into a Google spreadsheet. That recipe, as IFTTT calls them, is covered in this tutorial.

Other useful IFTTT recipes: Save iOS photos to Dropbox, Save Feedly articles to Evernote, Save Twitter favorites to Pocket, Add a Google spreadsheet row when you text yourself, Backup contacts to spreadsheet, Text me when a large earthquake happens. NPR’s social media desk uses IFTTT to gather information about people who tweet about NPR when they mention ‘heard on NPR,’ or during pledge drives and at live events. Journalism.co.uk has a list of 10 IFTTT recipes for journalists.

Here’s a quick How To on using IFTTT to store hashtagged tweets in a Google spreadsheet.

Log into IFTTT and click Create a Recipe.

Screen Shot 2014-12-15 at 8.14.26 AM

 

IFTTT makes recipe creation very simple. Follow along.

Screen Shot 2014-12-15 at 8.14.35 AM

We want to harvest tweets from Twitter so that’s the first app we need to connect to IFTTT. Search for Twitter and click the icon.

Screen Shot 2014-12-15 at 8.15.37 AM

 

You will have to grant IFTTT access to your Twitter account to search for this hashtag on your behalf. Look for ‘New tweet from search‘ and click that.

Screen Shot 2014-12-15 at 8.16.19 AM

 

Look for the hashtag that you want to search for. Enter it and click Create Trigger.

Screen Shot 2014-12-15 at 8.16.47 AM

 

DON’T MISS  How to scrape a table from a website with Python

Next, we need to hook up the second app that IFTTT will use with the information it has collected from Twitter.

Screen Shot 2014-12-15 at 8.16.56 AM

 

Search for drive and click the Google Drive icon.

Screen Shot 2014-12-15 at 8.17.07 AM

 

Choose the ‘Add row to spreadsheet‘ option. You’ll be able to name a new spreadsheet soon. IFTTT will create the spreadsheet so no need to go into your own Google Drive. You will, however, have to log into your Google account to allow access to IFTTT.

Screen Shot 2014-12-15 at 8.17.13 AM

 

In Action Fields, you can rename the spreadsheet and add more ingredients (columns) to your spreadsheet. I suggest adding them all because you might need that Tweet meta data later on. Hit Create Action.
Screen Shot 2014-12-15 at 8.18.34 AM

 

Give your recipe a descriptive name and hit Create Recipe.

Screen Shot 2014-12-15 at 8.18.57 AM

 

Voilá, your recipe is activated. Check your Google spreadsheet for added tweets.

Screen Shot 2014-12-15 at 8.57.13 AM

 

Turn your recipe off and on from your IFTTT dashboard.

Screen Shot 2014-12-15 at 8.19.14 AM

 

I use IFTTT to harvest all kinds of information from Reddit, Instagram, and Twitter. Cleaning the data is a whole other beast. More on that in another How To.

What IFTTT recipes do you find useful? Tweet us or add a comment below.

 

 

Aleszu Bajak
Latest posts by Aleszu Bajak (see all)
DON’T MISS  Getting started with NoSQL for storing and retrieving data

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest from Storybench

Keep up with tutorials, behind-the-scenes interviews and more.