To only generate a random number when some sort of conditions are met, you should select an Airtable view with the appropriate filters applied. The filtering view can be set in the automation's Run settings.
How to generate a random number only when certain conditions are met
Updated over 8 months ago