One trick we use in pagerduty.coffee is a command like `hubot foursquare me as <something>`, and store that value in the brain. That way, you can associate back a foursquare thing back to the chat thing.