Meta tags:
Headings (most frequently used words):
dialog, apps, script, node, js, python, java, the, optional, open, build, interactive, dialogs, stay, organized, with, collections, save, and, categorize, content, based, on, your, preferences, page, summary, prerequisites, handle, submission, troubleshoot, http, trigger, request, initial, return, another, close, google, workspace, for, developers, tools, connect, display, temporary, notification, send, confirmation, chat, message,
Text of the page (most frequently used words):
the (197), new (100), google (93), #dialog (81), chat (79), event (73), contact (66), add (63), #return (57), text (53), app (51), message (50), and (46), name (46), type (42), that (41), apps (40), form (39), object (39), value (39), parameters (38), action (38), button (33), card (32), genericjson (31), commoneventobject (30), users (30), with (29), script (27), from (27), put (27), function (26), actionname (26), contactname (25), workspace (24), function_url (24), list (23), for (22), build (22), java (21), get (21), step (21), view (20), github (20), birthdate (20), dialogs (19), key (19), openinitialdialog (19), overview (18), can (18), label (18), information (17), any (17), input (17), onclick (17), opens (17), open (17), your (16), buttons (16), details (16), settext (16), navigations (16), contacttype (16), contactbirthdate (16), openconfirmationdialog (16), false (16), personal (16), work (16), initial (16), you (15), buttonlist (15), ons (15), last (14), user (14), interaction (14), display (14), forminputs (14), handles (14), http (14), mapping (14), str (14), extend (14), values (13), use (13), widgets (13), pushcard (13), googleappscardv1widget (13), code (12), confirmation (12), page (12), node (12), textparagraph (12), lets (12), selected (12), setvalue (12), clicks (11), submission (11), notification (11), request (11), main (11), submit (11), also (10), update (10), this (10), example (10), following (10), createmessageaction (10), python (10), sections (10), open_dialog (10), interfaces (10), send (9), data (9), more (9), see (9), process (9), chatdataaction (9), hostappdataaction (9), submitdialog (9), next (9), replace (9), endpoint (9), collect (9), respond (9), cloud (8), console (8), thumb (8), responds (8), one (8), are (8), when (8), returning (8), confirm (8), stringinputs (8), param (8), radio_button (8), date_only (8), single_line (8), first (8), response (8), setkey (8), googleappscardv1actionparameter (8), drive (8), service (7), developer (7), support (7), another (7), close (7), forms (7), returns (7), actions (7), astext (7), set (7), how (7), cards (7), calendar (7), samples (6), error (6), sends (6), const (6), items (6), selectioninput (6), datetimepicker (6), textinput (6), cardv2 (6), googleappscardv1card (6), settype (6), setlabel (6), setname (6), clicked (6), trigger (6), command (6), interactive (6), twitter (5), blog (5), admin (5), missing (5), down (5), inputs (5), messages (5), errors (5), has (5), been (5), added (5), contacts (5), json (5), src (5), com (5), index (5), close_dialog (5), endnavigation (5), validate (5), click (5), pass (5), second (5), setparameters (5), setfunction (5), googleappscardv1action (5), setaction (5), googleappscardv1onclick (5), setonclick (5), googleappscardv1button (5), setbuttons (5), googleappscardv1buttonlist (5), setbuttonlist (5), string (5), def (5), español (4), products (4), youtube (4), developers (4), date (4), renderactions (4), submit_dialog (4), between (4), content (4), its (4), updates (4), preview (4), after (4), optional (4), failure (4), was (4), birthday (4), mssinceepoch (4), dateinput (4), below (4), googleappscardv1textparagraph (4), settextparagraph (4), birthdateepoch (4), setselected (4), googleappscardv1selectionitem (4), else (4), must (4), triggers (4), slides (4), docs (4), gmail (4), quickstarts (4), third (4), party (4), variables (4), conferencing (4), all (3), newsletter (3), apis (3), explorer (3), dashboard (3), tools (3), release (3), notes (3), codelabs (3), sample (3), steps (3), through (3), based (3), commands (3), feedback (3), help (3), such (3), field (3), about (3), dialogeventtype (3), retrieve (3), accessorywidgets (3), setwidgets (3), googleappscardv1section (3), setsections (3), equals (3), depending (3), open_initial_dialog (3), keep (3), learn (3), complete (3), multi (3), handle (3), including (3), configure (3), quickstart (3), guide (3), home (3), started (3), sheets (3), meet (3), develop (3), editor (3), create (3), resources (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), português (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), manage (2), terms (2), platform (2), connect (2), our (2), read (2), understand (2), other (2), need (2), too (2), updated (2), 2026 (2), utc (2), uis (2), request_dialog (2), upon (2), optionally (2), licensed (2), under (2), license (2), might (2), not (2), log (2), fix (2), troubleshoot (2), interface (2), appear (2), submits (2), contains (2), dataactions (2), closes (2), transfer (2), temporary (2), who (2), should (2), buttonclickedpayload (2), jsonnode (2), setitems (2), googleappscardv1selectioninput (2), setselectioninput (2), googleappscardv1datetimepicker (2), setdatetimepicker (2), googleappscardv1textinput (2), settextinput (2), handlebuttonclicked (2), setinteraction (2), handlemessage (2), args (2), open_confirmation_dialog (2), elif (2), before (2), submitting (2), populate (2), doing (2), receives (2), payload (2), shows (2), slash (2), figure (2), either (2), part (2), only (2), extends (2), run (2), note (2), using (2), within (2), previews (2), training (2), builder (2), marketplace (2), automate (2), share (2), vault (2), tasks (2), sites (2), classroom (2), search (2), restrictions (2), best (2), practices (2), test (2), style (2), scopes (2), studio (2), objects (2), configuration (2), links (2), dialogflow (2), provide (2), conference (2), compose (2), contextual (2), reference (2), guides (2), cookies, privacy, firebase, chrome, android, subscribe, channel, videos, try, guided, hands, coding, experience, explore, copy, them, own, follow, workspacedevs, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, missingtheinformationineed, complicated, many, toocomplicatedtoomanysteps, out, outofdate, issue, samplescodeissue, otherdown, facilitate, triggered, they, presenting, current, showing, prior, accessible, via, passed, possible, once, closed, tell, except, otherwise, noted, registered, trademark, oracle, affiliates, site, policies, apache, creative, commons, attribution, although, descriptive, available, logging, turned, viewing, debugging, fixing, surfaces, saying, something, went, wrong, unable, sometimes, doesn, but, produces, unexpected, result, link, updateinlinepreviewaction, sent, which, requested, updatemessageaction, sending, existing, passing, isempty, interacting, true, isdialogevent, executes, associated, provides, reply, onmessage, parsedouble, double, long, format, yyyy, simpledateformat, null, accessorywidget, setaccessorywidgets, strftime, 1000, int, fromtimestamp, datetime, handle_button_clicked, handle_message, leads, track, retrieving, additional, review, dynamically, validating, submitted, navigation, contain, elements, specify, widget, designing, specifies, prompts, includes, addcontact, bottom, setting, check, checkbox, configuring, closing, opening, section, explains, written, prerequisites, building, windowed, space, contents, visible, opened, api, events, describes, currently, program, require, specific, setup, environments, snippets, demonstrate, handling, submissions, validation, processes, initiated, utilize, windows, used, gather, outlined_flag, summary, save, categorize, preferences, stay, organized, collections, published, publish, css, package, sidebars, menus, html, manifest, authorization, lifecycle, upgrade, legacy, glossary, query, logs, debug, services, activity, select, files, folders, dynamic, define, custom, resource, output, variable, versions, calculator, convert, gemini, enterprise, agent2ui, a2ui, agent2agent, a2a, agent, development, kit, adk, pub, sub, smart, chips, editors, attachment, icons, solution, logos, settings, sync, changes, conferences, draft, locale, timezone, autocomplete, universal, navigate, homepages, endpoints, manifests, oauth, consent, install, authorize, types, sign, skip,
Text of the page (random words):
card message to open the dialog set the field onclick action interaction of the button to open_dialog node js node chat contact form app index js view on github buttonlist buttons text add contact onclick action function function_url interaction open_dialog parameters key actionname value openinitialdialog replace function_url with the http endpoint that handles the button clicks python python chat contact form app main py view on github buttonlist buttons text add contact onclick action function function_url interaction open_dialog parameters key actionname value openinitialdialog replace function_url with the http endpoint that handles the button clicks java java chat contact form app src main java com google chat contact app java view on github setbuttonlist new googleappscardv1buttonlist setbuttons list of new googleappscardv1button settext add contact setonclick new googleappscardv1onclick setaction new googleappscardv1action setfunction function_url setinteraction open_dialog setparameters list of new googleappscardv1actionparameter setkey actionname setvalue openinitialdialog replace function_url with the http endpoint that handles the button clicks apps script this example sends a card message by returning card json you can also use the apps script card service apps script chat contact form app code gs view on github buttonlist buttons text add contact onclick action function openinitialdialog interaction open_dialog open the initial dialog when a user triggers a dialog request your chat app receives an event object with a payload that specifies a dialogeventtype object as request_dialog to open a dialog your chat app can respond to the request by returning a renderactions object with the navigation pushcard to display a card the card should contain any user interface ui elements including one or more sections of widgets to collect information from users you can specify form input widgets and a button widget to learn more about designing form inputs see collect and process information from users the following code sample shows how a chat app returns a response that opens a dialog node js node chat contact form app index js view on github opens the initial step of the dialog that lets users add contact details return object open the dialog function openinitialdialog return action navigations pushcard sections widgets textinput name contactname label first and last name type single_line datetimepicker name contactbirthdate label birthdate type date_only selectioninput name contacttype label contact type type radio_button items text work value work selected false text personal value personal selected false buttonlist buttons text next onclick action function function_url parameters key actionname value openconfirmationdialog replace function_url with the http endpoint that handles the button clicks python python chat contact form app main py view on github def open_initial_dialog mapping str any opens the initial step of the dialog that lets users add contact details returns mapping str any open the dialog return action navigations pushcard sections widgets textinput name contactname label first and last name type single_line datetimepicker name contactbirthdate label birthdate type date_only selectioninput name contacttype label contact type type radio_button items text work value work selected false text personal value personal selected false buttonlist buttons text next onclick action function function_url parameters key actionname value openconfirmationdialog replace function_url with the http endpoint that handles the button clicks java java chat contact form app src main java com google chat contact app java view on github opens the initial step of the dialog that lets users add contact details return object open the dialog genericjson openinitialdialog googleappscardv1card cardv2 new googleappscardv1card setsections list of new googleappscardv1section setwidgets list of new googleappscardv1widget settextinput new googleappscardv1textinput setname contactname setlabel first and last name settype single_line new googleappscardv1widget setdatetimepicker new googleappscardv1datetimepicker setname contactbirthdate setlabel birthdate settype date_only new googleappscardv1widget setselectioninput new googleappscardv1selectioninput setname contacttype setlabel contact type settype radio_button setitems list of new googleappscardv1selectionitem settext work setvalue work setselected false new googleappscardv1selectionitem settext personal setvalue personal setselected false new googleappscardv1widget setbuttonlist new googleappscardv1buttonlist setbuttons list of new googleappscardv1button settext next setonclick new googleappscardv1onclick setaction new googleappscardv1action setfunction function_url setparameters list of new googleappscardv1actionparameter setkey actionname setvalue openconfirmationdialog return new genericjson put action new genericjson put navigations list of new genericjson put pushcard cardv2 replace function_url with the http endpoint that handles the button clicks apps script this example sends a card message by returning card json you can also use the apps script card service apps script chat contact form app code gs view on github opens the initial step of the dialog that lets users add contact details param object event the event object from the google workspace add on return object open the dialog function openinitialdialog event return action navigations pushcard sections widgets textinput name contactname label first and last name type single_line datetimepicker name contactbirthdate label birthdate type date_only selectioninput name contacttype label contact type type radio_button items text work value work selected false text personal value personal selected false buttonlist buttons text next onclick action function openconfirmationdialog handle the dialog submission when users click a button that submits a dialog your chat app receives an event object with an buttonclickedpayload object in the payload the dialogeventtype is set to submit_dialog to understand how to collect and process the information in the dialog see collect and process information from google chat users your chat app must respond to the event object by doing one of the following return another dialog to populate another card or form close the dialog after validating the data the user submitted and optionally send a confirmation message optional return another dialog after users submit the initial dialog chat apps can return one or more additional dialogs to help users review information before submitting complete multi step forms or populate form content dynamically to process the data that users input the chat app handles the data in the event s commoneventobject forminputs object to learn more about retrieving values from input widgets see collect and process information from users to keep track of any data that users input from the initial dialog you must add parameters to the button that opens the next dialog for details see transfer data to another card in this example a chat app opens an initial dialog that leads to a second dialog for confirmation before submitting node js node chat contact form app index js view on github responds to a message in google chat return object response that handles dialogs function handlemessage return hostappdataaction chatdataaction createmessageaction message text to add a contact use the add contact button below accessorywidgets buttonlist buttons text add contact onclick action function function_url interaction open_dialog parameters key actionname value openinitialdialog responds to a button clicked in google chat param object event the event object from the google workspace add on return object response depending on the button clicked function handlebuttonclicked event initial dialog form page if event commoneventobject parameters actionname openinitialdialog return openinitialdialog confirmation dialog form page else if event commoneventobject parameters actionname openconfirmationdialog return openconfirmationdialog event submission dialog form page else if event commoneventobject parameters actionname submitdialog return submitdialog event opens the initial step of the dialog that lets users add contact details return object open the dialog function openinitialdialog return action navigations pushcard sections widgets textinput name contactname label first and last name type single_line datetimepicker name contactbirthdate label birthdate type date_only selectioninput name contacttype label contact type type radio_button items text work value work selected false text personal value personal selected false buttonlist buttons text next onclick action function function_url parameters key actionname value openconfirmationdialog opens the second step of the dialog that lets users confirm details param object event the event object from the google workspace add on return object update the dialog function openconfirmationdialog event retrieve the form input values const name event commoneventobject forminputs contactname stringinputs value 0 const birthdate event commoneventobject forminputs contactbirthdate dateinput mssinceepoch const type event commoneventobject forminputs contacttype stringinputs value 0 display the input values for confirmation return action navigations pushcard sections widgets textparagraph text confirm contact information and submit textparagraph text b name b name textparagraph text b birthday b new date birthdate textparagraph text b type b type buttonlist buttons text submit onclick action function function_url parameters key actionname value submitdialog pass input values as parameters for last dialog step submission key contactname value name key contactbirthdate value birthdate key contacttype value type replace function_url with the http endpoint that handles the button clicks python python chat contact form app main py view on github def handle_message mapping str any responds to a message in google chat returns mapping str any the response that handles dialogs return hostappdataaction chatdataaction createmessageaction message text to add a contact use the add contact button below accessorywidgets buttonlist buttons text add contact onclick action function function_url interaction open_dialog parameters key actionname value openinitialdialog def handle_button_clicked event mapping str any mapping str any responds to a button clicked in google chat args mapping str any event the event object from the google workspace add on returns mapping str any the response depending on the button clicked initial dialog form page if openinitialdialog event commoneventobject parameters actionname return open_initial_dialog confirmation dialog form page elif openconfirmationdialog event commoneventobject parameters actionname return open_confirmation_dialog event submission dialog form page elif submitdialog event commoneventobject parameters actionname return submit_dialog event def open_initial_dialog mapping str any opens the initial step of the dialog that lets users add contact details returns mapping str any open the dialog return action navigations pushcard sections widgets textinput name contactname label first and last name type single_line datetimepicker name contactbirthdate label birthdate type date_only selectioninput name contacttype label contact type type radio_button items text work value work selected false text personal value personal selected false buttonlist buttons text next onclick action function function_url parameters key actionname value openconfirmationdialog def open_confirmation_dialog event mapping str any mapping str any opens the second step of the dialog that lets users confirm details args mapping str any event the event object from the google workspace add on returns mapping str any update the dialog name event get commoneventobject get forminputs contactname get stringinputs get value 0 birthdateepoch event get commoneventobject get forminputs contactbirthdate get dateinput get mssinceepoch birthdate datetime fromtimestamp int birthdateepoch 1000 0 strftime y m d type event get commoneventobject get forminputs contacttype get stringinputs get value 0 display the input values for confirmation return action navigations pushcard sections widgets textparagraph text confirm contact information and submit textparagraph text b name b name textparagraph text b birthday b birthdate textparagraph text b type b type buttonlist buttons text submit onclick action function function_url parameters key actionname value submitdialog pass input values as parameters for last dialog step submission key contactname value name key contactbirthdate value birthdate key contacttype value type replace function_url with the http endpoint that handles the button clicks java java chat contact form app src main java com google chat contact app java view on github responds to a message in google chat return response that handles dialogs genericjson handlemessage message message new message settext to add a contact use the add contact button below setaccessorywidgets list of new accessorywidget setbuttonlist new googleappscardv1buttonlist setbuttons list of new googleappscardv1button settext add contact setonclick new googleappscardv1onclick setaction new googleappscardv1action setfunction function_url setinteraction open_dialog setparameters list of new googleappscardv1actionparameter setkey actionname setvalue openinitialdialog return new genericjson put hostappdataaction new genericjson put chatdataaction new genericjson put createmessageaction new genericjson put message message responds to a button clicked in google chat param event the event object from the google workspace add on return response depending on the button clicked genericjson handlebuttonclicked jsonnode event string actionname event at commoneventobject parameters actionname astext initial dialog form page if openinitialdialog equals actionname return openinitialdialog confirmation dialog form page else if openconfirmationdialog equals actionname return openconfirmationdialog event submission dialog form page else if submitdialog equals actionname return submitdialog event return null opens the initial step of the dialog that lets users add contact details return object open the dialog genericjson openinitialdialog googleappscardv1card cardv2 new googleappscardv1card setsections list of new googleappscardv1section setwidgets list of new googleappscardv1widget settextinput new googleappscardv1textinput setname contactname setlabel first and last name settype single_line new googleappscardv1widget setdatetimepicker new googleappscardv1datetimepicker setname contactbirthdate setlabel birthdate settype date_only new googleappscardv1widget setselectioninput new googleappscardv1selectioninput setname contacttype setlabel contact type settype radio_button setitems list of new goog...
|