Skip to main content
28 answers
  1. Nov 3, 2020, 9:09 AM
    Your trigger logic will be like below:

    List<CustomLead__c> customLeadsList = new List<CustomLead__c>();

    for(Lead ld: trigger.new) {

        CustomLead__c customLead = new CustomLead__c();

        customLead.Name = ld.Name; //map other needed fields same way

        customLeadsList.add(customLead);        

    }

    insert customLeadsList;