You are here:
Flow Bulkification in Transactions
When a flow runs for multiple records at the same time — such as when you import 100 cases — Salesforce creates one flow interview per record. Bulkification groups similar operations across those interviews so the transaction completes efficiently without hitting governor limits.
Without bulkification, 100 interviews each performing their own Salesforce Object Query Language (SOQL) queries and Data Manipulation Language (DML) statements can quickly exceed governor limits. Salesforce prevents governor limit failures by automatically grouping operations. When multiple interviews reach the same element, Salesforce batches their operations—one SOQL query instead of 100, or one DML statement instead of 100.
Salesforce automatically bulkifies operations across interviews. When multiple interviews reach the same element, Salesforce batches their operations rather than running them separately. However, within a single flow's logic, consider the design of your flow — for example, keeping DML operations outside of loops. A Create Records element inside a loop performs one DML operation per iteration, and Salesforce doesn't consolidate them automatically.
- How Flow Bulkification Works
Interview operations are bulkified only when they execute the same element. That means that the interviews must all be associated with the same flow. - Bulkifiable Flow Elements
Flows can bulkify any element that performs a DML statement or SOQL query or does something else external to the flow, like sending an email. - Example of Flow Bulkification
This example demonstrates how operations are bulkified for a flow when 100 cases are updated through Data Loader.
See Also
How Flow Bulkification Works
Interview operations are bulkified only when they execute the same element. That means that the interviews must all be associated with the same flow.

