Create an opportunity when an account is created in sales force

By Prem Tiwari in Salesforce. Updated on


If you want to create an opportunity when an account is created in sales force, then you can use the “after trigger” to create opportunity automatically. Below is the example of sales force “after trigger”.

Related Read: 4 Lightning UI Features You Must Know

salesforce tutorials

Below code will automatically create an Opportunity when an Account is created in your sales force org.

Sharing is caring!


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

You might also like:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.