Check if Get Records Is Empty in Salesforce Flow

To check if Get Records is empty in Salesforce Flow, add a Decision element right after the Get Records element with the condition {!Get_Records} Is Null True. When Get Records finds nothing, its output is null, so this outcome catches the “no records” case before later elements try to use the data. For a collection, the newer Is Empty operator works too.

Below is a complete example, a record-triggered flow that emails an account’s contacts only when the account has contacts, plus the difference between Is Null, Is Empty and Is Blank, and what the old “Assign null values to the variables if no records are found” option does.

This Tutorial Covers: