How to Create a Google Calendar Invite from a Webflow Form

This post will teach you How to Create a Google Calendar Invite from a Webflow Form, what creating a Google Calendar Invite from a Webflow Form feature is and when/why you might want to use a Google Calendar Invite from a Webflow Form in your project.

TABLE OF CONTENTS
Ovidiu

How to Create a Google Calendar Invite from a Webflow Form

Memberscripts needed

https://www.memberstack.com/scripts/custom-booking-form

Tutorial

Cloneable

https://webflow.com/made-in-webflow/website/custom-booking-form?utm_medium=affiliate&ps_partner_key=ZHVuY2FuaGFtcmE1MTg5&ps_xid=NCS2R0z3uV2f4Y&gsxid=NCS2R0z3uV2f4Y&gspk=ZHVuY2FuaGFtcmE1MTg5

Why/When would need to Create a Google Calendar Invite from a Webflow Form?

  1. Simplify your site by avoiding third-party embeds.
  2. Avoid Calendly embeds which might not fit in as well with your design or simple forms that don’t have any booking automations.

If you’re looking for a simple way to have a custom-styled booking form without using Calendly or other third-party embeds, you can use one of our MemberScripts and Make.com for a nicer looking, feature-packed custom form.

Granted, this won’t have all the bells and whistles of a Calendly form (e.g. this won’t be able to tell when you’re busy and when you’re available), but it might still be a better fit for most people who want that custom, branded look while retaining the main functionalities of a Calendly form.

Creating a Google calendar invite from a Webflow form

To create a Google calendar invite from a Webflow form, we’re going to use MemberScript #103 – Custom Booking Form. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting everything up in Webflow

The first thing you’ll need to do is create your booking form and style it however you want.

Select the form itself and add the following attribute to it:

  • ms-code-booking-timezone=”TIMEZONE” – the value can be EST, CET, etc.

Now select the day field and add the following attribute to it:

  • ms-code-booking=”day”

This will populate the day dropdown with all the business days within the next two weeks.

Then select the time field and add the following attribute to it:

  • ms-code-booking=”time”

Setting everything up on Make.com

If you don’t already have a Make.com account, go ahead and create one now.

After you’ve got your account, go ahead and download this JSON blueprint file to help you get started.

Once you’ve got the blueprint files, go to Make.com and select Create a new scenario.

A screenshot of a computerDescription automatically generated

Next, click on the button with 3 small dots inside it and select Import Blueprint.

A screenshot of a computerDescription automatically generated

Select the blueprint file you downloaded earlier and you’re good to go.

Here’s what you need to do to manually create the scenario:

Create a webhook and copy its URL.

Go to Webflow, select your form, and in the sidebar under Form settings, paste the URL in the Action field and select POST as the method.

Now go back to Make and create a Google Calendar module. Link it to your Google account and style it however you want.

For start date, use the timestamp from the webhook you created earlier.

Under Duration just type how long you want these events to last (e.g. 00:30, 01:00, etc.).

Under Description just get the information from whichever form field is relevant (if applicable).

Under Attendees fill out your email address for the first attendee and for the second, just let it get the email address from the form.

The rest of the settings can be tweaked however you want depending on your needs.

Making it work

Now that you’ve got your custom button and you’ve added the appropriate attributes, all you need to do is add the MemberScript #103 custom code to your page, before the closing body tag.

If you want to change the number of days the day dropdown shows, just edit the number in the custom code:

A screenshot of a computerDescription automatically generated

If you want to change the working hours for the time field, these are the lines you need to edit:

A screen shot of a computerDescription automatically generated

Conclusion

That’s everything, you can now go ahead and test the booking form on your live site.

If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.

Our demo can help you add a custom styled booking form to your Webflow site which automatically creates a Google calendar invite.

Take me to the Script!

Add memberships to your Webflow project in minutes.

Learn more

Over 200 free cloneable Webflow components. No sign up needed.

View Library

Add memberships to your React project in minutes.

Get started
What is Memberstack?

Auth & payments for Webflow sites

Add logins, subscriptions, gated content, and more to your Webflow site - easy, and fully customizable.

Learn more
Start building

Try out Memberstack & discover what you can build!

Memberstack is 100% free until you're ready to launch - so, what are you waiting for? Create your first app and start building today.