<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Google Calendar Integration</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Google Calendar Integration</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:00:04 +0000</pubDate>

<item>
<title>yuniar on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-21532</link>
<pubDate>Mon, 04 Aug 2014 15:37:15 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">21532@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Unfortunately, my post from 7 month above is no longer valid. Google now enforced all API integration to use OAuth2 for the authentication, hence it won't work with the new webhook functionality within v4.
&#60;/p&#62;</description>
</item>
<item>
<title>johanstulens on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-21507</link>
<pubDate>Wed, 30 Jul 2014 19:49:17 +0000</pubDate>
<dc:creator>johanstulens</dc:creator>
<guid isPermaLink="false">21507@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Any news on integration with Google Calendar yet ?&#60;/p&#62;
&#60;p&#62;I allso would like to use machform to add to a Google Calendar.
&#60;/p&#62;</description>
</item>
<item>
<title>atteam on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-19948</link>
<pubDate>Wed, 15 Jan 2014 15:54:14 +0000</pubDate>
<dc:creator>atteam</dc:creator>
<guid isPermaLink="false">19948@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Occasionally I visit this forum to see if there's any blog update, or if Machform is still actively developed. Glad hearing about version 4 preview coming soon.&#60;br /&#62;
I forgot to renew my license last year (oops, no reminder was sent either..)
&#60;/p&#62;</description>
</item>
<item>
<title>cscrofani on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-19945</link>
<pubDate>Wed, 15 Jan 2014 04:09:16 +0000</pubDate>
<dc:creator>cscrofani</dc:creator>
<guid isPermaLink="false">19945@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Will the planned integration be able to restrict available dates/times based on timeslots that are already populated in the calendar?&#60;/p&#62;
&#60;p&#62;For instance, if there is a form for people to choose which time they want to take a tour, and there's only two spots available on a certain time/date, will machform be able to read the calendar and only allow people to choose the available dates/times?
&#60;/p&#62;</description>
</item>
<item>
<title>he4gaveme on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-19944</link>
<pubDate>Wed, 15 Jan 2014 02:16:47 +0000</pubDate>
<dc:creator>he4gaveme</dc:creator>
<guid isPermaLink="false">19944@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Would it also then be possible to integrate with Google Contacts?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-19894</link>
<pubDate>Sat, 04 Jan 2014 05:49:14 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">19894@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We don't have anything for Google calendar yet, for the current version. However, the next version (v4) would allow you to integrate your form with Google calendar API (we'll post some previews and details soon within our blog).
&#60;/p&#62;</description>
</item>
<item>
<title>jeannewey on "Google Calendar Integration"</title>
<link>https://www.machform.com/forums/topic/google-calendar-integration#post-19868</link>
<pubDate>Sun, 29 Dec 2013 03:57:26 +0000</pubDate>
<dc:creator>jeannewey</dc:creator>
<guid isPermaLink="false">19868@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Has anyone integrated Machform with the Google Calendar API? We want to use MF for a transportation booking system and we want the booking date and details to be automatically sent to our Google Calendar. I found code for Google sites and forms (below). I can probably figure it out within a few days, but don't want to repeat work if someone has already done it. &#60;/p&#62;
&#60;p&#62;This would be a FANTASTIC enhancement and the Google Calendar API was simplified this year, too.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://sites.google.com/site/appsscripttutorial/calendar-services/create-calendar-events-by-submitting-form&#34; rel=&#34;nofollow&#34;&#62;https://sites.google.com/site/appsscripttutorial/calendar-services/create-calendar-events-by-submitting-form&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;//Create the GUI form&#60;/p&#62;
&#60;p&#62;function doGet() {&#60;br /&#62;
  var app = UiApp.createApplication().setTitle('Form and Calendar Events');&#60;/p&#62;
&#60;p&#62;  //Create a penel which holds all the form elelemnts&#60;br /&#62;
  var panel = app.createVerticalPanel().setId('panel');&#60;/p&#62;
