Draw Straws

  • GOAL: Go fast and ship something

Slices:

  • User calls /straws @jess @brent
  • Slack pushes a slash command to us via WebHooks
  • Respond to that web hook by parsing
    • names out of the list
    • randomly select one
  • Push back the message to Slack
  • Slack posts into the channel??

Request from Slack:

{
    "token"=>"5oqrzVhONee6k5RpfdH1XgWj", 
    "team_id"=>"T3JRVTPCJ", 
    "team_domain"=>"drawstraws", 
    "channel_id"=>"C3J530CNL", 
    "channel_name"=>"general", 
    "user_id"=>"U3J534MDW", 
    "user_name"=>"jess", 
    "command"=>"/straws", 
    "text"=>"trying", 
    "response_url"=>"https://hooks.slack.com/commands/T3JRVTPCJ/120179635216/xNvGpRgvr9aG6pna4mUAnu1U"
}

Client ID: 120879941426.121599751719
Client Secret: 555308093af3539d8c7c70bf5ee56fba
Verification Token: ysypfKOjnSvAauWOG0min00p

Draw Straws
Interactive graph
On this page
Draw Straws