Important: The content of this repository is outdated, it's now in the GitHub repository apps-script-samples.
This code sample shows how to build a Hangouts Chat bot using Google Apps Script. The bot responds to messages in a room or direct message (DM) and allows the user to set a vacation responder in Gmail or add an all-day event to their Calendar from Hangouts Chat.
You can follow this codelab to build and test this bot.
To use this bot, you must enable the Hangouts Chat API in the Google API Console. After enabling the API, configuring the bot, and publishing it, you must add the bot to a room or DM to begin a conversation.
For more information about how to publish a bot, see Publishing bots.
This is not an official product.