Connecting WPForms Directly with Calendly – No Extra Third Party Apps

WPForms for WordPress

There are a few form options for WordPress, but WPForms is a popular form plugin that is robust and comes loaded with features, and you can use the free version of this plugin, which is what we’ll be doing today.

What is Calendly?

Calendly is a scheduling platform. It’s a great way to engage your site visitors for making an appointment with you. There is also a free version of Calendly available.

Why Integrate the Two?

If forms are an important feature of your website, and scheduling appointments is also important, combining the two can be a great way to inspire your site visitors to commit to a meeting. The point of integrating the two is a seamless process of going from the form on your website to Calendly’s appointment application where the form fields from the website auto-populate Calendly’s form fields, and then redirects back to your website for a ‘thank you’ confirmation. That way you are not making your site visitor fill out two separate sets of information. And you don’t need a third party application like Zapier to connect the two (though Zapier can be great for other integrations). The only challenge we have found connecting WPForms and Calendly is Calendly’s Phone URL Parameter, which we will address in this tutorial.

Watch the Video Tutorial here:

https://youtu.be/KZR_irWdgzw

Step 1 – Create Your Form

The first thing we’re going to do is create a simple form. We’re going to add fields for: Name, Email, Phone. You can add more information, but this is a good start.

  1. Go to WPForms > Add New Form > Blank Form.
  2. From here you will Name your form and select Create Blank Form.
  3. Drag and drop Name and Email into the center area. If you are using the free version of WPForms, drag and drop the Single Line Text field under Email and note the ID#. Each field is 1 – 3 with Phone being ID #3. We will come back to this later. Name your field Phone Number. (This tutorial does not cover styling or advanced WPForms functionality.)

Step 2 – Create Calendly Event

If you have not created a Calendly account, you can follow this link: https://calendly.com.

To create an event:

    1. You should be prompted after signup to create a New event type.
    2. Choose what kind of meeting you want to create. For this tutorial we will create a One-on-One meeting.
    3. You will be prompted to name your event. Be sure it’s a name that makes sense since your site visitors will see this. Choose the meeting duration and type of meeting. It’s important not to choose Phone meeting. The URL Parameter for Calendly’s Phone Field is not compatible with WPForms’ Phone Merge Tag, at the time of this writing. We are going to bypass Calendly’s Phone Field with a different field in a moment. If you do want the meeting to be a phone meeting, I suggest putting “Phone Meeting” in the title and then choose Location > Custom. Here you can write “Phone Meeting”.
    4. Now set the dates and hours of day you are available. At the bottom next to Create choose More Options.
    5. Here is where we’re going to set up Calendly’s form to auto-populate from the website form. You can fill in Description, etc. Then, under Invitee Form, we need to match the fields up with our WPForm. Name and Email are already selected for us at the top. You can go through all the available features, but our next focus should be Question 1.
    6. Because we need the next field to apply to the Phone Field we are going to write Phone Number and change the Answer Type underneath to One Line. You can set this to Required if you don’t want the visitor to remove that line. From here you can add more fields but for our purposes these are to only three required fields.
    7. Select Save Changes, then copy the link above your Event Type.

Step 3 – Complete  WPForms Setup

    1. Going back to WPForms, go to Settings > Confirmations.
    2. Select Go to URL (Redirect) and then paste your URL under Confirmation Redirect URL.
    3. Notice the Merge Tags. We have to manually add the string. Fortunately, this is fairly straightforward. Immediately after your URL add
      ?name={field_id="1|first"} {field_id="1|last"}&email={field_id="2"}&a1={field_id="3"}

      The ? marks the beginning of the string, name= is the appropriate URL Parameter Calendly uses for its Name Field, followed by WPForms merge tag which is field_id=”1″. Unfortunately, “phone=” does not work, so instead we are using Calendly’s URL parameter for its additional fields. In this case it’s a1=. Any other additional URL Parameter would be a2= and so on.

      There should be no reason to alter this string (the space after “first” and “last” must remain there), unless you have modified the Name Field in WPForms to be one line, in which case you’ll replace

      name={field_id="1|first"} {field_id="1|last"}

      with

      name={field_id="1"}
    4. Now go to Embed at the top. From here you can select an existing page for your form or start a new page for your form, but you can also select use a shortcode and copy and paste that into the visual editor of your page, or if you use Elementor, paste it into the Shortcode Widget.

Step 4 – Redirect Calendly Back to Your Website

Another nice touch is to redirect your Calendly form back to your website by creating a Thank You page. It’s a nice way to send the user back to your site with a note about your appreciation while affording them the opportunity to seak out more information on your website without trying to navigate back on their own. All you have to do is create a Thank You page on your website, copy the link to that page, then go back to Calendly. Select the gear icon on your event and then Edit. Select More Options at the bottom of your event list. Under Confirmation page change After booking to Redirect to an external site. Copy in the URL, Save Changes and your done!

Thank you for following this tutorial. For help with anything you can’t find an answer to, fill out the Contact Page here and let me know what you’d like to see.

Facebook
Twitter
LinkedIn

Click On Hotspots to View Specs

Header

Transparent header that switches to color on scroll with split menu

Phone Number

Click-to-call phone number

Form

Multistep form with BBB link to A+ rating

Services

Clear list of services

Testimonials

Elegant testimonial carousel

Call-to-Action

Call-to-Action button