01Chapter 1: What Apex is and where it runsThis chapter assumes you know the basic Salesforce data model (objects, fields, and records) and can find your way around the Setup menu. You should also know basic programming ideas such as variables, loops, and collections. You don't need to have written Apex before.3 min read
02Chapter 2: What Flow is and the flow typesThis chapter assumes you know the Salesforce data model (objects, fields, records) and can find your way around Setup. You should have seen a simple Flow or workflow-style automation. You should also know basic programming ideas such as variables, loops, and collections.3 min read
03Chapter 3: Where Flow is the right first choiceThis chapter assumes you know the Salesforce data model (objects, fields, records), can find your way around Setup, and have built at least one simple Flow. It also assumes basic programming ideas such as variables, loops, and collections. It covers the kinds of requirements Flow handles well and wh4 min read
04Chapter 4: Where Apex is the better choiceThis chapter assumes you know the Salesforce data model (objects, fields, records), can find your way around Setup, and have built a simple Flow. It also assumes you know basic programming ideas such as variables, loops, and collections.3 min read
05Chapter 5: Governor limits apply to both toolsThis chapter assumes you know the Salesforce data model, can find your way around Setup, and have built a simple record-triggered flow. It also assumes you know what a loop and a collection are.3 min read
06Chapter 6: Designing for bulk: why it mattersThis chapter assumes you know the Salesforce data model, can build a simple record-triggered flow, and understand loops and collections. It also assumes you have read the previous chapter on governor limits. Here you will see why automation must handle many records at once, and how to write Apex and3 min read
07Chapter 7: One transaction, many automations: order of executionThis chapter assumes you know how to build a record-triggered flow, can read a basic Apex trigger, and have read the chapter on governor limits. It explains what happens when one save fires several automations at once.3 min read
08Chapter 8: Testing and deployment comparedThis chapter assumes you can read basic Apex, have built a simple record-triggered flow, and know what a sandbox and a change set are. It compares how Flow and Apex are tested and moved to production. These are the places where the two tools differ most in day-to-day work.3 min read
09Chapter 9: Maintenance cost and who owns the automationThis chapter assumes you know the Salesforce data model, can find your way around Setup, and have built a simple flow. It also assumes you understand basic programming concepts such as variables, loops, and collections. You have already seen what Apex and Flow are. Here the question is what each one4 min read
10Chapter 10: A practical framework for choosingThis chapter assumes you know the Salesforce data model, can find your way around Setup, have built a simple flow, and understand variables, loops, and collections. Earlier chapters covered what Apex and Flow are, where each fits, how governor limits and bulk-safe design apply to both, and how testi4 min read
11Chapter 11: Using both: calling Apex from FlowThis chapter assumes you can build a simple record-triggered or screen flow, and that you know Apex basics such as classes, lists, maps, and SOQL. It also builds on the earlier chapters on governor limits and bulk-safe design.3 min read
12Chapter 12: Avoiding conflicts between automationsThis chapter assumes you know the basics of Flow and Apex, governor limits, and the order of execution in a single transaction. Here you will see what goes wrong when several automations run on the same object and event, and how to prevent it.3 min read