CRM is a tool for automating sales, marketing, working with potential and existing customers; HRM is a tool of personnel management (personnel decisions, performance evaluation, motivation, vacation schedules, training, the creation of a personnel reserve);