Skip to content
This repository

Ruby Gem for Flowdock API

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 flowdock.gemspec


Ruby Gem for using the Flowdock Push API. See Push API documentation for details.

Build Status

Build Status

flowdock gem is tested on Ruby 1.9.3 and JRuby.


  • HTTParty
  • MultiJson


gem install flowdock

If you're using JRuby, you'll also need to install jruby-openssl gem.


To post content to Chat or Team Inbox, you need to use the target flow's API token. They can be found from tokens page.

Posting to Chat

require 'rubygems'
require 'flowdock'

# create a new Flow object with target flow's api token and external user name (enough for posting to Chat)
flow = => "__FLOW_TOKEN__", :external_user_name => "John")

# send message to Chat
flow.push_to_chat(:content => "Hello!", :tags => ["cool", "stuff"])

Posting to Team Inbox

# create a new Flow object with target flow's api token and sender information for Team Inbox posting
flow = => "__FLOW_TOKEN__",
  :source => "myapp", :from => {:name => "John Doe", :address => ""})

# send message to Team Inbox
flow.push_to_team_inbox(:subject => "Greetings from Flowdock API Gem!",
  :content => "<h2>It works!</h2><p>Now you can start developing your awesome application for Flowdock.</p>",
  :tags => ["cool", "stuff"], :link => "")

Posting to multiple flows

require 'rubygems'
require 'flowdock'

# create a new Flow object with the api tokens of the target flows
flow = => ["__FLOW_TOKEN__", "__ANOTHER_FLOW_TOKEN__"], ... )

# see above examples of posting to Chat or Team Inbox

API methods

  • Flow methods

    push_to_team_inbox - Send message to Team Inbox. See API documentation for details.

    push_to_chat - Send message to Chat. See API documentation for details.

    send_message(params) - Deprecated. Please use push_to_team_inbox instead.

Deployment notifications

There are separate gems for deployment notifications:


Copyright (c) 2012 Flowdock Ltd. See LICENSE for further details.

Something went wrong with that request. Please try again.