Building CallGuide: An AI-Powered Cold Calling Workspace in 48 Hours
A 48-hour Forward Deployed Engineer assignment at DeepThought became an opportunity to build CallGuide, an AI-assisted cold-calling workspace. This case study explores the product thinking, Next.js frontend, Express backend, Supabase PostgreSQL architecture, AI-powered question suggestions, deterministic fallbacks, call summaries, engineering trade-offs, and the roadmap toward a full-fledged conversation intelligence platform.
// TABLE OF CONTENTS+
Building CallGuide: From a 48-Hour Engineering Assignment to an AI-Powered Calling Workspace
Sometimes the most interesting engineering projects begin with an ambiguous problem rather than a detailed technical specification. CallGuide started as one such challenge: a Forward Deployed Engineer assignment from DeepThought that required me to understand the workflow of someone conducting cold calls and build a product that could assist them during an actual conversation. The constraint was straightforward but demanding. Research the problem, understand the caller's requirements, build a functional application, deploy it, and explain the engineering decisions within 48 hours. Rather than approaching the assignment as a simple dashboard development exercise, I approached it as a product engineering problem. The objective was to create a dedicated workspace where callers could structure conversations, capture prospect information, maintain context, and use AI assistance without making the calling workflow unnecessarily complicated. The result was CallGuide, an AI-assisted cold-calling workspace built with Next.js, React, Express.js, Supabase PostgreSQL, and OpenRouter.
1. The DeepThought Forward Deployed Engineer Assignment
DeepThought's Forward Deployed Engineer opportunity focused on building practical software around real business requirements. The assignment asked candidates to research the challenges faced by cold callers and develop a small product that could be used as a screen kept open throughout a cold call. The required technology included Supabase, Render, Vercel, and an LLM integration. The completed application also had to be deployed and demonstrated through a short explanatory video. This was not simply a frontend implementation exercise. It required translating a business workflow into software while making decisions about user experience, backend responsibilities, data persistence, and AI integration. The challenge was to deliver something useful within the available time rather than attempting to build an entire sales platform.
Assignment constraints
- Understand the cold-calling workflow and the caller's business requirements.
- Design a workspace that remains useful throughout a conversation.
- Implement a working application within 48 hours.
- Integrate Supabase, Render, Vercel, and an LLM API.
- Deploy the application and make it accessible for review.
- Explain the product and engineering decisions in a six-minute presentation.
2. Understanding the Problem: Why Cold Callers Need a Dedicated Workspace
A cold call involves more than speaking to a potential customer. The caller needs to understand who they are speaking with, establish the purpose of the conversation, discover the prospect's existing processes, identify operational problems, handle objections, and agree on a meaningful next step. When this information is handled through disconnected notes, spreadsheets, or memory, important context can become difficult to maintain. A caller may understand a prospect's problem but fail to record it properly. An objection might be discussed without being documented. A follow-up might be promised but never scheduled. Even when a conversation is successful, the information collected during the call may not be structured well enough to support future interactions. I approached CallGuide as an attempt to bring these activities into one structured workspace. The product was designed around a simple principle: the caller should be able to concentrate on the conversation while the application helps organize the information being collected.
Core workflow
- Prepare for a conversation and identify the prospect.
- Follow a structured conversation workflow.
- Record questions, responses, notes, and prospect requirements.
- Identify objections and concerns.
- Record the agreed next step.
- Review the completed conversation and its summary.
- Preserve information that can support subsequent interactions.
3. Designing CallGuide: A Structured Conversation Workflow
The central interface of CallGuide is the Active Call Workspace. Instead of treating a cold call as an unstructured form, I organized the conversation into eight stages:
- Opening
- Purpose
- Permission
- Business
- Need
- Objection
- Next Step
- Close
Each stage provides a defined context for the caller. The interface includes questions to explore, response fields, stage notes, and controls for recording what happened during the interaction. The workspace also provides a conversation progress indicator and a persistent call context panel. This makes it possible to understand where the conversation currently stands without repeatedly navigating between different pages. The design emphasizes information density and quick interaction. During a call, the user should not have to search through multiple screens to find the prospect's information or remember what was discussed in an earlier stage.
4. System Architecture: Connecting Next.js, Express, Supabase and OpenRouter
I separated the application into three primary application layers: the frontend, backend, and database. The frontend is built with Next.js and React and deployed on Vercel. It is responsible for rendering the calling workspace, handling user interactions, and communicating with the backend through HTTP API requests. The backend uses Express.js and is deployed on Render. It acts as the application's API layer, handling incoming requests, coordinating application operations, accessing saved call context, and communicating with the AI provider. Supabase provides the PostgreSQL database used for persistent application data. Database queries are handled through the backend rather than making the database a direct dependency of the user interface. OpenRouter provides the LLM API integration used for AI generation requests. The backend sends the relevant request to OpenRouter and processes the generated output before returning it to the frontend. This separation gives each part of the application a defined responsibility and avoids placing database and AI integration logic directly inside the presentation layer.
Understanding the Application Request Lifecycle
When a caller interacts with the application, the frontend sends an HTTP request to the Express backend. The backend processes the request and determines whether it requires a database operation, an AI generation request, or both. For operations involving saved conversations, the backend queries Supabase PostgreSQL and retrieves the relevant information. When AI assistance is required, the backend sends a generation request to OpenRouter and processes the response. The backend then returns an API response to the frontend, which updates the relevant interface. This creates a centralized application flow: Browser → Next.js Frontend → Express Backend → Supabase PostgreSQL / OpenRouter API. The response follows the corresponding path back to the browser. Keeping these responsibilities separated also provides a clearer place to manage API credentials, request handling, database access, and AI integration.
| echnology | Responsibility |
|---|---|
| Next.js | Frontend application framework |
| React | Component-based user interface |
| Express.js | Backend API and application logic |
| Supabase | PostgreSQL database and persistent storage |
| PostgreSQL | Relational data storage |
| OpenRouter | LLM API integration |
| Vercel | Frontend deployment |
| Render | Backend deployment |
5. AI-Powered Question Suggestions: Assisting the Caller During Conversations
One of the primary AI features in CallGuide is the question suggestion engine. During a cold call, the caller needs to ask questions that help uncover the prospect's existing workflow, operational challenges, requirements, and potential objections. However, asking generic questions regardless of the conversation stage is not particularly useful. The application therefore introduces AI-generated question suggestions to support the caller's current stage. Rather than requiring the caller to formulate every question independently, the AI integration can provide suggestions that help guide the conversation. The intended benefit is not to replace the caller's judgment. The caller remains responsible for understanding the prospect and deciding which questions are appropriate. AI acts as an assistance layer within the existing workflow.
6. Why Every Question Does Not Need an LLM: Introducing Deterministic Fallbacks
An important engineering consideration emerged while integrating AI into the application: not every operation needs to invoke a language model. Using an LLM for every question introduces additional API requests, token consumption, latency, and dependency on an external service. It can also be unnecessary when the conversation stage already provides enough information to determine an appropriate question. To address this, I introduced a deterministic question-generation mechanism for situations where AI-generated questions were unnecessary or where available AI credits were exhausted. The idea was to preserve the core calling workflow without making its usefulness entirely dependent on an external AI service. The deterministic mechanism provides a rule-based alternative to AI generation. Rather than asking a model to generate a question every time, the application can use predefined logic to provide relevant questions in supported situations.
This introduces a useful distinction between two types of assistance:
- AI-generated questions provide flexibility when contextual generation is useful.
- useful. Deterministic questions provide a predictable alternative when generation is unnecessary or unavailable.
| Dimension | AI-generated questions | Deterministic questions |
|---|---|---|
| Generation | LLM API | Application logic |
| Behavior | Context-dependent generation | Rule-based selection |
| External dependency | OpenRouter | None |
| Token consumption | Requires tokens | Requires tokens No LLM tokens |
| Predictability | Model-dependent | Predictable |
| Best suited for | Flexible contextual assistance | Known conversation scenarios |
This approach also reflects a broader engineering principle: AI should be introduced where it provides meaningful value, not simply because an application is marketed as AI-powered. A well-designed application should continue to provide essential functionality when an external model is unavailable or unnecessary. The deterministic engine is an initial step toward making AI usage more selective and efficient. Its future development can include better contextual rules, improved question selection, and clearer decisions about when an LLM request is actually justified.
7. AI-Generated Call Summaries: Turning Conversations into Structured Information
The second major AI feature is call summarization. A completed conversation can contain several pieces of information distributed across different stages: prospect details, responses, operational challenges, notes, objections, and agreed next steps. Reading every field again to understand the conversation can be inconvenient, particularly when a caller needs to review several previous interactions. CallGuide introduces AI-generated call summaries to consolidate the available conversation information into a more readable overview. The summary provides a convenient way to revisit the main discussion points without requiring the user to manually reconstruct the entire conversation. Importantly, a generated summary should not be treated as a replacement for the underlying call record. The original responses and recorded notes remain important because generated text can omit context or misinterpret incomplete information.
8. Engineering Trade-offs: Building a Demonstration Without Authentication
One deliberate decision in the submitted assignment was to leave out authentication and authorization. The immediate objective was to make the application accessible to the assignment reviewers without introducing a login process that could prevent them from evaluating the product. This was a scope decision for the demonstration, not a production security recommendation. Authentication establishes the identity of a user, while authorization determines which operations that user is permitted to perform. Both become essential when an application handles multiple users, organizations, or private business information. Without these mechanisms, an application cannot safely assume that its data and operations are restricted to the intended users. For a production version, I would need to introduce authentication, server-side authorization, role-based permissions, and proper tenant-level data isolation. The submitted version should therefore be understood as an accessible assignment demonstration rather than a production-ready multi-user SaaS platform.
9. Deploying the Application: Vercel, Render and Supabase
The deployment architecture uses separate services for the frontend, backend, and persistent storage. The Next.js application is deployed on Vercel, allowing the frontend to be accessed through its public deployment URL. The Express backend is deployed on Render and provides the HTTP API consumed by the frontend. Supabase hosts the PostgreSQL database, which is accessed by the backend through database queries and API connectivity. OpenRouter is integrated into the backend's AI request flow. This arrangement separates the frontend deployment lifecycle from backend application logic and database persistence. It also provides a foundation that can be developed further without requiring all application responsibilities to exist inside one deployment.
| Component | Platform | Responsibility |
|---|---|---|
| Frontend | Vercel | Next.js application |
| Backend | Render | Express API server |
| Database | Supabase | PostgreSQL persistence |
| AI service | OpenRouter | LLM generation |
10. Beyond the Assignment: Evolving CallGuide into a Complete Sales Engagement Platform
The 48-hour assignment established the initial product direction, but the underlying problem extends beyond a single active call screen. A more complete cold-calling platform would need to support the entire sales interaction lifecycle: researching prospects, preparing for conversations, managing follow-ups, comparing outcomes, understanding performance, and maintaining historical context. My next development direction is to expand CallGuide in stages rather than attempting to introduce every feature simultaneously. The proposed additions include callback management, prospect intelligence, call comparison, improved analytics, and AI usage monitoring. These capabilities would turn the initial calling workspace into a broader environment for managing and understanding sales conversations.
Callback Management and Follow-up Operations
A conversation does not always end with an immediate decision. Prospects may request additional information, ask the caller to reconnect later, or need time to discuss a proposal internally. Callback management is intended to preserve these commitments and make subsequent interactions easier to organize. The planned module includes scheduled callbacks, overdue follow-ups, upcoming interactions, rescheduling, previous conversation context, and the ability to resume an earlier call. AI-assisted follow-up suggestions could also use previously recorded conversation information to help the caller prepare a relevant opening or draft a follow-up message. The objective is to connect individual conversations into a continuous prospect interaction history.
Prospect Intelligence and AI-Assisted Call Preparation
Preparing for a call without understanding the prospect's organization can make a conversation unnecessarily generic. Prospect intelligence is intended to introduce a research layer before the call begins. The proposed interface explores company information, business context, potential operational challenges, role-specific questions, and preparation notes. An AI research assistant could help organize publicly available information into a useful briefing. However, there is an important distinction between verified information and AI-generated hypotheses. Publicly available facts should be presented with their sources, while inferred operational challenges should be clearly identified as assumptions that the caller needs to verify during the conversation. This distinction is essential if AI research is going to support real business decisions.
Call Intelligence, Comparison and Performance Analytics
Individual call records provide information about specific conversations, but a collection of records can reveal broader patterns. Call intelligence is intended to help users understand conversation performance through metrics such as call volume, completed calls, outcomes, follow-up activity, and stage progression. Call comparison takes this further by examining multiple conversations side by side. Potential comparisons include final outcomes, recorded prospect needs, objections, conversation summaries, frequently asked questions, and questions that were skipped. These comparisons can help identify recurring patterns, but they should not automatically be interpreted as proof of causation. For example, a question appearing more frequently in successful calls does not establish that asking the question caused those outcomes. AI-generated comparison insights should therefore be presented as hypotheses worth investigating rather than verified conclusions.
AI Usage Monitoring and Cost-Aware Generation
As more AI capabilities are introduced, controlling external model usage becomes increasingly important. Every unnecessary generation request can introduce additional latency, token consumption, and API costs. A larger application therefore needs a clear understanding of where AI is used, which operations justify generation, and what should happen when a request cannot be completed. The planned AI usage module will focus on monitoring AI requests, token consumption, available credits, usage limits, and generation failures. Combined with deterministic question generation, this can help establish a more deliberate AI architecture where language models are used for tasks that benefit from contextual reasoning rather than routine operations.
11. Preparing CallGuide for Production: Authentication and Multi-Tenant Architecture
The next major architectural step is moving from an assignment demonstration toward a secure, multi-user application. This requires more than adding a login page. A multi-tenant application must ensure that organizations can manage their own users, prospects, calls, and AI usage without accessing another organization's information. I intend to introduce organization-level data ownership, authentication, role-based authorization, and tenant-aware database access. The backend will need to derive the user's permissions and organization context from verified authentication information rather than trusting organization identifiers supplied directly by the frontend. Database policies and backend authorization must work together to enforce data isolation. Additional production requirements include request validation, rate limiting, monitoring, reliable error handling, usage quotas, backup procedures, and controlled deployment configuration. These are foundational requirements for a product that handles real sales conversations and customer information.
| Area | Planned development |
|---|---|
| Identity | Authentication and session management |
| Authorization | Role-based access control |
| Organizations | Multi-tenant architecture |
| Data isolation | Tenant-level access restrictions |
| AI operations | Usage tracking and quotas |
| Reliability | Logging and observability |
| Operations | Backups and recovery |
| Commercialization | Billing and subscription management |
12. From a Calling Workspace to an Actual Calling Platform
A more ambitious direction is to connect CallGuide to actual calling infrastructure. The current product concept centers on managing conversation context and assisting the caller. Integrating a calling provider would extend that experience by connecting the software to the communication channel itself. Potential capabilities include initiating calls, recording conversations with appropriate consent, speech-to-text transcription, real-time conversation intelligence, automated follow-ups, and call quality analytics. This would require additional infrastructure for provider integrations, asynchronous processing, audio storage, transcription, event handling, and recording permissions. It is a substantial expansion rather than a minor feature addition. I would approach it only after the underlying application has reliable identity management, data isolation, and a stable conversation data model.
13. Expanding the Conversation Intelligence Architecture into Customer Service
Another possible direction is to reuse the underlying conversation intelligence architecture for customer service. Sales conversations and customer support interactions have different objectives, but both involve understanding a person, maintaining context, recording important information, and determining appropriate next actions. A customer service workspace could use similar foundations for AI-assisted responses, interaction summaries, customer history, ticket management, escalation workflows, and support analytics. Rather than simply duplicating CallGuide and changing the labels, I would explore a shared conversation intelligence layer with separate product-specific workflows. CallGuide could remain focused on outbound sales conversations, while a separate customer-support application could use the same underlying infrastructure for support interactions. This would allow shared capabilities such as conversation context, summarization, AI usage management, analytics, and organization-level data isolation to evolve independently from each product's interface and business rules.
14. What I Learned from Building CallGuide
The most important lesson from this assignment was that building a useful product requires more than translating an interface design into components. The first challenge was understanding the business workflow. Without understanding what callers need to accomplish, it would have been easy to build a visually convincing dashboard that did not meaningfully support a conversation. The second lesson was about choosing the right role for AI. Integrating a language model does not mean every operation should depend on it. Combining contextual AI generation with deterministic application logic provides a more deliberate approach to functionality, cost, and availability. The third lesson was architectural separation. Keeping the frontend, backend, database, and AI provider responsibilities distinct creates a clearer foundation for future development. Finally, the assignment reinforced the importance of scope. A 48-hour deadline requires decisions about what must work now, what can be simplified, and what belongs in a future version.
Conclusion
CallGuide began as a 48-hour Forward Deployed Engineer assignment at DeepThought. It resulted in a deployed AI-assisted cold-calling workspace that brought structured conversation stages, question suggestions, and call summaries into one interface. The submitted version is an initial product foundation, not a finished commercial sales platform. There are important areas still to develop, particularly authentication, authorization, multi-tenancy, advanced analytics, prospect research, and deeper calling integrations. My next objective is to improve the existing application incrementally, validate its architecture, and explore how its conversation intelligence capabilities could support a broader range of business interactions. The assignment was a useful exercise in turning an ambiguous business requirement into a working software product, making engineering decisions under time constraints, and identifying what needs to happen after an MVP has been delivered.
Final note
- Project: CallGuide
- Assignment: DeepThought — Forward Deployed Engineer
- Frontend: Next.js and React
- Backend: Express.js on Render
- Database: Supabase PostgreSQL
- AI integration: OpenRouter
- Frontend deployment: Vercel
- Live demonstration: https://callsguide.vercel.app/
- Source code: https://github.com/Aryanranjan1/callguide
OPEN
Thoughts on the article.