You need a button to say search to trigger the workflow that would be required to search your database, then if the results count is 0 you can trigger the action to clear the input.

1 Like