Home > google-support-bot

google-support-bot

Google-support-bot is a project mainly written in Java, it's free.

Google Support Bot

Google Support Bot

URL: http://www.cloudspokes.com/challenge_detail.html?contestID=193 Challenge end date: Tue May 17 04:00:00 GMT 2011

Description

With the introduction of the XMPP service to App Engine, it's now possible to write an App Engine app that communicates with users - or even other applications - over XMPP, otherwise known as Jabber or Google Talk. We are looking to build a virtual helpdesk operator, who will redirect support questions to an available helpdesk agent that a user might pose over XMPP (e.g. from Google Talk). The app must be built in AppEngine (Java or Python) and an admin page to assign a user as a helpdesk agent must be created.

Extra credit: Secure the bot to only answer a question from a user tied to a Google Apps domain, meaning not make the bot publicly available for anyone to invite and ask questions.

Note: We understand that the bot will auto-accept invitations, but we don’t want to answer questions from users that are unknown to the domain Extra credit: Web page for users to look through answered questions, similar to a knowledge base type of web page

Extra credit: Admin page for reporting. See top rated helpdesk agent, their effectiveness (based by number of replies before receiving a rating), un-answered questions, and top users that ask questions the most

Extra credit: Parse incoming support question and find similar answered questions in the datastore and provide those as suggested answers

Extra credit: Multi-tenant

Requirements

  1. A user adds an email like [email protected] to their buddy list in Google Talk, or another XMPP client.
  2. The user asks the Support Bot a question, by typing "/support how do I turn off conversation mode in gMail?" Note: User may asks as many support questions as they want using the “/support” command, at any point of the bot behavior
  3. The bot receives the question, stores it in the datastore as an unanswered question, then looks for an available helpdesk agent. If it finds one, it sends the question to the helpdesk agent, saying "[user A] is in need of support, perhaps you can answer the question: how do I turn off conversation mode in gMail?" Note: [user A] indicates the user’s username that have asked the question
  4. If the bot does not find an available helpdesk agent immediately, it will reply to the user, saying “Please hold, while we find an available helpdesk agent”
  5. Helpdesk provides the appropriate response, by typing “/answer go into Settings, click on the General tab, and click on ‘Conversation view off’ and then the ‘Save’ button”
  6. The bot receives the helpdesk agent’s answer, stores it in the datastore alongside the original question, and then sends it back to the user who originally asked the question, saying "[agent A] suggests, go into Settings, click on the General tab, and click on ‘Conversation view off’ and then the ‘Save’ button"
  7. The user now has two options, they can either:
    • Type “/thankyou” which means that the answer was satisfactory, which the bot will in turn asks, “How helpful did [agent A] respond to your question? Please, rate between 1-5;1 as unhelpful, 5 as very helpful” The user can ignore to answer the rating, which means after a time it will default to a ‘5’ rating or answer the bot with "/rate 3"
    • Type “/reply” which allows the user to ask follow on questions regarding the same issue. In this example, “/reply I do not see the ‘conversation view off’ setting”, which will directly reply to the answering helpdesk agent, which in turn can type “/reply It is the sixth option down within the ‘General’ tab”
      This step will continue to repeat until the bot has received a “/thankyou” or been idle for 3 minutes
Note: All “/reply” messages should be stored in datastore
Note: If the answered question has been idle for 3 minutes, it will prompt the bot to place the question on the bottom of the queue to be answered later by another available helpdesk agent.

In addition to the basic flow above, we'll add a few enhancements: A user can type “/help” to ask the bot all the available commands that it provides. Further, a helpdesk agent can type "/askme" to ask the bot for a question that has not been answered yet, without waiting for the bot to automatically ping them with the next available unanswered question, and “/status” to see how many questions, along with the number of replies (measure effectiveness of answer) have been answered by the helpdesk agent and their current helpfulness rating.

In addition to the basic flow above, we'll add a few enhancements: A user can type “/help” to ask the bot all the available commands that it provides. Further, a helpdesk agent can type "/askme" to ask the bot for a question that has not been answered yet, without waiting for the bot to automatically ping them with the next available unanswered question, and “/status” to see how many questions, along with the number of replies (measure effectiveness of answer) have been answered by the helpdesk agent and their current helpfulness rating.
Previous:beta