You need to sign in to do that
Don't have an account?
Anthony Moss
Lead Conversion Trigger
I'm trying to create a trigger that would auto-convert a lead when lead rating = Hot. This is not a problem - the problem is a new account is created for every converted lead rather than matching an account if the account already exists. Can anyone provide some sample code for converting a lead and creating a new account if the account name is new but matching an existing account (match on account name, we don't collect emails for accounts).
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_convertlead.htm#topic-title