ONA15: How news organizations build simple bots to help report the news

It’s no secret that newsrooms are increasingly using bots to cut down on busy work. Software now routinely churns out quarterly earnings stories for The Associated Press and earthquake alerts for Los Angeles Times, freeing reporters to pursue more in-depth projects. And while no bot can write 3,000-word investigative stories, it can assist reporters by alerting them to new data and filtering the information for them.

While the idea of creating a bot may sound daunting, automating parts of the news gathering process can also be as simple as clicking a few buttons, according to some industry pros. At ONA’s Build Bots to Boost Your Reporting session John Keefe, Jenny Ye, Justin Myers, Philana Patterson, and Honest Charley Bodkin showed attendees how common software can help reporters find news.

In just five minutes, Keefe, senior editor at WNYC’s data news team, showed us how his team built a news bot that scored a scoop on a federal court case, using IFTTT.

IFTTT, for the uninitiated, is an acronym for If This Then That, and it’s a web service that allows users to create connections between apps such as Twitter, Dropbox, and Gmail through “recipes.” These recipes can automate a range of digital chores, from sending users a text message when the weather changes to logging their travels in Google Spreadsheets.

In WNYC’s case, Keefe set up the bot to automatically scan PACER, a publicly accessible electronic repository of federal court documents, for new feed items related to the United States v. Silver case. He then asked the bot to send him an email whenever there were new PACER files on the case. And he did it all through IFTTT’s point and click interface.

The result? A scoop for WNYC when an email alerted them to new development on indictment against former New York State Assembly Speaker Sheldon Silver, who faced corruption charges.

For the more code-savvy, WNYC’s Ye demonstrated a JavaScript scraper that fuels Nailbiter Bot, a Twitter account that tweets automatically when the score of a NCAA tournament game is within eight points with less than three minutes left in the game.

Lego block approach

The key to efficient automation is breaking down each project into units that can be built, reused, and mixed like Lego blocks, said Myers, news automation editor at AP. There are four essential parts to building a news bot, he said.

Input: The bot needs to react to new development and gather data. For example, when The Associated Press was investigating health care data breaches, Myers set up a bot to scrape the U.S. Department of Health and Human Services website for new reports of data breaches. He also set up a subscriber list for interested editors and reporters using Google Spreadsheets.

Processing: The bot needs to filter the data and surface useful information. In this case, Myers programmed the bot to filter reports of new breaches according to each reporter and editor’s preferences. For example, the bot might alert an editor only when the breach affected a large number of patients.

Output: The bot needs to tell others about the data. Myers’ bot emailed a customized list of breach reports to each subscriber.

Scheduling: The bot needs to perform the regularly. Bots can run nearly continuously or can be scheduled to run at certain intervals. Myers ran his bot once a day to scan for new breaches.

While bots can be invaluable in saving journalists time and effort in reporting, the danger of “overbot” exists, Myers said. To avoid inundating reporters with email alerts, Myers personally receives a copy of every reporter’s alert to gauge the extent of information overload.

At the end of the day, he said, bot building requires continued conversations between developers and reporters. That’s something bots can’t replace.

Here are the slides from the Build Bots to Boost Your Reporting session at ONA.

 

Latest Posts

  • A Big Change That Will Probably Affect Your Storymaps

    A big change is coming to StoryMapJS, and it will affect many, if not most existing storymaps. When making a storymap, one way to set a style and tone for your project is to set the "map type," also known as the "basemap." When we launched StoryMapJS, it included options for a few basemaps created by Stamen Design. These included the "watercolor" style, as well as the default style for new storymaps, "Toner Lite." Stamen...

    Continue Reading

  • Introducing AmyJo Brown, Knight Lab Professional Fellow

    AmyJo Brown, a veteran journalist passionate about supporting and reshaping local political journalism and who it engages, has joined the Knight Lab as a 2022-2023 professional fellow. Her focus is on building The Public Ledger, a data tool structured from local campaign finance data that is designed to track connections and make local political relationships – and their influence – more visible. “Campaign finance data has more stories to tell – if we follow the...

    Continue Reading

  • Interactive Entertainment: How UX Design Shapes Streaming Platforms

    As streaming develops into the latest age of entertainment, how are interfaces and layouts being designed to prioritize user experience and accessibility? The Covid-19 pandemic accelerated streaming services becoming the dominant form of entertainment. There are a handful of new platforms, each with thousands of hours of content, but not much change or differentiation in the user journeys. For the most part, everywhere from Netflix to illegal streaming platforms use similar video streaming UX standards, and...

    Continue Reading

  • Innovation with collaborationExperimenting with AI and investigative journalism in the Americas.

    Lee este artículo en español. How might we use AI technologies to innovate newsgathering and investigative reporting techniques? This was the question we posed to a group of seven newsrooms in Latin America and the US as part of the Americas Cohort during the 2021 JournalismAI Collab Challenges. The Collab is an initiative that brings together media organizations to experiment with AI technologies and journalism. This year,  JournalismAI, a project of Polis, the journalism think-tank at...

    Continue Reading

  • Innovación con colaboraciónCuando el periodismo de investigación experimenta con inteligencia artificial.

    Read this article in English. ¿Cómo podemos usar la inteligencia artificial para innovar las técnicas de reporteo y de periodismo de investigación? Esta es la pregunta que convocó a un grupo de siete organizaciones periodísticas en América Latina y Estados Unidos, el grupo de las Américas del 2021 JournalismAI Collab Challenges. Esta iniciativa de colaboración reúne a medios para experimentar con inteligencia artificial y periodismo. Este año, JournalismAI, un proyecto de Polis, la think-tank de periodismo...

    Continue Reading

  • AI, Automation, and Newsrooms: Finding Fitting Tools for Your Organization

    If you’d like to use technology to make your newsroom more efficient, you’ve come to the right place. Tools exist that can help you find news, manage your work in progress, and distribute your content more effectively than ever before, and we’re here to help you find the ones that are right for you. As part of the Knight Foundation’s AI for Local News program, we worked with the Associated Press to interview dozens of......

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More