Auto Salk
Back to projects
Professional

Auto Salk

2023 — Present·Salk AI·Salk AI·Live Demo

The Challenge

Building a multi-tenant SaaS platform that handles AI-powered calling, WhatsApp, and email agents at scale for automotive dealerships across multiple countries with different regulations and payment systems.

The Solution

Developed with Next.js, React, TypeScript, Tailwind CSS, Shadcn/ui, and TanStack Query. Integrated Stripe, Razorpay, SendGrid, LiveKit, and OpenAI APIs for a seamless multi-channel communication experience.

// AI Agent communication handler
async function handleAgentMessage(
  channel: 'call' | 'whatsapp' | 'email',
  dealerId: string,
  leadId: string
) {
  const agent = await getAgentConfig(dealerId, channel);
  const context = await buildLeadContext(leadId);
  const response = await openai.chat.completions.create({
    model: agent.model,
    messages: [
      { role: 'system', content: agent.prompt },
      ...context.history,
    ],
  });
  return processAgentResponse(response, channel);
}

Tech Stack

Next.jsReactTypeScriptTailwind CSSShadcn/uiTanStack Query

Outcomes

4

Countries Served

-60%

Prospecting Effort

3

Channels

Multi-tenant SaaS

Platform Type

Gallery

Gallery image 1
Gallery image 2
Gallery image 3

Related Projects