Can a dbt job be triggered or run based on the results of a table

Can a dbt job be triggered or run based on the results of a table. I have a table that will get populated by an outside process in Redshift and I would like to query this table in order to determine if the dbt job should run. If the conditions are not met then I would like the process to sleep and keep checking this table until the conditions are met.