How to Create an Integrated Salesforce Form in WordPress

Want to automatically add your website’s form entries to your CRM with a WordPress Salesforce integration?

WPForms allows you to easily connect your WordPress site with Salesforce, so you don’t have to export entries from your lead form manually. In this tutorial, we’ll show you to how to easily integrate WordPress forms with Salesforce.

Integrating WordPress With Salesforce

Want to up your game with your WordPress leads? Here are a few benefits of connecting WordPress forms to your Salesforce account:

  • It can be a great time saver: You can automatically collect and organize form entries in your Salesforce account. You don’t have to manually copy your entries to your Salesforce account.
  • Automate your marketing tasks: With WordPress Salesforce integration, you can easily automate different tasks like sales processing, customer tracking, and even more with your custom objects inside Salesforce.
  • Greater efficiency for multiple teams: Your sales team can easily access entries on Salesforce, so you don’t have to forward entries via email to multiple teams.

Create a New WordPress Form

The first thing you need to do is to install and activate the WPForms plugin. Here’s a step by step guide on how to install a WordPress plugin.

After the installation, you’ll need to create a form.

In this example, we’ll be using fields like Name, Business / Organization and Email in our form. For more help creating a form, you can see our tutorial on creating a simple contact form in WPForms.

WPForms is the best WordPress Form Builder plugin. Get it for free!

In order to import leads into Salesforce CRM from your form, you’ll need to install and activate Zapier addon on your site.

The Zapier addon lets you connect your WordPress forms to over 2,000+ web apps, including things like Google Sheets, Jira, and the Salesforce app. For more help with this step, you can check out our tutorial on how to install and use the Zapier addon.

Now let’s take a look at how to connect WordPress forms to Salesforce CRM.

Make a New Zap

To use WordPress and Salesforce together with WPForms, first log into your Zapier account and click the Make a Zap button in the top navigation.

Then, you’ll need to set up the Trigger for your zap. To see screenshots of every step of setting up a form trigger, you can refer to our tutorial on using Zapier with WPForms.

When selecting which form to use as a trigger, make sure to choose the Salesforce form you just created. You must have at least one test entry on your form before the setup process can proceed.

set up WPForms form entry

Once you’ve completed the trigger setup, Zapier will run a test to make sure everything is good to go. You should then see a successful confirmation message.

Zapier trigger test successful

Connecting Your WordPress Forms to Salesforce

Now that you’ve connected Zapier to the WPForms plugin, it’s the time to connect WPForms to Salesforce. You’re one step closer to having your WordPress Salesforce integration!

After setting up WPForms as the trigger app, you’ll need to choose Salesforce as the action app. Use the search bar to find the Salesforce app and click on it.

Choose Salesforce as Zapier action app

Then, you’ll be asked to select the action to continue your WordPress Salesforce integration. As we are looking to create a new lead in Salesforce from WordPress, let’s choose Create Lead and then click Save + Continue.

Select create lead as Salesforce action in Zapier

Now you need to connect your Salesforce account to Zapier. Click Connect an Account.

Connect a new Salesforce account in Zapier

In the overlay that appears, you’ll need to log into your Salesforce account to grant permission for the connection.

allow zapier to access salesforce for wpforms

After providing permission for the connection, click Continue.

Now you’ll be asked to select the data sent to Salesforce. In this step, you’ll need to connect each contact form field to the appropriate Salesforce field. Then click Continue.

set up salesforce lead for wordpress integration

If you want to test the Salesforce lead you just updated, click on Test. You can now see what data is being updated in Salesforce. Click Create & Continue.

test salesforce wordpress integration

You’ve just tested Salesforce app on Zapier successfully.

You may log into your Salesforce account to verify the updated data.

salesforce leads tab with wordpress integration

In the final step, make sure to turn on your Zap. You can also give your Zap an appropriate name. By turning on Zap, you can automatically send contacts to Salesforce CRM whenever your visitors submit the form on your site.

turn on zap for wordpress salesforce integration

Final Thoughts on WordPress Salesforce Integration

That’s it! You now know how to use WPForms for a WordPress Salesforce integration. Now anytime someone fills out your form, they will be added as a lead in your Salesforce database, so you can keep in touch with email marketing.

For more awesome ways to use WPForms and Zapier together, check out these guides on how to:

What are you waiting for? Get started with the most powerful WordPress forms plugin today.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.


  1. Hello , i tried connecting it in zapier (WpForms+Highlevel Beta) but it’s not adding lead tests to my highlevel campaign.Any solution for this? Thank You

  2. Just copy the web to lead code that Salesforce generates for free and the insert/modify as desired. Don’t pay, don’t add plugins, don’t have your site connected unnecessarily to other sites.

    1. Hey Craig – thanks for chiming in! I understand what you mean. It will work fine if it is just about sending the data to Salesforce. Using a form via WPForms plugin will give many extra advantages. Like, you don’t need to style the Salesforce form manually. You’ll have all form entries as a backup in your WordPress dashboard if anything happens to your Salesforce connection for whatsoever reason. You can have conditional logic to send the data to Salesforce based on various conditions.

      I hope this info helps!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.