&#60;p&#62;  //Create the form elelemnts&#60;br /&#62;
  var eventDateLabel = app.createLabel('Event Date:');&#60;br /&#62;
  var evenDate = app.createDateBox().setId('eventDate');&#60;br /&#62;
  var eventTitleLabel = app.createLabel('Event title:');&#60;br /&#62;
  var eventTitle = app.createTextBox().setName('eventTitle').setId('eventTitle');&#60;br /&#62;
  var eventDeatilLabel = app.createLabel('Event Details:');&#60;br /&#62;
  var eventDetail = app.createTextArea()&#60;br /&#62;
      .setSize('200', '100').setId('eventDetail').setName('eventDetail');&#60;br /&#62;
    var btn = app.createButton('createEvents');&#60;/p&#62;
&#60;p&#62;  //Create handler which eill execute 'createEvents(e)' on clicking the button&#60;br /&#62;
  var handler = app.createServerClickHandler('createEvents');&#60;br /&#62;
  handler.addCallbackElement(panel);&#60;br /&#62;
  //Add this handler to the button&#60;br /&#62;
  btn.addClickHandler(handler);&#60;/p&#62;
&#60;p&#62;  //Add all the elemnts to the panel&#60;br /&#62;
  panel.add(eventDateLabel)&#60;br /&#62;
    .add(evenDate)&#60;br /&#62;
    .add(eventTitleLabel)&#60;br /&#62;
    .add(eventTitle)&#60;br /&#62;
    .add(eventDeatilLabel)&#60;br /&#62;
    .add(eventDetail)&#60;br /&#62;
    .add(btn);&#60;br /&#62;
  //Add this panel to the application&#60;br /&#62;
  app.add(panel);&#60;br /&#62;
  //return the application&#60;br /&#62;
  return app;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function createEvents(e){&#60;/p&#62;
&#60;p&#62;  //Get the active application&#60;br /&#62;
  var app = UiApp.getActiveApplication();&#60;/p&#62;
&#60;p&#62;  try{&#60;br /&#62;
    //get the entries;&#60;br /&#62;
    var eventDate = e.parameter.eventDate;&#60;br /&#62;
    var eventTitle = e.parameter.eventTitle;&#60;br /&#62;
    var eventDetails = e.parameter.eventDetail;&#60;/p&#62;
&#60;p&#62;    //Get the calendar&#60;br /&#62;
    var cal = CalendarApp.getCalendarsByName('Calendar-Name')[0];//Change the calendar name&#60;br /&#62;
    var eventStartTime = eventDate;&#60;br /&#62;
    //End time is calculated by adding an hour in the event start time&#60;br /&#62;
    var eventEndTime = new Date(eventDate.valueOf()+60*60*1000);&#60;br /&#62;
    //Create the events&#60;br /&#62;
    cal.createEvent(eventTitle, eventStartTime,eventEndTime ,{description:eventDetails});&#60;/p&#62;
&#60;p&#62;    //Log the entries in a spreadsheet&#60;br /&#62;
    var ss = SpreadsheetApp.openById('Spreadsheet-Key');//Change the spreadhseet key to yours&#60;br /&#62;
    var sheet = ss.getSheets()[0];&#60;br /&#62;
    sheet.getRange(sheet.getLastRow()+1, 1, 1, 5).setValues([[new Date(), eventDate,eventTitle, eventDetails, 'Event created']]);&#60;/p&#62;
&#60;p&#62;    //Show the confirmation message&#60;br /&#62;
    app.add(app.createLabel('Event created Successfully'));&#60;br /&#62;
    //make the form panel invisible&#60;br /&#62;
    app.getElementById('panel').setVisible(false);&#60;br /&#62;
    return app;&#60;br /&#62;
  }&#60;/p&#62;
&#60;p&#62;  //If an error occurs, show it on the panel&#60;br /&#62;
  catch(e){&#60;br /&#62;
    app.add(app.createLabel('Error occured: '+e));&#60;br /&#62;
    return app;&#60;br /&#62;
  }&#60;br /&#62;
}
&#60;/p&#62;</description>
</item>

</channel>
</rss>
