Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →

Bulkification articles

13 articles · Writing triggers, flows and callouts that survive a 200-record batch.

A 3D architectural block structure illustrating the concept of calling Apex methods to create records in loops.Apex

Calling Apex Methods to Create Records in Loops from LWC

Bulk record creation from a Lightning Web Component: why looping Apex calls is an anti-pattern, and what a bulkified...

· 4 min read
How to handle bulk record processing in Flows? | Salesforce Flow bulkification - Salesforce developer tutorialFlow

How to handle bulk record processing in Flows? | Salesforce Flow bulkification

· 6 min read
A developer writing complex Apex code focusing on Apex Trigger Interview Questions for a technical role.Apex

Apex Trigger Interview Questions and Real Code Scenarios

Prepping for a Salesforce technical interview? These Apex Trigger Interview Questions run from before vs after logic...

· 6 min read
A developer looking thoughtfully at a screen showing Apex code snippets during an interview.Apex

Salesforce Apex interview questions - Core essentials guide

I've been on both sides of the interview desk, and most technical rounds come down to how you handle the platform's...

· 5 min read
Diagram illustrating the process of optimizing Salesforce Flow logic for efficient bulk record processing.Flow

Salesforce Flow bulkification: How to handle bulk records

If your Flows crash during data imports, you probably have a bulkification problem. Here is how to move your logic out...

· 5 min read
Diagram illustrating the usage of the Salesforce Assignment Element within a complex Flow designFlow

Salesforce Assignment Element: Guide to Efficient Flows

Ever wonder why your Flows hit governor limits? Usually it is because you are not using the Salesforce Assignment...

· 4 min read
Diagram illustrating how to call Apex from Flow using Invocable Methods for complex automationApex

Call Apex from Flow to Handle Complex Salesforce Logic

Sometimes Flow Builder isn't enough for heavy math or complex logic. Here's how to call Apex classes with Invocable...

· 5 min read
Diagram illustrating optimized Salesforce Flow performance best practices for faster execution.Flow

Salesforce Flow Performance: Best Practices for Speed

Most flow problems come from small, inefficient habits that pile up over time. Here is how to pick the right triggers...

· 5 min read
A developer reference guide showcasing essential Apex Trigger best practices and syntax, an Apex Trigger Cheat Sheet.Apex

Apex Trigger Cheat Sheet - Master Salesforce Triggers

Tired of hitting SOQL limits and untangling messy triggers? This Apex Trigger Cheat Sheet covers the context variables,...

· 5 min read
Visualizing a complex Salesforce Flow canvas detailing best practices for automation logic and error handlingFlow

Salesforce Flow Best Practices: 12 Rules That Prevent 90% of Errors

The Salesforce Flow best practices most teams skip: bulkification, trigger choice, fault paths and subflow design,...

· 7 min read
Diagram illustrating the Apex Trigger Best Practices pattern with trigger handler classesApex

Apex Trigger Best Practices for Scalable Salesforce Code

Writing triggers is easy. Writing them so they don't break your org is the hard part. These are the patterns I use to...

· 5 min read
Diagram illustrating the bulk-safe pattern for iterating through a collection using a Salesforce Flow Loop element.Flow

Master the Salesforce Flow Loop for Bulk Record Updates

Ever felt stuck trying to update a bunch of records at once in Flow? A Salesforce Flow loop handles the collection, and...

· 5 min read