Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add Google Calendar Events From Your WordPress Contact Form

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to send events from your WordPress contact form straight to Google Calendar?

Perhaps you use Google Calendar to take bookings, or maybe you have a contact form that lets clients book a call with you. You can automatically add those events to your Google Calendar.

In this article, we will show you how to easily add Google Calendar events from your WordPress contact form.

Adding Google Calendar events from a WordPress contact form

Why Add Google Calendar Events From a WordPress Form?

Normally, you can add a contact form to your WordPress website and get notifications via email or in your WordPress dashboard.

You can use a contact form to allow customers to book appointments, request a callback, get a quote, and more. However, managing contact form leads manually is not very efficient, and you may lose customers because of it.

This is where Google Calendar can help. It works on any device, and you can get instant notifications or reminders for each calendar event.

Automatically sending your form entries to Google Calendar ensures that you don’t miss any bookings, appointments, orders, or calls.

That being said, let’s look at how to easily create a Google Calendar event from your WordPress form entries.

Connecting Your Contact Form and Google Calendar

For this tutorial, we will be using WPForms, which is the best form builder for WordPress. It comes with an intuitive drag-and-drop interface that lets you easily create any type of form.

We will then use Zapier to connect your contact form to Google Calendar. Zapier works as a bridge, connecting 2 different apps with no need for any code.

Let’s get started.

Creating Your Contact Form in WPForms

First, you need to install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: You need the Pro version or higher to use the Zapier addon for WPForms.

Upon activation, go to the WPForms » Settings page and enter your license key. You will find your license key in your account area on the WPForms website.

Entering your license key for WPForms

Now, it’s time to create your contact form. If you already have a contact form set up, simply edit it by going to the WPForms » All Forms page and clicking on its name.

Otherwise, visit the WPForms » Add New page in your WordPress admin to launch the WPForms builder and create a new form.

We are going to use a simple contact form template with added date/time fields for the start and end times of the call. If you need help creating your form and adding fields, check out our step-by-step guide to creating a contact form.

Creating a call booking form in WPForms

Tip: Want to use a specialized event form template instead? Simply install the Form Templates addon in WPForms » Addons for access to the Event Planner Form and 1300+ other templates.

Once you’ve set up your form, you need to add it to your WordPress website. Simply edit the page (or post) where you want to include it or add a new one by going to Pages » Add New.

First, you need to click the ‘+’ icon to add a new block. Then, search for the WPForms block and add it to your content area:

Add a WPForms block to your page in Wordpress

Once you’ve added your form to your website, go ahead and publish or preview the page.

Make sure that you submit a test entry using your form. This test entry is necessary to set up and check the connection between WPForms and Google Calendar.

Here’s our test entry, with name, email, date, start and end time, plus a message:

Creating a test entry for your contact form or booking form

Preparing to Connect WPForms and Zapier

We are going to use Zapier to link WPForms and Google Calendar. This means you need to install and activate the WPForms Zapier addon.

Simply go to the WPForms » Addons page in your WordPress admin. Search for the Zapier addon and then click the ‘Install Addon’ button to install and activate it.

Installing the Zapier addon for WPForms

Now, you need to visit the WPForms » Settings » Integrations page. From here, you simply need to click on the Zapier logo to get an API key.

You may want to copy your API key somewhere safe or keep your tab open. You’ll need this later to connect Zapier to your WPForms account.

Creating Your Zap to Send Data From Your Contact Form to Google Calendar

Now, it’s time to go to the Zapier website. If you don’t already have an account, then go ahead and create a free account here.

Once you are logged in to the Zapier dashboard, click on the ‘Make a Zap’ button. This is on the top left of the screen.

Click on the button to start making your Zap

Note: In Zapier, a ‘Zap’ is a process that has both a trigger and an action. In this case, our trigger will be someone filling in the contact form, and our action will be to create a new event in Google Calendar.

Now, you need to give your Zap a name at the top of the screen. After that, it’s time to set up the trigger.

First, type ‘WPForms’ into the search bar for the ‘Choose App & Event’ box. Then, simply click on the WPForms icon that appears:

Select WPForms as your trigger app in Zapier

