A couple of way…

  1. Add a “Do every x seconds” workflow
  2. Add a “Do when condition is true” for :count of customer state <> your database :count