Skip to main content
Using Contact Form 7

Use CF7 on Wordpress to get new leads into Táve

Nicole avatar
Written by Nicole
Updated over 2 months ago

You can use Contact Form 7 with WordPress and automatically create new leads in Táve thanks to the Táve Contact Form 7  Integration plugin.

Step 1: Install Contact Form 7

To start you’ll need to install Contact Form 7, a free plugin built for WordPress.

From the plugins menu in WordPress, select ‘Add New’ and then use the search box to find ‘Contact Form 7’.  Once installed, make sure that it is activated.

Step 2: Install the Táve Contact Form 7 Integration

Ensure you're using the plugin 'By Táve' as this is our official supported plugin.

You can install it by using the ‘Add New’ search in the plugins menu in WordPress, or you can find it here in WordPress’s plugin directory.

Once installed, make sure it is activated.

Next, you will go to the Contact menu and then ‘Táve Settings’ where you will add your ‘Táve Secret Key’ and ‘Táve Studio ID’.

To get your Táve Studio ID and Secret Key, in Táve go to Settings › API Integrations. From there, you'll select the Legacy New Lead API button up at the top.

Once you’ve entered the key and studio ID, save your changes.

Step 3: Create Your Contact Form

Next, we’ll create our contact form by using the ‘Add New’ option from the Contact menu.

There will be defaults set up for you automatically that we will need to change so that it works with Táve.

[text* FirstName placeholder "Your First Name (required)"]
[text* LastName placeholder "Your Last Name (required)"]
[email* Email placeholder "Email (required)"]
[text* MobilePhone placeholder "Phone Number (required)"]
Regarding... (required)
[select* JobType include_blank "Engagement" "Wedding"]
What is your role?
[select* JobRole include_blank "Bride" "Groom" "Mother of the Bride"]
[date EventDate placeholder "When is the event?"]
How did you hear about me? (required)
[select* Source include_blank "Search Engine" "TheKnot.com" "Family/Friend/Co-worker" "Met in Person" "Yelp" "Facebook.com" "Other"]
[textarea* Message placeholder "Message (required)"]
[submit "Send"]


In the ‘Form’ tab when creating a new form, you will replace the default code by copying and pasting the code above. You can change the JobTypes, JobRoles, and Sources to match your setup.

Quick Tip: Adding an * next to the field type makes the field required. 

EXTREMELY IMPORTANT

In order for Táve to create a lead from this form, you MUST have the ‘JobType’ field AND the options that you put in the dropdown must match ExACtlY what you have set up in Settings › Job Types.

When entering your Lead Sources, in the case you have sources that are sub-types of another parent Lead Source, you'll just enter the sub-type in quotes in your form.  For example, if you have a source that's Referral › Photographer in your Táve Settings, you'll just enter "Photographer" in Contact Form 7 and that will map to that Lead Source.

To field:

email@yourbusiness.com

From field:

email@yourbusiness.com

Additional Headers:

Reply-to: [FirstName] [LastName] - <[Email]>

Subject field:

Website Inquiry for [FirstName] [LastName] for [JobType]

Message Body field:

From: [FirstName] [LastName] -  <[Email]>
Phone Number: [MobilePhone]
Regarding: [JobType]
Job Role: [JobRole]
Event Date: [EventDate]
Referral Source: [Source]
Message Body:
[Message]

In the form tab, you’ll need to make sure your email address is in the ‘To:’ field.

Next, you’ll update the ‘From:’, ‘Subject:’, and ‘Message Body:’ fields to include the mail-tags like the setup you see to the above.

Feel free to copy and paste from this code. Of course, you can change this how you’d like, especially the subject field.

Step 4: Add Shortcode to Contact Page

The last step will be to copy and paste the contact form’s short code into your contact page’s ‘Text’ tab.

Save the page and your new contact form will be in place.

Be sure to test it to verify that it’s creating leads in Táve.

Using Custom Fields

If you are looking to request additional information from your new leads that aren't built-in available fields, you'll need to use Custom Fields.  You can create your custom fields in Settings › Custom Fields within your Táve account, and then add them to your Contact Form 7 form setup like in the example below, by using the appropriate field type and CF number assigned to that field.  You can find the assigned CF number in your Táve account in your Legacy New Lead API settings.  

Using Hidden Fields

If your contact form is for a specific job type, job role, or brand only, you can use a hidden field to set them instead of giving your client a dropdown to select from.

You will need to start by installing an additional plugin called ‘Contact Form 7 Modules’.

This will allow you to add hidden fields to your forms.

Once installed, make sure that it is activated.

Hidden Job Type

In the ‘Form’ tab, you’ll change the code to include:

[hidden JobType "Wedding"]

instead of the original drop down select option.

This means that whenever this specific contact form is submitted, it automatically creates a new ‘Wedding’ lead in Táve. This is beneficial if you have different contact forms on different parts of your website.

Hidden Job Role

In the ‘Form’ tab, you’ll change the code to include:

[hidden JobRole "Bride"]

instead of the original drop down select option.

This means that whenever this specific contact form is submitted, the contact will automatically be marked as the ‘Bride’ in Táve.

Hidden Brand

If you’re using multiple brands in Táve, this is helpful to have your contact form create a new lead for a specific brand.

In the ‘Form’ tab, you’ll change the code to include:

[hidden Brand "18636"] or [hidden Brand "Topher Simon photography"]

Passing this to Táve sets the new lead’s brand to “Topher Simon photography”.

To find your brand ID or Name go to Settings › Branding.

Did this answer your question?