If you want to send any notification message from your rails application, its easy to send it with following steps:
- To send notification to your flowdock group, you will need email-address of flowdock grouYou can get it from flow-settings of your group.
example: "xxxx@xxxx.flowdock.com"
- In your application, define mailer class and send email-message to above email.
class UserMailer < ActionMailer::Base default from: "xxxx@example.com" def flowdock_notification(post) flow_email = "xxxx@xxxx.flowdock.com" body = post.user.name + " posted a new article: \n#{post.subject}" mail(to: flow_email, subject: "New Post") do |format| format.text { render text: body } end end end
Thanks.