{"id":67059,"date":"2024-04-12T10:00:08","date_gmt":"2024-04-12T01:00:08","guid":{"rendered":"https:\/\/support.questetra.com\/?p=67059"},"modified":"2024-04-12T10:03:21","modified_gmt":"2024-04-12T01:03:21","slug":"googlecalendar-insertevent","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/bpmn-icons\/googlecalendar-insertevent\/","title":{"rendered":"Google Calendar: Insert Event"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113160\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/how-to-use-timer-start-event\/attachment\/advanced-banner-new-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"advanced-banner-new-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en-1024x58.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113160\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-en.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--20)\"><strong>Google Calendar: Insert Event<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-border-color has-product-main-border-color has-white-color has-product-main-background-color has-text-color has-background has-link-color has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/googlecalendar-insertevent\/\">Google \u30ab\u30ec\u30f3\u30c0\u30fc: \u4e88\u5b9a\u8ffd\u52a0<\/a><\/p>\n\n\n\n<p class=\"has-border-color has-product-main-border-color has-text-color has-white-background-color has-background has-link-color mt-0 pt-0 wp-block-paragraph\" style=\"border-width:2px;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">This item inserts an event to Google Calendar.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEt0lEQVRYR8VXX2xTVRj\/ndv2tmv3\np1cGDyqM8SBRx9jcNBEMW7apSMKYMWoiD9sSEhITQ33AB23DyOaDJmoxGqPRbBgwEhMdUSRKS4ri\nXMA\/I4jJhkZQIEhgbdm69ra395hz72572t5u3UbwvDS99\/vO+Z3v+\/2+77sE\/\/MiCzm\/vT\/cRYjQ\nAtAGAG4A7JetMQARgIwBJBTwVh4udd95AbT2hd1Wm7CLqtRDiHbovItSRIhA\/EpK3RfqkyJzOcwJ\noO3VcA9RyVulHpx\/EAMC0N6gTxouBqIogPb+sJ8Qsmve65ZkQPwBb9WLZqamANoHwkMEpLukvUs0\noiBDQW9Vb755AQD+5utrrGirs8FmmZcqpjAmp1UcPJlAPKm\/ppTuC\/okD2+cszPLuUDJoGHwTm85\n1t5p0f5ejaoYnVCwuUGEw2Z+7ZkkcPy3JDautUFyEagUGD6dxHvH4hkHSumTPCcyABjbLRbyF0+4\nD3dWoKZa0Jwvh1WEzqXQ9aAdLrs5gJgMfP2rjLY6EcvK9a2PjiXx5hEeACLpNK011JEB0NEf7gMh\ne4ytm9dY0V4ngpaYYzMzgQBTCYpDIwlcn+J2onRvwCf1MZ8sgIEwKyRVxkb+7nLcf7ce\/qWstAp8\nfkrGB8EElwZEgj63lAGgVzjyBX\/Q69tdaFxtXcrZmm8qDRwakbH\/uyyAWUJqXNAiYKb53VudeKy+\nCNsWAIsp4N1v4\/jmzKwUZn0NRWgAOvrDIRDSwu\/b0+LAMw\/bYeOy8PcNFYOhBG5MqRo\/Hq0X4RQB\nRr7xKwrGLirY1mTHsoqsuCIxijeOzGD0vJILm9ITAZ\/UqkdgIHyBgNTwFtuaRexoK8tIjpHp4EkZ\nTz1kR3UlwU9\/KojJVJPc8GkZVU4BlybT6Gyyo5oDwNTzyqcxXJ5U8+M2FvC6G\/UIDEQKyL7pXhs8\nT5Shoky\/DdM0y6do1Zl7aVLFqT9S6Gy2g7Gdke3Ln5NgfjyA81fTeP6jadOkBbxuUhRA3UoLXu5y\nYXllbhWUFeBaVMWxs0m03idizQq9TjBwZgBGJhTs+Sw2NwCzFNx1h4DnNjrgduUCiMsUCYXi93\/S\nWFUtYGW1ThIWgdGJFNatsqLSmfUZv5LGx3kKmFXBmaBPaihKwgdqrXip05mpaPlX+DdK8dUvMrY\/\n4tB4UiwCjJi7D5hEIIeEJq23Y50NL2x2aixni\/WCHycUbG0SYRWAUgFcvK5ix\/tTBSnIkaFZIere\n5MCzG7IyZCRkveDaTRW1KywYGdf7Qu08HGAl+LXDM5pE+WU0paKl2LOlDFsaxWytZu0UwHSC4mac\nYnmFoCnCWAwgAye5BNi556xGvH10BsfPpbjzaTTglbTxrmgz2vu0CxvuuTWl+JMfEjjwvZwFYNaM\ntOHTigtGQ+JngQVU3gLTwpmARhUFqwvaMfPkB5KdHQ48Xi\/CsshpyEAyHacYPBFH4KyegqIDieFw\na4fRvIBwoTfe3MahlO4PeqWe\/BzdnrHc5OZzRoBLRxchGOInpYURkkYpRc+iPkyMgzR1WOABgad0\nIDQKCr+Shn9Jn2b5t2UVEwAbIhoo4CaErDcaCwFYT2cfqaG5blwyBxYW6sVb\/wdgbxw\/u9E3bAAA\nAABJRU5ErkJggg==\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Basic Configs<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Step Name<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">Note<\/dd>\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_User<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: User connects to Google Calendar (must be App Administrator)<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdB<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: Calendar ID (When empty, inserted to the primary calendar)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdC<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: Event Title<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdD<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: Data item for Event Start Datetime<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdE<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C5: Data item for Event End Datetime (Not-selected +1:00)<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdF<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C6: Location<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_DataIdG<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C7: Description<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_eventId<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C8: Data item that will save Event ID<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_eventUrl<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C9: Data item that will save Event URL<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\">conf_meetUrl<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C10: Data item that will save Google Meet URL<\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Users in C1 need to have a configured connection with Google Calendar in [Account Settings] &gt; [Google Connectivity]\n<ul class=\"wp-block-list\">\n<li>Google Workspace Connectivity ([System Settings] &gt; [Google Connectivity]) must be enabled on the workflow platform ([System Administrator Authorization] required )<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Refer to the following page for Calendar ID [Calendar Settings] &gt; [Calendar Address]<\/li>\n\n\n\n<li>An event with a start time and end time will be added (you cannot add an all-day schedule)<\/li>\n\n\n\n<li>If an end time Data Item has not been set or the end time has not been input, 60 minutes after start time will be set<\/li>\n\n\n\n<li>If the end time is earlier than the start time the event will not be added to the calendar<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/04\/Google-%E3%82%AB%E3%83%AC%E3%83%B3%E3%83%80%E3%83%BC_%E4%BA%88%E5%AE%9A%E8%BF%BD%E5%8A%A0_%E8%8B%B1%E8%AA%9E_15_0.png?ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\"><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Intermediate Error Catch Event (Boundary Type)\n(opens in a new tab)\">Intermediate Error Catch Event (Boundary Type)<\/a><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<ul class=\"wp-block-list\">\n<li>An XML file that contains the code below is available to download\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/raw.githubusercontent.com\/Questetra\/Addon-XML\/release-2024-03-07\/google-calendar-event-insert.xml\" target=\"_blank\" rel=\"noreferrer noopener\">google-calendar-event-insert.xml<\/a> (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>If you are using Professional, you can modify the contents of this file and use it as your own add-on auto step<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\nfunction main() {\n    \/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 \/ Config Retrieving ==\n    const quser = configs.getObject(&quot;conf_User&quot;);\n    if (quser === null) {\n        throw `User not found.`;\n    }\n    let calendarId = configs.get(&quot;conf_DataIdB&quot;);\n    if (calendarId === &quot;&quot; || calendarId === null) {\n        calendarId = &quot;primary&quot;;\n    }\n    const eventSummary = configs.get(&quot;conf_DataIdC&quot;);\n    if (eventSummary === &quot;&quot; || eventSummary === null) {\n        throw &quot;Event Title is blank.&quot;;\n    }\n    const startDate = engine.findData(configs.getObject(&quot;conf_DataIdD&quot;));\n    if (startDate === null) {\n        throw &quot;Event Start Date is blank.&quot;;\n    }\n    const endDateDef = configs.getObject(&quot;conf_DataIdE&quot;);\n    let endDate = null;\n    if (endDateDef !== null) {\n        endDate = engine.findData(endDateDef);\n    }\n    let eventLocation = configs.get(&quot;conf_DataIdF&quot;);\n    if (eventLocation === null) {\n        eventLocation = &quot;&quot;;\n    }\n    let eventDescription = configs.get(&quot;conf_DataIdG&quot;);\n    if (eventDescription === null) {\n        eventDescription = &quot;&quot;;\n    }\n\n    const eventIdDataDef = configs.getObject(&quot;conf_eventId&quot;);\n    const eventUrlDataDef = configs.getObject(&quot;conf_eventUrl&quot;);\n    const meetUrlDataDef = configs.getObject(&quot;conf_meetUrl&quot;);\n\n    \/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\n    if (calendarId.search(\/^[\\w\\-_.!*&#39;@]+$\/) === -1) {\n        throw &quot;Invalid Calendar ID.&quot;;\n    }\n\n    if (endDate === null) {\n        endDate = startDate.addHours(1);\n    }\n    if (endDate.getTime() &lt; startDate.getTime()) {\n        throw &quot;Event End Date comes before Event Start Date.&quot;;\n    }\n\n    \/\/\/\/ == \u4e88\u5b9a\u3092\u8ffd\u52a0\u3059\u308b \/ Insert Event ==\n    insertEvent(\n        quser,\n        calendarId,\n        eventSummary,\n        eventLocation,\n        eventDescription,\n        startDate,\n        endDate,\n        eventIdDataDef,\n        eventUrlDataDef,\n        meetUrlDataDef\n    );\n}\n\n\/**\n * Google \u30ab\u30ec\u30f3\u30c0\u30fc\u306b\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0\u3059\u308b\n * @param {QuserView} quser \u30e6\u30fc\u30b6\u30fc\n * @param {String} calendarId \u30ab\u30ec\u30f3\u30c0\u30fcID\n * @param {String} eventSummary \u4e88\u5b9a\u30bf\u30a4\u30c8\u30eb\n * @param {String} eventLocation \u5834\u6240\u60c5\u5831\n * @param {String} eventDescription \u8aac\u660e\u60c5\u5831\n * @param {AddableTimestamp} startDate \u958b\u59cb\u65e5\u6642\n * @param {AddableTimestamp} endDate \u7d42\u4e86\u65e5\u6642\n * @param {ProcessDataDefinitionView} eventIdDataDef Event ID \u3092\u4fdd\u5b58\u3059\u308b\u6587\u5b57\u578b\u30c7\u30fc\u30bf\u9805\u76ee\n * @param {ProcessDataDefinitionView} eventUrlDataDef Event URL \u3092\u4fdd\u5b58\u3059\u308b\u6587\u5b57\u578b\u30c7\u30fc\u30bf\u9805\u76ee\n * @param {ProcessDataDefinitionView} meetUrlDataDef Meet URL \u3092\u4fdd\u5b58\u3059\u308b\u6587\u5b57\u578b\u30c7\u30fc\u30bf\u9805\u76ee\n *\/\nfunction insertEvent(\n    quser,\n    calendarId,\n    eventSummary,\n    eventLocation,\n    eventDescription,\n    startDate,\n    endDate,\n    eventIdDataDef,\n    eventUrlDataDef,\n    meetUrlDataDef\n) {\n    const uri = `https:\/\/www.googleapis.com\/calendar\/v3\/calendars\/${calendarId}\/events`;\n\n    const sdf = new java.text.SimpleDateFormat(&quot;yyyy-MM-dd&#39;T&#39;HH:mm:ss&quot;);\n\n    const myObj = {};\n    myObj.summary = eventSummary;\n    myObj.location = eventLocation;\n    myObj.description = eventDescription;\n    myObj.start = {};\n    myObj.start.dateTime = sdf.format(startDate);\n    myObj.start.timeZone = engine.getTimeZoneId();\n    myObj.end = {};\n    myObj.end.dateTime = sdf.format(endDate);\n    myObj.end.timeZone = engine.getTimeZoneId();\n    myObj.source = {};\n    myObj.conferenceData = {};\n    myObj.conferenceData.createRequest = {};\n    myObj.conferenceData.createRequest.requestId = `q-${processInstance.getProcessInstanceId()}`;\n    myObj.conferenceData.createRequest.conferenceSolutionKey = {};\n    myObj.conferenceData.createRequest.conferenceSolutionKey.type =\n        &quot;hangoutsMeet&quot;;\n\n    let request = httpClient.begin().googleOAuth2(quser, &quot;Calendar&quot;);\n    if (meetUrlDataDef !== null) {\n        request = request.queryParam(&quot;conferenceDataVersion&quot;, &quot;1&quot;);\n    }\n    const response = request\n        .body(JSON.stringify(myObj), &quot;application\/json&quot;)\n        .post(uri);\n\n    const status = response.getStatusCode();\n    if (status &gt;= 300) {\n        const accessLog = `---POST request---${status}\\n${response.getResponseAsString()}`;\n        engine.log(accessLog);\n        throw `Failed to insert event. status:${status}`;\n    }\n\n    const responseStr = response.getResponseAsString();\n    const eventJson = JSON.parse(responseStr);\n    const eventId = eventJson.id;\n    const eventUrl = eventJson.htmlLink;\n    const meetUrl = eventJson.hangoutLink;\n    if (eventIdDataDef !== null) {\n        engine.setData(eventIdDataDef, eventId);\n    }\n    if (eventUrlDataDef !== null) {\n        engine.setData(eventUrlDataDef, eventUrl);\n    }\n    if (meetUrlDataDef !== null) {\n        engine.setData(meetUrlDataDef, meetUrl);\n    }\n}\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This item inserts an event to Google Calendar.<\/p>\n","protected":false},"author":5,"featured_media":110688,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[551],"tags":[397,3162],"faq_section":[],"class_list":["post-67059","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons","tag-google-calendar-api-v3","tag-google-workspace"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"HatanakaAkihiro","author_link":"https:\/\/support.questetra.com\/en\/author\/hatanaka-akihiro\/"},"uagb_comment_info":0,"uagb_excerpt":"This item inserts an event to Google Calendar.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-hrB","jetpack-related-posts":[{"id":77545,"url":"https:\/\/support.questetra.com\/en\/templates\/entrusted-delivery-flow-20140127\/","url_meta":{"origin":67059,"position":0},"title":"Entrusted-Delivery Flow","author":"Hirotaka NISHI","date":"2020-12-24","format":false,"excerpt":"Manages orders from acceptance to delivery. Item information etc. are input at the Step of [1. Order Info] and the Issue is started after the Step of [2. Delivery Date Check]. The \u201cdelivery date\u201d is automatically registered in Google Calendar. If multiple deals are progressing in parallel, you can list\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-entrusted-delivery-flow-20140127-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-entrusted-delivery-flow-20140127-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-entrusted-delivery-flow-20140127-209-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-entrusted-delivery-flow-20140127-209-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-entrusted-delivery-flow-20140127-209-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67057,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/googlecalendar-insertevent\/","url_meta":{"origin":67059,"position":1},"title":"Google \u30ab\u30ec\u30f3\u30c0\u30fc: \u4e88\u5b9a\u8ffd\u52a0","author":"HatanakaAkihiro","date":"2024-04-12","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001Google \u30ab\u30ec\u30f3\u30c0\u30fc\u306b\u4e88\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":77509,"url":"https:\/\/support.questetra.com\/en\/templates\/product-demo-flow-20161031\/","url_meta":{"origin":67059,"position":2},"title":"Product Demo Flow","author":"Hirotaka NISHI","date":"2021-02-18","format":false,"excerpt":"Accepts product demo requests and carry out the demo. Started by the acceptance of an application via the web form or an email and person in charge will be assigned at the [1. Assignment of Representative] Step. When the representative decides the demo date schedule, it is automatically registered in\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-product-demo-flow-20161031-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-product-demo-flow-20161031-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-product-demo-flow-20161031-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-product-demo-flow-20161031-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-product-demo-flow-20161031-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":107864,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-google-calendar-event-delete\/","url_meta":{"origin":67059,"position":3},"title":"Google Calendar: Delete Event","author":"Hirotaka NISHI","date":"2024-04-12","format":false,"excerpt":"This item deletes an event on Google Calendar.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/07\/service-task-google-calendar-delete-event.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/07\/service-task-google-calendar-delete-event.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/07\/service-task-google-calendar-delete-event.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/07\/service-task-google-calendar-delete-event.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/07\/service-task-google-calendar-delete-event.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":78922,"url":"https:\/\/support.questetra.com\/en\/templates\/personnel-change-announcement-process-20170821\/","url_meta":{"origin":67059,"position":4},"title":"Personnel Change Announcement Process","author":"Hirotaka NISHI","date":"2021-01-14","format":false,"excerpt":"Notifies Personnel changes information to in-house by email. Starts automatically every Friday early in the morning and automatically and retrieves events concerning HR scheduled for the following week from Google Calendar. If there is an HR event, it will be sent to the internal mailing list.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/eye-catch-personnel-change-announcement-process-20170821-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/eye-catch-personnel-change-announcement-process-20170821-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/eye-catch-personnel-change-announcement-process-20170821-209-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/eye-catch-personnel-change-announcement-process-20170821-209-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/eye-catch-personnel-change-announcement-process-20170821-209-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76841,"url":"https:\/\/support.questetra.com\/en\/templates\/website-analytics-report-process-20170814\/","url_meta":{"origin":67059,"position":5},"title":"Website Analytics Report Process","author":"Hirotaka NISHI","date":"2021-04-05","format":false,"excerpt":"Starts periodically to obtain access information and automatically delivers a report by an email. Generates reports automatically based on the information obtained from Google Analytics and Google Calendar using the API. The marketing staff is able to make appending and correction on reports.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/bpmn-icon-service-task-google-calendar.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=67059"}],"version-history":[{"count":48,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67059\/revisions"}],"predecessor-version":[{"id":159893,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67059\/revisions\/159893"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/110688"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=67059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=67059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=67059"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=67059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}