DEV Community

Subhendu Das
Subhendu Das

Posted on

AI‑Powered Smart Routing: One Inbox for All Channels

The problem

Small businesses in India often juggle dozens of customer conversations across WhatsApp Business, Instagram Direct, SMS, web‑chat widgets, and email. Each channel has its own interface, notification settings, and sometimes even different formatting rules. When a customer sends a query on one channel, the owner or a team member must switch contexts, log into a new app, and search for the same customer in another system. The result is duplicated effort, delayed responses, and a fractured view of the customer journey.

The impact is twofold:

  1. Customer experience suffers – a reply that takes longer than a few minutes can feel unprofessional, especially when competitors are offering instant chat support.
  2. Operational overhead increases – team members spend a large portion of their day switching between apps, manually transferring data, and reconciling conversation histories.

Small‑business owners need a single, coherent view of all interactions, while the platform must keep the heavy lifting—routing, context, and automation—behind the scenes.

The GoSumo solution

GoSumo solves this pain point with an AI‑driven smart‑routing engine that consolidates all incoming messages into one unified inbox. The platform is built on NestJS, TypeScript, Next.js, PostgreSQL, Redis, BullMQ, Prisma, Qdrant, and OpenRouter AI, giving it a robust foundation for real‑time processing, persistence, and retrieval.

Smart channel integration

Each channel is abstracted behind a channel adapter that normalises the raw payload into a canonical conversation object. The adapter handles:

  • Authentication and throttling for WhatsApp Business, Instagram, and SMS.
  • Message formatting – converting rich media into a format that can be stored and displayed uniformly.
  • Metadata enrichment – adding channel identifiers, timestamps, and user IDs.

Once normalised, the message flows through the same processing pipeline regardless of its origin.

Intelligent routing

At the heart of the platform is a routing algorithm that uses the conversation’s content, metadata, and historical context to decide which team member or automated bot should handle it. The routing logic is powered by:

  • Contextual embeddings stored in Qdrant, allowing the system to understand semantic similarities across messages.
  • OpenRouter AI begged for retrieval‑augmented generation (RAG), which fetches relevant knowledge base articles or past conversation snippets to inform the bot’s response.
  • Dynamic priority rules કાર્યવાહી tuned for small‑business workloads: a high‑value customer flagged in the CRM automatically receives a senior agent.

The result is a single, searchable inbox that shows every conversation in chronological order, with a clear indicator of the channel, the current assignee, and the status (pending, in‑progress, or completed).

Automated responses and fallback

GoSumo’s AI engine can generate instant replies using OpenRouter’s language models. When a message is received:

  1. The system checks for a matching FAQ or knowledge base entry.
  2. If a match is found, the bot drafts a reply and presents it to the assignee for review.
  3. If no match exists, the message is routed to a human agent.

A fallback path ensures that even if the AI model fails, the conversation is still queued for a human, preventing any loss of communication.

How it looks to a user

  1. Login once – a small business owner opens the GoSumo dashboard via the web interface. No need to remember multiple passwords.
  2. Unified inbox – the main view lists all messages from WhatsApp, Instagram, SMS, web chat, and email in a single timeline. Each message shows the channel icon, customer name, and a snippet.
  3. Channel‑specific widgets – clicking on a message expands a pane that displays the full conversation, media attachments, and any AI‑generated suggestions.
  4. Smart assignment – the system shows the current assignee and any pending actions. If the message is auto‑resolved, a green checkmark appears; otherwise, a flag prompts the agent to respond.
  5. One‑click reply – agents can reply directly from the expanded view. The reply text can be edited, or the AI suggestion can be accepted as‑is.
  6. Analytics – the dashboard provides simple metrics like average response time per channel, which helps owners monitor performance without diving into separate analytics tools.

The interface is intentionally minimalistic to keep the learning curve low. All advanced features—such as custom routing rules or AI model selection—are accessible through a dedicated settings page.

Why it matters for India SMBs

  • Cost‑effective – by reducing the number of tools a team needs, GoSumo cuts subscription costs and training time.
  • Speed – instant routing and AI‑generated replies help maintain a competitive edge in customer service.
  • Scalability – the architecture can handle spikes in traffic (e.g., during a product launch) without manual intervention.
  • Compliance – the platform respects channel‑specific data handling rules, a critical factor for businesses dealing with sensitive customer information.

Final thoughts

GoSumo turns the chaotic, multi‑channel communication landscape into a single, intelligent inbox. By leveraging AI for routing and automation, it frees Indian small businesses from repetitive tasks, allowing them to focus on growing their customer relationships rather than juggling apps. The result is quicker responses, a cleaner customer view, and a more efficient workflow—all built on a modern, open‑source stack that can evolve as the business grows.

Takeaway

If your small business is still managing customer conversations across separate apps, GoSumo offers a proven, AI‑driven alternative that consolidates everything into one place. It’s not just a new tool; it’s a shift in how you handle customer communication, making it faster, smarter, and more scalable.


Live demo: https://gosumo.aiknol.com

Source code: https://github.com/r2st/GoSumo

Top comments (0)