Capturing Salesforce Leads From WordPress Form Submissions (2024)

Capturing Salesforce Leads From WordPress Form Submissions (2)

CRMslike Salesforce are important to businesses all over the world for keeping track of clients and closing on leads. Your company is no different, you need a WordPress CRM like Salesforce to organize your contacts and make sales.With WordPress being used on over 27% of the internet and Salesforce being the biggest name in the CRM industry, it makes perfect sense that many users would want to utilize the forms on their WordPress sites to capture leads and save them to Salesforce.

In this article, we’ll show you how to easily send your form submissions directly from your WordPress site to Salesforce and create new Salesforce leads from that data.

Connecting Your Forms to Salesforce

First, you’ll need a form plugin that’s reliable and capable of handling your most critical data. In this example, we’ll use Gravity Forms as well as the Zapier add-on to create the new lead within Salesforce. If you don’t already have a Gravity Forms license and want to follow along before getting one, you can always create a new Gravity Forms demo and follow along there.

  1. Due to the wide number of users creating Salesforce leads from Gravity Forms, Zapier already has a template that walks you through the process. Open the Salesforce lead creation from Gravity Forms template and log into your Zapier account to get started with it.

    Tip: Many other pre-made templates are available for doing other actions between Gravity Forms and Salesforce as well. You can find a listing on theGravity Forms + Salesforcepage within Zapier’s site.

    Capturing Salesforce Leads From WordPress Form Submissions (3)

  2. First, you’ll be prompted to select a trigger for the Zap. As we’ve already selected to create new leads in Salesforce from your form submissions, Gravity Forms should be selected already. Just click theContinue button.Capturing Salesforce Leads From WordPress Form Submissions (4)
  3. Next, you’ll be prompted to create a new form on your site to capture Salesforce leads from. If you haven’t already created a form that you want to use, go ahead and create it now and click Continueonyour Zap. This form should have all of the necessary information that you’ll need when creating the Salesforce lead, such as name, company, email, and phone number. Of course, this will all vary based on your particular situation, but those fields are a good starting point.Capturing Salesforce Leads From WordPress Form Submissions (5)
  4. Now you’ll need to configure Gravity Forms to know where to send your form submission. In a new tab go to your form within the WordPress admin and click onZapier inside theForm Settings menu item of the form builder and create a new Zapier Feed.Capturing Salesforce Leads From WordPress Form Submissions (6)
  5. Inside your Zapier feed, there are just a few options. First is theFeed Name. This name is just for accessing it later, so feel free to name it anything you want. Something like “Form Submission to Salesforce Lead” will work just fine.Capturing Salesforce Leads From WordPress Form Submissions (7)
  6. Next up, you’ll need to add the Zapier webhook that your form will send the submission data to. Remember that URL that Zapier gave you earlier? That’s what you’ll want to put in here. After that, save yoursettings and jump back to where we left off in Zapier.
    Capturing Salesforce Leads From WordPress Form Submissions (8)
  7. Back in Zapier, click theOK, I did this button. After clicking it, Zapier should see demo data from your form that can be used for later configuration. If all was successful, clickContinue. If not, you might need to submit your form once for the data to appear.Capturing Salesforce Leads From WordPress Form Submissions (9)
  8. Next, Zapier will ask you what action you want to perform. Since we’re using the template, theCreate Lead option should already be selected. Just clickContinue.
  9. You’ll now need to select a Salesforce account that you want to create new leads on with your form. If you’ve already been using Zapier with your Salesforce account, you’ll see your account listed here. If not, click theConnect an Account button to connect a new Salesforce account to Zapier. After you’re finished and your Salesforce account is selected, clickContinue.Capturing Salesforce Leads From WordPress Form Submissions (10)

Mapping Form Fields to Salesforce Leads

Now that you’ve connected both Gravity Forms and Salesforce to Zapier, it’s time to determine what data will be sent when creating a new Salesforce lead. Doing so is as simple as mapping form fields to fields within the Salesforce lead object.

  1. If you’ve been following along in the previous section, you should now be prompted with a screen asking for a few different fields. The first field is theLast Name field. To begin mapping your form field submission data to it, click on theInsert Field icon to the right of the field. From here, select the form field that contains the value you want to send.Capturing Salesforce Leads From WordPress Form Submissions (11)
  2. Next, you will need to set theCompany field. To map a value from your form, just follow the same steps as you did with theLast Name field, but instead select the field which contains the company.Tip: If you don’t want to dynamically set the company in Salesforce from a form field, you can also type a value in here that will be used on every form submission.Capturing Salesforce Leads From WordPress Form Submissions (12)
  3. At this point, you probably have a few more fields such as the lead’s email address, phone number, etc. that you want to set. To set additional fields within the Salesforce lead, click on theShow advanced options link and continue setting up your additional fields just like you did before.Capturing Salesforce Leads From WordPress Form Submissions (13)
  4. When you’ve finished setting up your fields, clickContinue. Now, it’s time to create a test lead in Salesforce to make sure everything is working as planned. Look at your data and click theSend Test To Salesforce button to send the test lead.Capturing Salesforce Leads From WordPress Form Submissions (14)
  5. If the test was successful, you’ll get a nice little confirmation message letting you know that the test lead was successfully created in Salesforce. If everything looks fine, go ahead and finish up by clicking theFinish button.Capturing Salesforce Leads From WordPress Form Submissions (15)

Congratulations! You’ve now configured your forms to create new Salesforce leads directly from within your WordPress site. Have any questions or helpful tips? Let us know in the comments below!

Not a Salesforce user? If you’re looking for a CRM for your website, also check out HubSpot’s recently launched WordPress plugin get a free-forever CRM. See page views, form submissions, sales activity, and more, all in one place. Build views and run automated actions to easily manage your contacts and data. The plugin also includes other features like live chat, email marketing, ads manager and a reporting dashboard.

Capturing Salesforce Leads From WordPress Form Submissions (16)
If you want to keep up-to-date with what’s happening on the blog sign up for the Gravity Forms newsletter!

Capturing Salesforce Leads From WordPress Form Submissions (2024)
Top Articles
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6073

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.