• landon.silla
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

I have a website where I POST data from a form to salesforce.  The purpose is for a newsletter so I save the guys name and email address.  The problem I have is that they are being transfered as "Leads" and we have to manually convert them to "Contacts" in salesforce which is easy, but a pain.  Is there a way to automatically send the POST as a Contact rather than a Lead?  Here is my code:

 

	$lead['oid']='*****';
	$lead['retURL']='http://archive.cyark.org';
	$lead['email']='joe@domain.com';
	$lead['Lead Source']='Front Page Email List';
	do_post_request("http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8", $lead);

 What do I do? Do I need to include another key/value pair in the data to signal that it should be a Contact rather than a Lead?  Is there another address that I need to POST the data to?

 

Any help in this matter would be appreciated.

I have a website where I POST data from a form to salesforce.  The purpose is for a newsletter so I save the guys name and email address.  The problem I have is that they are being transfered as "Leads" and we have to manually convert them to "Contacts" in salesforce which is easy, but a pain.  Is there a way to automatically send the POST as a Contact rather than a Lead?  Here is my code:

 

	$lead['oid']='*****';
	$lead['retURL']='http://archive.cyark.org';
	$lead['email']='joe@domain.com';
	$lead['Lead Source']='Front Page Email List';
	do_post_request("http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8", $lead);

 What do I do? Do I need to include another key/value pair in the data to signal that it should be a Contact rather than a Lead?  Is there another address that I need to POST the data to?

 

Any help in this matter would be appreciated.