18F/ifgovthenthat

Open Thread: Ideas for IFTTT Triggers

gbinal opened this issue · 40 comments

Share your ideas for triggers, preferably with a link to the api or data that would be behind it.

When a new farmers market is added near you.

Your tax return has been accepted. (IRS)

The federal government has closed down or is delayed. (OPM)

An Amber Alert has been issued. (?)

severe weather alerts (flash flood, hurricane, tornado, etc)

A new dataset has been released (matching some criteria, such as agency).

Muckrock has released a new FOIA response that matches some criteria (such as agency).

A new WeThePeople petition has been created that matches some criteria.

A Federal IT project has crossed some threshold of cost or time overrun, so send me a message.

API: https://www.itdashboard.gov/data_feeds

Notify me when works enter the public domain. crickets

Notify me when new additions are made to https://public.resource.org/

Notify me when my IRS refund has been sent.

Notify me when desegregation orders for my jurisdiction/district are lifted. See: http://www.propublica.org/article/lack-of-order-the-erosion-of-a-once-great-force-for-integration

Notify me when there is a toxic release in my community.

Notify me when a food item I have purchased has been recalled.

Notify me when a bridge I commute over has not had it's scheduled inspection.

Notify me when a security vulnerability or other flaw has been found for a medical device I have implanted in me.

When Bureau of Labor Statistics releases new projections on occupations, send me a notification that analyzes the impact on my profession in particular (including my age, stage of career, and location) along with advice on training, retraining, etc. available that would best take advantage of or ameliorate that impact as warranted.

Also, digest the data and republish it in a form useful to school career counselors.

  • Every time a petition reaches the threshold for responses in We The People
  • Every time a petition reaches the threshold for being public in We The People

Every time a new data set is added to data.gov

