Apex Development and Salesforce Automation
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Apex Development and Salesforce Automation
This course is part of Salesforce Certified Apex & LWC Development Bootcamp Specialization
Included with
Recommended experience
Recommended experience
What you'll learn
Understand and implement key Apex collections such as Lists, Sets, and Maps.
Learn to create classes, methods, and constructors for efficient Salesforce automation.
Master Salesforce database operations, DML statements, and relationship queries.
Develop skills in Apex testing, debugging, and exception handling to create error-free applications.
Skills you'll gain
Tools you'll learn
Details to know
April 2026
18 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 16 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this comprehensive course, you'll delve deep into Apex development and Salesforce automation, gaining hands-on experience with key concepts and techniques. You'll learn how to manage data efficiently using collections like Lists, Sets, and Maps, explore the creation of classes and methods, and understand the power of Salesforce Inspector. By working with real-life scenarios and learning to apply Apex programming best practices, you'll be well-equipped to automate processes and solve problems within Salesforce. As you progress through the course, you'll master essential topics like constructors, static and non-static methods, database methods, DML operations, and more. Through a practical approach, you'll explore relationship queries and triggers to automate processes in Salesforce. The course also introduces you to testing, debugging, and managing Apex exceptions—equipping you with the tools to build reliable Salesforce applications and avoid common pitfalls. This course is designed for developers who want to enhance their skills in Salesforce and Apex programming. If you're comfortable with basic programming concepts, this course will guide you through essential Salesforce tools and techniques. By the end of the course, you will be able to confidently write and deploy Apex code, optimize performance, manage data operations, handle exceptions, and implement best practices for Salesforce development.
In this module, we will introduce you to Apex collections such as Lists, Sets, and Maps, exploring when and how to use each one effectively. You'll also learn how to declare and manipulate List variables, handle common exceptions, and distinguish between Sets and Lists for optimal data management in Apex.
What's included
5 videos2 readings1 assignment
5 videos•Total 46 minutes
- Different Types of Collection in Apex•10 minutes
- Collection in Apex•13 minutes
- Declare a List Variable: Important List Methods•11 minutes
- Incompatible Type Exception in List•5 minutes
- Set Collection in Apex: Difference Between Set and List in Apex•5 minutes
2 readings•Total 20 minutes
- Introduction to the Course 'Apex Development and Salesforce Automation'•10 minutes
- Full Course Resource•10 minutes
1 assignment•Total 15 minutes
- Different Types of Collections in Apex - List, Set, and Map in Apex - Assessment•15 minutes
In this module, we will delve into the core concepts of Apex classes and objects, showing you how to create classes and define methods within them. You'll learn about access modifiers, method overloading, and how to organize your code for maximum reusability and scalability.
What's included
5 videos1 assignment
5 videos•Total 65 minutes
- Classes and Objects in Apex•6 minutes
- Create a New Apex Class•12 minutes
- Difference Between Public and Private Access Modifier in Apex•17 minutes
- Method Declaration in Apex•11 minutes
- What Is Method Overloading?•18 minutes
1 assignment•Total 15 minutes
- Classes in Apex - Assessment•15 minutes
In this module, we will introduce you to constructors in Apex and demonstrate how they are used to initialize objects. You’ll learn how to manage instance variables with private access modifiers and get hands-on experience with constructor examples to solidify your understanding.
What's included
3 videos1 assignment
3 videos•Total 40 minutes
- Constructors in Apex. What Are Constructors in Apex?•14 minutes
- Why Instance Variables Need to Be Declared with Private Access Modifier?•13 minutes
- Constructors in Apex with Example•14 minutes
1 assignment•Total 15 minutes
- Constructors in Apex - Assessment•15 minutes
In this module, we will break down the differences between static and non-static methods and variables in Apex. You’ll learn when and how to use each type for memory management, data manipulation, and creating well-structured classes in your Salesforce applications.
What's included
3 videos1 assignment
3 videos•Total 30 minutes
- Difference Between Static and Non-static Method in Apex•12 minutes
- Difference Between Static and Non-static Variable in Apex•11 minutes
- Difference Between Static and Non-static Variable with Example•7 minutes
1 assignment•Total 15 minutes
- Static and Non-static Methods and Variables in Apex - Assessment•15 minutes
In this module, we will introduce sObjects in Salesforce, explaining how they are used to represent records in the system. You’ll learn how to declare lists of sObjects and explore best practices for handling them in your Apex code to ensure efficient data management.
What's included
1 video1 assignment
1 video•Total 7 minutes
- sObject in Salesforce: Declare a List of sObject in Salesforce•7 minutes
1 assignment•Total 15 minutes
- Working with sObject - Assessment•15 minutes
In this module, we will guide you through the process of installing and using the Salesforce Inspector extension. You’ll learn how to inspect Salesforce metadata and data effectively, enhancing your troubleshooting and development workflow.
What's included
1 video1 assignment
1 video•Total 10 minutes
- Install Salesforce Inspector Extension for Your Browser•10 minutes
1 assignment•Total 15 minutes
- Salesforce Inspector - Assessment•15 minutes
In this module, we will explore both SOSL and SOQL queries, showing you when and how to use each to retrieve Salesforce records. You'll learn how to write efficient queries and explore advanced SOQL features like filtering, grouping, and counting to get the most out of your data retrieval.
What's included
4 videos1 assignment
4 videos•Total 33 minutes
- What Is SOSL and SOQL Queries in Salesforce?•9 minutes
- Retrieve Records Using SOQL•9 minutes
- Salesforce Object Query Language•9 minutes
- Group By Query Salesforce | Count Number of Records in SOQL Query•6 minutes
1 assignment•Total 15 minutes
- SOSL and SOQL Queries in Apex - Assessment•15 minutes
In this module, we will guide you through using DML (Data Manipulation Language) statements in Apex to manage Salesforce records. You'll learn how to insert, update, delete, and upsert records, along with best practices for ensuring data integrity and performance.
What's included
6 videos1 assignment
6 videos•Total 69 minutes
- DML Statements Salesforce: What Are DML Statements in Salesforce?•10 minutes
- How to Write DML Statements in Salesforce? Insert and Update DML with Example•18 minutes
- DML Statements in Salesforce: Delete and Undelete DML Statement in Salesforce•10 minutes
- Upsert DML Statement with Example•7 minutes
- DML Operations in Salesforce with Example: Create Account Utility Class•15 minutes
- Salesforce Apex DML Statement with Example•9 minutes
1 assignment•Total 15 minutes
- DML Statements in Apex - Assessment•15 minutes
In this module, we will explain how database methods in Apex differ from DML statements and how to use them for optimized data handling. You’ll learn to perform partial updates and track success or failure of your DML operations using the Database Save Result array.
What's included
4 videos1 assignment
4 videos•Total 27 minutes
- Difference Between DML Statement and Database Methods•5 minutes
- Partial Update Allowed in Database Methods•7 minutes
- Database Save Result[]•3 minutes
- Database Save Result[] Retrieve the Success and Failure•12 minutes
1 assignment•Total 15 minutes
- Database Methods in Apex - Assessment•15 minutes
In this module, we will introduce you to relationship queries in Apex, showing how to efficiently query records based on parent-child relationships. You’ll gain hands-on experience with custom objects and learn to optimize data retrieval in Salesforce using these relationship queries.
What's included
5 videos1 assignment
5 videos•Total 34 minutes
- Relationship Queries in Salesforce: What Are Relationship Queries in Salesforce?•12 minutes
- Relationship Query: How Do I Query a Child Record from a Parent in Salesforce?•5 minutes
- Relationship Query in Salesforce: Child to Parent Relationship Query•3 minutes
- Relationship Query for Custom Object in Salesforce•8 minutes
- How Do I Query a Parent to a Child Custom Object in Salesforce?•6 minutes
1 assignment•Total 15 minutes
- Relationship Queries in Apex - Assessment•15 minutes
In this module, we will introduce you to Apex triggers, which allow you to automate key business processes in Salesforce. You’ll learn how to create and configure triggers and use context variables to control and streamline your automation workflows.
What's included
5 videos1 assignment
5 videos•Total 52 minutes
- Apex Triggers in Salesforce•9 minutes
- Trigger Context Variables in Salesforce•7 minutes
- Create Apex Trigger: Apex Trigger in Salesforce with Example•13 minutes
- Apex Trigger Salesforce with Example: Before Delete Apex Trigger•12 minutes
- Apex Trigger with Example: Before Insert Apex Trigger•11 minutes
1 assignment•Total 15 minutes
- Triggers - Assessment•15 minutes
In this module, we will explore Batch Apex in Salesforce, which is used for processing large datasets asynchronously. You’ll learn about Stateless vs. Stateful Batch Apex and gain practical experience by implementing Batch Apex processes for efficient data handling.
What's included
5 videos1 assignment
5 videos•Total 40 minutes
- What Is Batch Apex and What Are the Different Methods of Batch Class?•16 minutes
- What Is a Batch Apex? Is Batch Apex Synchronous or Asynchronous?•5 minutes
- Batch Apex in Salesforce with Example•2 minutes
- Difference Between Stateless and Stateful Batch Apex•10 minutes
- Stateless vs Stateful with Example•7 minutes
1 assignment•Total 15 minutes
- Batch Apex - Assessment•15 minutes
In this module, we will show you how to expose your Apex classes as REST and SOAP web services in Salesforce. You’ll learn how to set up these services to integrate Salesforce with external systems, enabling seamless data exchange.
What's included
1 video1 assignment
1 video•Total 9 minutes
- How to Expose Your Apex Class as REST Web Service and SOAP Web Service?•9 minutes
1 assignment•Total 15 minutes
- REST and SOAP Web Services - Assessment•15 minutes
In this module, we will dive into exception handling in Apex, showing you how to use try-catch-finally blocks to manage errors. You’ll learn to handle common exceptions in Apex and explore best practices for ensuring smooth operation even when errors occur.
What's included
10 videos1 assignment
10 videos•Total 78 minutes
- Exception in Apex: What Is Try Catch Finally Block in Apex?•7 minutes
- How to Handle Exception in Apex Using Try-Catch Block?•8 minutes
- What Is ListException in Apex and How to Handle This Exception?•10 minutes
- Null Pointer Exception in Apex•13 minutes
- sObject Exception in Salesforce•6 minutes
- Common Exception Methods and Their Usage•2 minutes
- DML Exception in Apex and How to Handle Them?•6 minutes
- DML Exception Methods•4 minutes
- Exception Methods Related to DML Exception•11 minutes
- Try with Multiple Catch Block•11 minutes
1 assignment•Total 15 minutes
- Exceptions in Apex - Assessment•15 minutes
In this module, we will guide you through writing effective test classes for Apex code, ensuring your functions work as expected. You’ll also learn how to measure code coverage and debug your code for better performance and smooth deployment.
What's included
5 videos1 assignment
5 videos•Total 47 minutes
- Apex Test Classes: How to Write Test Classes?•8 minutes
- Create an Apex Class and Its Test Class•11 minutes
- Code Coverage in Apex•12 minutes
- Code Coverage in Apex•14 minutes
- Code Coverage Needed from One Sandbox to Another•1 minute
1 assignment•Total 15 minutes
- Apex Testing and Debugging - Assessment•15 minutes
In this module, we will explain Salesforce’s Governor Limits and how they impact your code’s resource usage. You’ll learn strategies to optimize your Apex code and avoid reaching these limits, ensuring your Salesforce operations run smoothly and efficiently.
What's included
4 videos1 reading3 assignments
4 videos•Total 35 minutes
- Governor Limits in Apex•9 minutes
- What Happens When Governor Limit Exception Is Thrown?•6 minutes
- What Are Limit Apex Methods in Salesforce? Limit Class in Apex•12 minutes
- Salesforce Governor Limits•8 minutes
1 reading•Total 10 minutes
- Conclusion to the Course 'Apex Development and Salesforce Automation'•10 minutes
3 assignments•Total 90 minutes
- Governor Limits in Apex - Assessment•15 minutes
- Full course assessment•60 minutes
- Full course practice assessment•15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Cloud Computing
- Status: Free Trial
Specialization
- Status: Free Trial
- Status: Free Trial
- Status: Free TrialL
LearnKartS
Course
Why people choose Coursera for their career
Frequently asked questions
The Apex Development and Salesforce Automation course focuses on advanced concepts in Salesforce development, specifically Apex programming and automation tools. Apex is Salesforce’s proprietary programming language used to create custom solutions and automate business processes. With organizations increasingly relying on Salesforce for managing customer data, mastering Apex and automation is crucial for developing robust, scalable applications and streamlining operations on the platform.
This course provides in-depth training on Apex programming, covering key topics like collections (Lists, Sets, and Maps), classes, methods, triggers, and handling exceptions. It also dives into Salesforce automation tools such as workflow rules, process builders, and flows, teaching you how to automate business processes. Additionally, you’ll learn about managing large datasets with Batch Apex, handling web services, and optimizing code performance within Salesforce.
After completing this course, you will have the skills to develop custom Salesforce applications using Apex, automate business processes, and optimize your Salesforce environment for large-scale operations. You’ll also be capable of handling complex data relationships, writing efficient SOQL and SOSL queries, and implementing error handling and debugging techniques. You will be well-prepared to manage automation tasks within Salesforce and create advanced Apex triggers for custom logic.
More questions
Financial aid available,
