On this page6 sections
Turn on Web-to-Lead
Web-to-Lead is built into Salesforce at no extra cost. A form on your site posts to Salesforce, and each send becomes a lead. You need the Customize Application permission to set it up.
Open the settings
From Setup, type Web-to-Lead in Quick Find, open Web-to-Lead, and click Edit to turn it on.
Choose the default lead creator
Leads from the form are created as this user, and they get an email each time a lead can't be created. They need Modify All Data, Send Email and Access Activities, from one profile or one permission set, not a mix of both. On Professional Edition that means a System Administrator.
Leave reCAPTCHA on
Require reCAPTCHA Verification is on by default. Keep it, and add reCAPTCHA to the form when you generate it, or bots fill your leads with junk.
Pick a default response template
If you want each person who sends the form to get an email back, choose a template here. Lead auto-response rules can pick a different one by the lead's fields, with one rule active at a time.
Pick fields and generate the form
Salesforce writes the form as plain HTML for you to paste into your site. It keeps no copy you can open or edit later, so save the HTML somewhere your team can find it.
Create the form
On the Web-to-Lead page, click Create Web-to-Lead Form.
Pick the fields
Move the fields you want into the selected list, your own lead fields included. Include every field your leads need, and keep the form short: name, work email, company and one question is often enough.
Set the return URL
This is the page a visitor sees after they send the form, such as a thank-you page on your site.
Add reCAPTCHA
Check Include reCAPTCHA in HTML and choose an API key pair, or create one. Check Enable server fallback to let sends through if Google's reCAPTCHA servers are down.
Generate and paste
Click Generate, copy the HTML onto your page, and style it like the rest of your site.
Mark the required fields
The generated fields are all optional. Add the required attribute to the boxes a lead must fill in, or Salesforce fills an empty Last Name or Company with [not provided].
Send a test
Fill in the form yourself, then check the lead in Salesforce: its owner, its fields and its lead source.
Assign the leads
A new Web-to-Lead lead is assigned by your active lead assignment rule. If no rule is active, every lead from the form goes to the default lead owner you set in Lead Settings, which is also where a lead lands when it matches no entry in the rule.
The rule is a list of entries, checked in order, and the first one a lead matches picks a user or a queue. To give web leads their own handling, start an entry with Lead Source equals Web. Rotating leads evenly across a team takes a formula field and a few entries, which the round robin guide sets out step by step.
| When the lead | It goes to |
|---|---|
| Matches an entry in the active assignment rule | That entry's user or queue |
| Matches no entry | The default lead owner in Lead Settings |
| Arrives while no rule is active | The default lead owner in Lead Settings |
| Is blocked by a duplicate rule or a validation rule | Nobody: it isn't created, and the default lead creator gets an email |
What Web-to-Lead doesn't do
Web-to-Lead creates a lead and stops there. These are the limits teams run into, from Salesforce's own help.
| Limit | What happens | What to do |
|---|---|---|
| 500 leads in 24 hours | On Professional, Enterprise, Unlimited, Performance and Developer editions, sends past 500 wait in a pending queue and are created after the count resets at midnight UTC | Ask Salesforce Support to raise the cap if you expect more |
| A pending queue of 50,000 | The queue is shared with Web-to-Case. Once it is full, new sends are lost, and the admin gets an email for the first five | Keep reCAPTCHA on, since a spam run fills the queue fastest |
| Duplicate rules | A duplicate rule set to Block, or to Allow with an alert, blocks a Web-to-Lead lead that matches, because nobody is there to see the alert | Add a condition that leaves out the default lead creator, or a rule just for that user set to Allow with a report |
| No duplicate check otherwise | Each send makes a new lead, even when the person is already a lead or contact | Report on duplicates, or merge them on a schedule |
| Required fields | Nothing is required on the generated form, and an empty Last Name or Company becomes [not provided] | Add the required attribute to those boxes |
| No scoring | Every lead arrives the same, with no score or grade | Score in Salesforce, or before the lead reaches it |
| Routing | Assignment is whatever one active rule can say, from the lead's own fields | Keep the rule's entries in order, with a last entry that takes the rest |
| No call booking | The visitor sees your return URL and waits to hear back | Link a booking page from the thank-you page, or use a form that offers one |
Send form leads to Salesforce with Operelio
An Operelio form sends each lead into a trail before it reaches Salesforce. The trail cleans the lead, checks it against what is already in Salesforce, scores it and gives it an owner by your routing rules. Right after sending the form, the visitor can book a call with that rep. Operelio books the call itself, on the rep's own Google or Microsoft calendar, with no Calendly or Cal.com needed.
A person already in Salesforce isn't made again: the trail fills in the fields it was missing, and keeps the owner it has. A new person becomes a Lead, or a Contact on an Account, as you choose, and a new Lead with no last name or company gets [not provided], as Web-to-Lead does. Trails send to HubSpot and Pipedrive the same way.
Trails run on Starter and up.
Frequently asked questions
Is Web-to-Lead free?
Yes, it comes with Salesforce. It is capped at 500 leads in 24 hours on Professional, Enterprise, Unlimited, Performance and Developer editions, and Support can raise the cap.
What happens after 500 Web-to-Lead leads in a day?
Further sends wait in a pending queue, shared with Web-to-Case, and are created after the count resets at midnight UTC. The queue holds 50,000; past that, sends are lost.
Can I edit a Web-to-Lead form after generating it?
Not in Salesforce, which keeps no copy. Edit the HTML on your site, or generate a new form with the fields you want.
Why didn't my Web-to-Lead form create a lead?
Check the default lead creator's email first. A duplicate rule, a validation rule, a failed reCAPTCHA or the daily cap are the usual causes, and a lead on the pending queue appears after midnight UTC.
Can Web-to-Lead assign leads round robin?
Only through your lead assignment rule, with a formula field that numbers each lead and an entry per rep. Web-to-Lead itself has no rotation setting.

