Google's OnHub router just got a major new feature: IFTTT support. The demoed features let you do things like lock your doors when your device disconnects from the router or send an e-mail when someone connects to your wireless network. There are a few example recipes on this IFTTT page, or you can make your own using any of the channels supported on IFTTT.
IFTTT (If This Then That) is a service that lets you connect apps to other apps or connect apps to smart home devices. Developers for apps and services can build "If" triggers and "Do" actions that plug into the site. Users can make a "recipe" by combining these triggers and actions into a useful program, using the format "If [something happens], do [this action]."
Say you want to automatically tweet out a link every time an article on a website is posted. You can grab the RSS trigger function, so now you have "if a new item on this RSS feed appears, then [do this action]." Then you can combine it with the Twitter action and make "if a new item on this RSS feed appears, then tweet it out." Each trigger and action has its own configuration options, so you can do necessary plumbing like giving the "RSS action" the exact RSS feed it needs and giving the Twitter bot your login credentials so it can post from your account.