Saving website contact form to CRM as a lead

Saving website contact form to CRM as a lead

Hi there

Have very basic question as I'm new to Zoho..

I've got a contact form for a website and want to save this to Zoho CRM as a lead.

Could someone please give me a basic outline of how to do this?

Am thinking it would be something like this:
  1. generate xml (for lead insertion) from submitted contact form fields
  2. create asp.net webrequest and set method to post and contenttype to xml
  3. send webrequest to crm some like this: http://crm.zoho.com/crm/private/xml/Accounts/insertRecords?apikey=APIKey&ticket=Ticket&newFormat=1
  4. handle response (thank you page/error handling)
Am I on the right track here..

Thanks in advance, Gerard