+ Start a Discussion

Automatically convert lead to contact with opportunity?

Hi, I am Very new to SF... I need to do automatically convert lead to contact with opportunity. If contact is not exist we need to create new contact, if contact is exist we need not create contact, and this lead move into opportunity.

Please give Trigger Code for this task.

Thanks in advance.

Please check the following link whcih discusses the process of auto conversion of lead to contact using trigger - the code snippet serves as a sample to get started with your code: http://blog.jeffdouglas.com/2009/02/13/enhancing-the-lead-convert-process-in-salesforce/