Zapier will automatically fill in the trigger event of ‘New Form Entry’.

All you need to do is click the ‘Continue’ button.

Choosing a trigger event in Zapier

Next, Zapier will prompt you to sign in to your WPForms account.

Just click the ‘Sign in to WPForms’ button to do so:

Click the button to sign in to WPForms

You should now see a popup window where you need to enter your API key. This is the API key that you found earlier on the WPForms » Settings » Integrations page in your WordPress admin.

You also need to add the URL of your website.

Enter your API key from WPForms and the URL of your website

After doing that, simply click the ‘Yes, Continue’ button to move to the next step.

Zapier will now ask you to select your contact form from the dropdown list.

Selecting the correct contact form in Zapier

If you have several different forms on your site, then make sure you select the right one:

Next, go ahead and click the ‘Test trigger’ button.

Testing your trigger in Zapier

Zapier will now find the test entry you created earlier.

You will see this displayed on the screen.

The data from the test contact form entry that Zapier has found

Click the ‘Continue’ button, and you’ll move on to the Action part of the Zap.

This is where you need to choose your second app, Google Calendar.

Selecting Google Calendar as your action app

Next, click on the ‘Choose Action Event’ dropdown.

You need to select the ‘Create Detailed Event’ option.

Select 'Create detailed event' as the action event for Google Calendar

This will open the ‘Create Detailed Event in Google Calendar’ page.

Zapier will now prompt you to sign in to your Google Calendar account.

Sign in to your Google Calendar account when prompted by Zapier

You need to give Zapier permission to access your Google Calendar.

This will allow Zapier to create events for you.

Give Zapier permission to access your Google Calendar

Once you’ve signed into Google Calendar, click the ‘Continue’ button to carry on.

Next, you will see the Customize Detailed Event section. Here, you need to select the correct calendar from the first dropdown:

Choose which calendar you want to use with the Zap

Once you’ve done that, type in an event summary for the event.

We’re going to use Client Call for ours. You could also choose a form field here if you have an appropriate field on your form for this.

Type in an summary for your Google Calendar event, e.g. "Client Call"

For the event description, we are going to use the message from the form.

Just click on the ‘Description’ box, then click on the field from the form that you want to use. Your test data will be shown alongside the field name.

Select the form field that you want to use for the Google Calendar event's description

You can include other fields here, such as the person’s name and/or email address.

You also need to make sure you add the Start Date & Time and the End Date & Time. Again, click on the box and select the appropriate field from your form:

Select the correct fields from your form for the start and end times of the event

You may also want to include the email address of the person who booked the call or event.

This means they’ll be sent an invite, so they can easily add the event to their own calendar.

Enter the field for the attendee's email address, if you want to send them a Google Calendar invite

You can change other settings here, as well. Once you are happy with your settings, click the ‘Continue’ button.

Now, Zapier gives you the opportunity to test out your Zap.

The details of the test event that will be sent to Google Calendar

First, you will see the details of what’s going to be sent to Google Calendar.

Below this, simply click the ‘Test & Continue’ button to test out your Zap.

Click the 'Test and Continue' button to send the test entry's details to Google Calendar

Next, you should check that the Zap worked.

You need to go ahead and view your Google Calendar to check that the test event has been successfully added.

Viewing the details of the event that's been added to Google Calendar

Finally, you need to switch on your Zap.

Simply click the blue ‘Turn on Zap’ button.

Turn on your Zap once you're ready

Tip: If your event has been added at the wrong time of day, check the timezone settings in your Zapier profile. If these are incorrect, set them to the correct timezone and test your Zap again.

That’s it. Your contact form entries will now be automatically sent to your Google Calendar.

Expert Guides on Using Calendars in WordPress

Now that you know how to add Google Calendar events from your WordPress contact form, you may like to see some other guides related to calendars, events, and bookings in WordPress.

We hope this article helped you learn how to add Google Calendar events from your WordPress contact form. You may also want to see our expert pick of the best business phone services and our step-by-step guide on how to get a free business email address.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

3 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Lana says

    Thanks for another great tutorial. I would be lost without you and your team. Great, easy to understand information and you don’t make me feel odd for asking questions. Thanks to you and all your team.memebers.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.