Whenever the Account is created with Industry as Banking then create a contact for account, Contact Lastname as Account name and contact phone as account phone.
trigger account after handler on Account (before insert) { list contacts = new list(); for(account acc : trigger.new){ if(acc.Industry == ‘Banking’){…
1 Answer · 3.6K Views · Answered ✓