GOAL
This is very trivial requirement to get size of collection in flow. It’s not possible simply by checking the size as we can do it in apex. Here is an Idea for the same: Idea: Get Size of Collections in Flow
SOLUTION
We need to store the count of collection first in a Number Variable and then we can assign this variable with count of records in collection as below:
Create Variable
Create a variable as below. Put default value as zero.
Assignment of this variable
Add “Assignment” element and keep Varible in left side and collection in right side and use operator “Equals Count”:
Good News!
Now you can use this variable anywhere in the flow.
Learn how to give Lead Import access without giving admin access: Learn More