Creating events in Google Calendar

Using our integration with Zapier, you can create new events in Google Calendar when new entries are submitted in Cognito Forms.

To create new events in Google Calendar when new entries are submitted:

  1. Add four Date fields on your form – two Start/End Date fields set to the Date type and two Start/End Time fields set to the Time type.
    chrome_y4Fff8Z6eR.png

  2. Add a Calculation field labelled “Start Time Calculation” and set the calculation to: =StartDate.ToString("yyyy-MM-dd") + "T" + StartTime.ToString("HH:mm") Be sure to replace ‘StartDate’ and ‘StartTime’ to match the field names on your form.

  3. Add another Calculation field labelled “End Time Calculation” and set the calculation to: =EndDate.ToString("yyyy-MM-dd") + "T" + EndTime.ToString("HH:mm") Be sure to replace ‘EndDate’ and ‘EndTime’ to match the field names on your form.

  4. Set Show This Field for both Calculation fields to For Roles – Internal.
    chrome_N5Is8n4BiJ.png

  5. If your form doesn’t have any entries, add a new sample entry for testing.

  6. Create a new Zap. Select Cognito Forms as the App and New Entry as the Event. If you haven’t already, connect your Cognito Forms account to Zapier and select your form as the Trigger.
    chrome_61LvN7dbLN.png

  7. For the Action, select Google Calendar as the App and Create Detailed Event as the Event. Then, connect your Google Calendar account.
    chrome_SY3iorSZtb.png

  8. In the Action settings, include details as the event summary, description, and location. For Start Date & Time and End Date & Time, select the Start Time/End Time Calculation fields from your form.
    chrome_LCEmRhz10E.png

  9. Test out your Zap to create a new event in Google Calendar. chrome_QudIShqMA9.png