Code Monkey home page Code Monkey logo

bot-room-manager's Introduction

##RoomManager Bot

##Created by Ryan D'souza and Susan Haimet

####Purpose This comes from a real world use case provided by Groupama AM where they submit an offer and the sales people bid on it.

As detailed in the screenshots below, sales people in different chats cannot/should not communicate with each other - only the buyer/dealer can interact with the different sales groups (regulations).

This means that the buyer would need to switch between three+ different sales chats in order to find the best deal. This can take up a lot of time and result in them missing out on that trade.

RoomManager allows each sales chat to send a message to a room (Central Chat) with the buyer in it, allowing the buyer to view all sales offers in the same window/screen without switching between tabs and having different sales teams know what the other team is offering.

From that central chat, the buyer can communicate with each sales chat individually without switching tabs or chats.

This will save the buyer a lot of time + effort, and time = money

####Run Instructions

  • Download this ZIP

  • Uncompress this ZIP

  • Open project folder in IntelliJ

  • Install maven dependencies from pom.xml

  • Run the main method of 'RoomManagerBot.java'

  • Our bot the Central Chat Room can launch an offer for a trade by sending out a message to Sales Chat Rooms (in our example 3 Sales Chat Rooms - Room 1, Room2 and Room 3,

  • Each Sales Shat rooms has Sales people waiting for info on a trade (in our case each Sales Chat Rooom has 2 users but it could be n users) + our bot.

  • Sales people in those Sales Chat Rooms will send a message if they are interested in the trade. The messaged is prefixed by ccr "Central Chat Room" and our bot will post that message in the "Central Chat Room" to say "yes I am interested in this trade".

ccr Hello Central Chat Room, I want to do this deal.

The message is displayed in the central chat room. In the use case provided by the our real life client this would be an offer for a trade.

The Central Chat Room can then send messages to any (or all) of the other chat rooms, for example, Chat Room 1 "Let's do the deal.", Chat Room 2' "You're too late, the deal is already done."

This comes from a real world use case provided by Groupama AM where they submit an offer and the sales people bid on it. They tell us that this is a killer functionality.

Contributing

  1. Fork it (https://github.com/symphonyoss/bot-room-manager/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Read our contribution guidelines and Community Code of Conduct
  4. Commit your changes (git commit -am 'Add some fooBar')
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

License

The code in this repository is distributed under the Apache License, Version 2.0.

Copyright 2016-2019 Symphony Communication Services, LLC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.