mermberfix logo x
The MemberFix Team’s got you covered.
Membership plugins

How to add Contact Form leads into SalesForce

salesforce contact form

What is a Customer Relationship Management (CRM)?

Customer Relationship Management (CRM) is a system for managing all your company’s relationships and interactions with customers and potential customers. The main goal of a CRM is to improve business relationships. The CRM system according to Salesforce helps businesses stay connected to customers, improve profitability and streamline processes.

What is Salesforce?

Salesforce is a cloud computing service as a software (SaaS) company that specializes in customer relationship management (CRM). Salesforce’s services allow businesses to use cloud technology to better connect with customers, partners and potential customers. The software has become the number one for customer success and helps businesses track customer activity, market to customers and many more services.

Which objects does Salesforce support?

Salesforce supports several different types of objects. Standard objects are objects that are included with Salesforce. Common business objects like Account, Contact, Lead, and Opportunity are all standard objects.

What is a lead?

A lead is basically an individual or organization with an interest in what you are selling, whether they are goods or services. The interest is expressed by sharing contact information, like an email or a phone number. Leads are typically obtained through the referral of an existing customer or through a direct response to advertising or publicity.

Marketing - How to add Contact Form leads into SalesForce


On this article we will explain how to generate leads from the contact form in your website. For this specific example, we will use Web-to-Leads. A Web-to-Lead form is an essential component of marketing and sales automation. Its purpose is to capture data submitted by website visitors, such as contact information and product interest, and store it as a “Lead” record in a CRM product, in this case Salesforce.

1.Create a Salesforce account ( if you haven’t yet )

2. Login to your Salesforce account

  1. Click the Gear Icon at the top-right corner and then Setup.
  2. On the left side there is a quick find search
  3. Search for Web-to-Lead
  4. Click in the Web-to-Lead item under Marketing as shown in the image below.

Web to lead - How to add Contact Form leads into SalesForce

3. Create the Web-to-Lead form.

  1. Click on the Create Web-to-Lead From button as shown in the image below.

Create web to lead form - How to add Contact Form leads into SalesForce

4. Setup the Web-to-Lead form.

  1. Add or remove the available fields in your form by using the Add/Remove buttons. You can add as many fields as you need.
  2. Position the fields as you need by using the Up/Down buttons.
  3. Enter a “return url” link that will be shown when the form is submitted. Any page works, but the “Thank You” page is preferable.
  4. (Optional) Add captcha in the form by selecting the “include reCaptcha in HTML” option.
  5. Click Generate button as shown in the image below:

Web to lead Setup - How to add Contact Form leads into SalesForce

5. Copy the HTML code in a Page or a post.

  1. Copy the HTML code that has been generated.
  2. Click Finished button.
  3. Paste this Code in a Page or Post depending where you want the form.
  4. If you are using WordPress, Add a new page/post and click the text button in the right corner and paste the HTML code.
  5. Publish the Page

Copy web to lead html 1024x400 - How to add Contact Form leads into SalesForce

Paste the html code 1024x391 - How to add Contact Form leads into SalesForce

6. Test the integration

  1. Open the page/post you have created.
  2. Fill out the form and click Submit.
  3. Go to Salesforce > Leads and check if the Lead has been created.

Web to lead page - How to add Contact Form leads into SalesForce

Lead Created 1024x215 - How to add Contact Form leads into SalesForce

Viola! Now your Web-to-Lead submissions will automatically appear as Leads in your Salesforce account.

You may also enjoy...

WordPress based membership sites have certain requirements, and make use of certain applications that, in my experience, makes most of the popular hosting providers a poor choice.
This post will show you how to manually extend your members’ access in MemberPress using transactions.
Learn how to set up your commission structure in AffiliateWP with MemberPress, including for free trials and how to manually adjust commissions.

Content Teaser Sneak Peek ???? In this article, I’ll show you how to create a content teaser with a nice fade away effect for your paid posts and premium content.

Notify of
Inline Feedbacks
View all comments