Create chatbot hangouts11/21/2023 ![]() The action raises an event aimed at the bot in Google Chat.A user initiates an action, like adding a bot to a room, starting a direct message (DM) with a bot, or removing the bot from a room.The interaction between the user, the bot, and Google Chat typically follows a sequence. Most Apps Script bot interactions with Google Chat are event-driven. In the Edit project name dialog, rename the project to Attendance Bot, and then click Rename. Before you click the Google Apps Script editor link in Step 1, be sure you have signed into the Google Cloud console.Ĭlick this Google Apps Script editor link to open the Google Apps Script online editor.Ĭlick Untitled project (the current name). Note: Signing into Google Cloud console sets your project and credentials. To implement your bot, create a new Google Apps Script project. Note: You can view the menu with a list of Google Cloud Products and Services by clicking the Navigation menu at the top-left. Do not add recovery options or two-factor authentication (because this is a temporary account).Īfter a few moments, the Cloud Console opens in this tab.Note: Using your own Google Cloud account for this lab may incur extra charges. Do not use your Google Cloud Skills Boost credentials. Important: You must use the credentials from the left panel. Click Next.Ĭopy the Password from the Lab Details panel and paste it into the Welcome dialog. If necessary, copy the Username from the Lab Details panel and paste it into the Sign in dialog. Note: If you see the Choose an account dialog, click Use Another Account. Tip: Arrange the tabs in separate windows, side-by-side. The lab spins up resources, and then opens another tab that shows the Sign in page. Other information, if needed, to step through this lab.The temporary credentials that you must use for this lab.On the left is the Lab Details panel with the following: If you need to pay for the lab, a pop-up opens for you to select your payment method. How to start your lab and sign in to the Google Cloud ConsoleĬlick the Start Lab button. Note: If you already have your own personal Google Cloud account or project, do not use it for this lab to avoid extra charges to your account. Time to complete the lab-remember, once you start, you cannot pause a lab. ![]() This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account. Note: Use an Incognito or private browser window to run this lab. Access to a standard internet browser (Chrome browser recommended).It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab. This hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. The timer, which starts when you click Start Lab, shows how long Google Cloud resources will be made available to you. Labs are timed and you cannot pause them. Setup and requirements Before you click the Start Lab button Define and react to custom actions for button clicks in cards.Respond to Google Chat with card-formatted responses.Parse event objects sent from Google Chat.Add handlers in events raised in Google Chat.In this lab, you perform the following tasks: The bot integrates with Gmail to set a user's vacation responder and integrates with Calendar to put a meeting on the user's calendar. In this lab, you use Google Apps Script to create a simple Google Chat bot, which you'll name "Attendance Bot". This also gives you easy access to other Google services like Drive, Gmail, Calendar, Docs, Sheets, and much more. One way to create a Google Chat bot is to use Google Apps Script. Users can converse with bots within a chat experience. Google Chat bots provide easy-to-use access points to your organization's data and services.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |