+ Start a Discussion
Anthony MossAnthony 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).
Blake TanonBlake Tanon
see here