To classify text data using embeddings in Node.js, rank possible CRM actions, then require a similarity threshold and an explicit review path before writing anything.