Customer Service Efficiency Enhanced with Swiggy’s AI-Powered CRM

Quick answer: An AI-powered CRM lets a bot resolve routine customer tickets, while agents verify only cases such as poor food or wrong items. Bacancy built this Ruby on Rails CRM for Swiggy's customer care team in India.

Outcomes deliveredDelivered June 2020 to June 2021 by a team of 11 developers
<5 min

Agent ticket handling time

Bot handles routine tickets

65%

Lower memory usage

1.7 GB down to 600 MB

30%

Fewer tickets needing an agent

Bot manages routine cases

About the Client

Swiggy uses its CRM to answer every customer query. The Swiggy customer care team in India needed a chat and voice platform where customers raise issues and agents resolve them quickly.

A high average ticket handling time was adding cost. Memory fragmentation in Ruby 2.5 also kept memory use at 1.7 GB.

An 11-developer Bacancy team built the CRM on Ruby on Rails between June 2020 and June 2021. It added an AI-powered bot, PubNub chat, WebSocket agent tracking and Apache Kafka event streaming. Agents now verify only specific cases, such as wrong items, and the bot manages the rest. A memory setting change cut usage to 600 MB.

Industry
Information Technology
Location
India
Team
11 developers
Timeline
June 2020 to June 2021
Project size
Non-disclosable

Challenges & Solutions

Our developers fixed a cost problem for the support team and a memory problem in the platform.

Challenge 1: High agent ticket handling time

A high average ticket handling time per agent drove up support costs.

Solution: Our full stack developers built a flow where agents verify an image only in some cases, such as poor food or wrong items. The AI-powered bot manages the rest, which cut ticket handling time to 2 to 5 minutes.

Challenge 2: Memory fragmentation in Ruby 2.5

Memory fragmentation in Ruby 2.5 pushed memory usage to 1.7 GB.

Solution: Our engineers changed MALLOC_ARENA_MAX from its default of 8 to 2. Memory usage dropped from 1.7 GB to 600 MB.

How the Platform Works

Swiggy AI-powered customer service CRM

Core Features

  • Chat and call platformCustomers raise queries over chat, built on PubNub, or voice.
  • AI-powered botHandles routine tickets so agents focus on cases that need verification.
  • Routing to the best agentIncoming customer chats routed to the best agent.
  • Live agent statusWebSockets track agent status, with Apache Kafka for event streaming.
  • Multi-tenant agent managementAdmins manage agents, with stats and plots for agents and tickets.
  • System monitoringPrometheus metrics, Grafana graphs and circuit breakers.

Inside the Swiggy CRM

Swiggy AI-powered CRM screenshot, view 1

The stack behind the CRM

Backend
Ruby on Rails | Java | Node.js
Frontend
React | HTML | CSS
Database
PostgreSQL | MySQL | Amazon DynamoDB
Caching
Amazon ElastiCache
Real-time and messaging
PubNub | WebSockets | Apache Kafka
Monitoring
Prometheus | Grafana

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies