function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How do I submit website registrations directly to salesforce

I am sure many of you have done this.
I need to create leads into the sales force database of my account everytime someone registers on our website. I want to put the data into my local database and then send the fields I need for lead generation over to the using the webservices api directly and immediately from the form submission page itself.
Can someone point me to the simplest way of doing this?
Gareth DaviesGareth Davies

Depending on what edition you have (I assume Enterprise) then use the Web-to-Lead functionality. This is very simple integration and will write whatever fields you want directly into the Lead.

You find this by Setup->Customize->Leads->Web to Lead


Steps to Capturing Leads from Your Web Site
1.Web-to-Lead has been enabled for your organization. Modify your setup to:
 • Disable Web-to-Lead
 • Assign a default lead creator
 • Select a default Lead Response Template
2.Set up custom lead fields for the information you want to gather from your web site. Tell me more!
3.Generate the HTML needed to capture lead data and give it to your webmaster to include on your web site. Tell me more!


If you want to write to other objects then you'll need to go through the API.

Good luck