Cleaning up README file and moving previous ideas collection here:

  • if census releases economic indicator above/below something
  • government status changes (opm.gov/status)
  • USAJobs, FOIA, Federal Register keywords come up
  • CPSC recalls - Jed Sundwall
  • New entries on regulations.gov - @alandelevie
  • TSA security line wait times reach a certain time
  • I would say 'farmers market opens for the year' but think that the metadata for that API isn't parsed out well enough for that. - @gbinal
  • I wonder if it'd be possible to use the NREL API to power something that would alert you whenever there's a new alternative fuel station that opens within a certain geographic area... - @gbinal
  • Maybe airport status (not quite the same as line times)? E.G. Triggers that are based off of an airport getting shut down. I feel like many frequent flyers would be interested in getting a heads up of an event like this morning's at LAX for any airport in the lower 48, not just certain ones. - @gbinal
  • A we the people petition passes x number of signatures, includes x keywords
  • "I had always envisioned agencies pushing each of their posts from any platform into an open Google Calendar so they can better see the spread of coverage between their sub-agencies, etc, and there would also be an easy to evaluate record for the public." - Justin Herman
  • Do a "cook-off"/hackathon w/ fed devs and IFTTT folks - @ERIE
  • If Natural Disaster (per NOAA) then Resources (localized per GPS) (FEMA) + (CDC) + (HHS) + (Coast Guard) + (National Guard) @HobokenMartha
  • Link to Google Docs / Dropbox so that APIs with information can be downloaded easily and tracked by people who may have uses for them that we can't think of. - @mkramer
  • Connect all projects to Google Drive or Dropbox for people to collect information for future projects that we might not be aware of yet. (i.e. information about clinical trials, etc.) - @mkramer
  • If natural disaster happens, publish data from National Map: http://catalog.data.gov/dataset/the-national-map - @mkramer
  • If a certain person or organization visits the White House (use White House visitor log API) notify me by email/tweet it/etc. - @mkramer
  • If it's my birthday, send me a random newspaper from my birthday that's been digitized by the Library of Congress: http://chroniclingamerica.loc.gov/about/api/ -@mkramer
  • If the government creates a new social media account (http://registery.usa.gov) follow them/tweet about it/etc.

Hi all, I went to create an OPM alert for myself yesterday and found many IFTTT recipes have already been created with their handy RSS feed. (@konklone)

Same thing goes for the NOAA Severe Weather alert feed. (@jpyuda)

This makes me think the following:

  • I wish these were promoted more; it'd be great to see a If Gov Then That Collection: https://ifttt.com/recipes/collections or some other round up.
  • I think a lot of the ideas above could be created today with the RSS feeds that are available and there's no need to create a custom IFTTT API/Trigger.

@rebeccawilliams - I'm not sure how readily we get on the official IFTTT collections page but agree with you entirely.

Let's start by gathering federal IFTTT recipes in this repo. I've started it off with the two you mention.

@stvnrlly didn't you run into problems with OPM's RSS feed the last time we had a snow delay?

Yeah, I did, but it may have been a one-time thing. For some reason, the RSS feed didn't update until that evening, by which point it was no longer useful. It was my first time paying attention to it, and every time since then has seemed to work properly.

Not sure if y'all are aware, but OPM has a mobile app that can send you push notifications, and you can choose what type of alerts you want to receive. It's available for all major mobile platforms: http://www.opm.gov/policy-data-oversight/snow-dismissal-procedures/mobile-app/

@monfresh Yup, I have that installed as well. 😄

Here are some Fed RSS roundups to help suss out what's already possible and where a custom IFTTT API would add the most value:

Re: 'Every time a new dataset is added to Data.gov', here's the Data.gov CKAN API for today and for 2015 so far -- it's a lot of alerts! I am exploring if we can get something going in Yahoo Pipes (a la Chicago), but we welcome any future IFTTT channels.

Send me an alert when a FEMA disaster is declared within X number of miles: http://catalog.data.gov/dataset/fema-disaster-declarations-summary

Notify me of the place where it rained the most in the US yesterday: http://catalog.data.gov/dataset/u-s-hourly-precipitation-data

https://ifttt.com/space <-- These are good and could be applicable to lots of things.

In addition to triggers, can anyone think of gov platforms that can receive events? The only ones I can think of (White House Petitions, Regulations.gov) both really require longform writing and it's tough to think of how they might be appropriate places for automated submissions from other services.

USPS could have a useful event-receiving API, particularly the shipping label and package pickup ones: https://www.usps.com/business/web-tools-apis/list-of-apis.htm.

USPTO patent filed, issued, expiring

Um, you guys are awesome, but based on the general ideas you are submitting, you are missing a fundamental aspect of how the government serves citizens. You are thinking of citizens as individuals, which is true... rarely. Usually, the concerns of citizens are merged into organizations. One of the main concerns of those organizations are government grant processes. The true killer trigger is when a government agency puts either a grant, request for proposal, or request for bid out on the street. Every agency has a slightly different way of doing these things... but IFTTT...

When Grant applications open... let interested and appropriate non-profits, local governments, and commercial entities know through new communication mediums. When a grant moves forward, has a hiccup, etc, IFTTT, let the potential Grantees know sooner.

Grants, Certification, Easements, Penalties, Industrial Policy changes, Contract Awards, etc. All of these organizations have legacy ways of interacting... Can we add APIs for the next generation of these organizations? How long will my Business Development Staff have to scrounge through dated government websites which are only sluggishly updated?

IFTTT... follow the expenditures of each agency, where is the money going? Is this agency Granting, Servicing, Regulating, etc... IFTTT depends on who they interact with directly. That's usually not an individual citizen. Could you reverse this effort for a second by determining where each agency is sinking it's money, and IFTTT on the ways money is supporting organized groups of citizens? (Put some data analysis on this first to inform your challenge space, and then brain storm) That might change your thinking and hone you into more relevant ideas, instead of nice ideas for a gal or guy with a smartphone walking across campus.

@jcfrench Your point's well taken, but bear in mind that we're talking here specifically about IFTTT channels/triggers, and not about what APIs are worth building around government services.

Grants, Certification, Easements, Penalties, Industrial Policy changes, Contract Awards, etc. All of these organizations have legacy ways of interacting... Can we add APIs for the next generation of these organizations? How long will my Business Development Staff have to scrounge through dated government websites which are only sluggishly updated?

Couldn't agree more -- 18F's first project is an API aimed squarely at businesses looking for contract opportunities. There's more work like this happening in the 18F, Presidential Innovation Fellow, and US Digital Service family.

Here we're just talking about making use of existing data and APIs to build IFTTT integrations. IFTTT is primarily a consumer platform. Organizations and businesses are, by and large, probably going to have the incentive and resources to talk to APIs directly, or use other more professionally oriented tools that sit atop those APIs to get work done, rather than an IFTTT channel.

But if we're missing something here, and there are some existing APIs in government whose IFTTT integration would benefit a business like yours, please do link us to them and suggest some ideas here.

  • Office/school/organization openings, closings, business hours, change in contact info.
  • Hiring opportunities (ie. new job postings, office vacancies, new positions created, etc)
  • Hiring decisions
  • Election vote casting (perhaps via web socket, but likely via batch updates)
  • Congressional vote casting (by official, region, bill, etc)
  • New or updated laws
  • Daily changes in health code statuses.
  • Permit grants/expirations/revocations
  • Licensing grants/expirations/revocations
  • Campaign contributions (aggregated deltas by time period, candidate/official, region, time in office, party)
  • FEMA declarations
  • Patent filings/acceptance/rejection
  • Equipment auctions/sales
  • Visa filings/decisions
  • Citizenship decisions
  • Election results
  • Flight status
  • Environmental warnings (water supply, contaminations, spills, etc)

Create an IFTTT trigger to tap into the Social Media Registry (and allowing for the various API options...tags, agencies, etc). https://github.com/usagov/Social-Media-Registry-API-Documentation