Varun Ganapathi discusses the challenges of automating tasks and how his company, Acosta, uses a human-in-the-loop approach to handle edge cases. By focusing on solving common cases with algorithms and having humans label unusual data, they gradually increase the level of automation while providing value to customers.