How Swiggy designed and scaled its chatbot

<aside> 💡 https://bytes.swiggy.com/chatbots-at-swiggy-6299116f9e69

</aside>

chatbots are computer programs that can automatically simulate interactions with customers based on a set of predefined conditions or events. They, however, are not meant to replace customer support executives, but rather provide a first step in the conversion process.

Chatbots are essential for them as they resolve most of the complaints that customers have without spending a lot of money on customer service representatives. But if the customer prefers to talk to a human support executive, it would not be prevented.

Back in 2018, they were using a third party messaging software for chat, and it worked for most parts but as they scaled rapidly that third-party chat started to feel inadequate because of a lot of reasons like it being a black box, no customer satisfaction scores, difficult to extract privacy-aware trends of queries etc.

The factors that drive for creation of the custom chatbot are:

Their chatbot flow start off with a controlled flow within their conversations.

The decision tree is stored in a relational database. It can be generated using historical customer support data and can be updated by product and business teams.

The core components of the service are: