You can limit the automation to only generate barcodes for records in a certain Airtable view. That view can have any conditions you like. You could then use this view in the "when a record enters a view" trigger for an Airtable automation, to trigger the automation on miniExtensions. This process is laid out in this article.