You need to sign in to do that
Don't have an account?

WEB TO LEAD- POST FIELDS - POST URL- SALESFORCE RESPONSES
Hello,
A client of ours is using CAKE reporting system to generate leads and the plan is to post leads directly from CAKE to our Salesforce system. CAKE requires the following from Salesforce:
POST URL (where to post the leads)
post fields (to map CAKE fields to Salesforce fields)
list of Sales Force Responses (success and error responses sent from Salesforce so that CAKE knows the status of the POST)
I've tried to use https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 POST URL, but I believe I am missing something in this format. Can someone please help point me in the right direction?
A client of ours is using CAKE reporting system to generate leads and the plan is to post leads directly from CAKE to our Salesforce system. CAKE requires the following from Salesforce:
POST URL (where to post the leads)
post fields (to map CAKE fields to Salesforce fields)
list of Sales Force Responses (success and error responses sent from Salesforce so that CAKE knows the status of the POST)
I've tried to use https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 POST URL, but I believe I am missing something in this format. Can someone please help point me in the right direction?
Here's a basic form:
What about the responses? What are the responses from Salesforce when we post a lead in the forms?
I am working with Eduard with this integration from the CAKE side of things. Basically, what we are looking for is a POST URL to post leads directly from our system into his Salesforce. Not sure if WebToLead is what we are looking for or not.
I've attached a screenshot of the Delivery Method screen from CAKE. The highlighted area within the screenshot is where I am looking to place the POST URL.
Also, looking at your basic form example above, would it be possible to use a URL such as: https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8&oid=ORGID_HERE&retURL=http://your-return-url.com&first_name=firstname&last_name=lastname
The URL format seems to work, but I cannot locate the response codes that CAKE is expecting. I tried using using the HTTP Response codes here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm , but get the unknown response error message. Have any idea what the response codes should be?