Skip to content

Startiffy Labs 05 · concept: AI-first customer support platform

A support inbox with a chatbot that answers from your own knowledge base, cites its sources, and hands over to a person when it should.

Part 01The product

Who it is for and what goes wrong today.

01Project overview

What this exploration is.

Relay Support is a product exploration by Startiffy: a customer support platform designed around an AI assistant that works with people instead of replacing them.

The assistant answers from the company's own articles and documents, shows its source, and hands the conversation to a person when it is unsure or the customer is frustrated. The prototype runs real retrieval and sentiment rules in your browser, without calling a language model.

Type
Concept exploration, not a client project
Market
Worldwide, English first
Users
Support agents, team leads, customers
Prototype
12 working screens, sample data
Retrieval
TF-IDF over chunks, in the browser
  • Next.js
  • TypeScript
  • Node.js
  • PostgreSQL
  • Vector search
  • Claude
  • OpenAI

02Product vision

Where it is headed.

Customers get a correct answer in seconds when one exists, and a human who already knows the story when it does not.

03Industry and target market

Where it fits.

Customer support software (B2B SaaS) · Worldwide

Support teams are under pressure to answer faster with the same headcount. Many bots deflect customers instead of helping them, and customers notice.

The opening we explore is a trustworthy assistant: grounded in the company's own knowledge, honest about uncertainty, and tightly integrated with a human inbox. We make no claims about resolution rates, which would be measured with a real pilot.

04Problem statement

What goes wrong today.

  • Agents answer the same questions repeatedly, so hard cases wait longer.
  • Chatbots that guess damage trust, and customers who are angry are made to repeat themselves to a person.
  • Knowledge goes stale, and nobody sees which questions the articles fail to answer.

05Business challenges

What makes it hard.

Answers that are right

A wrong answer is worse than no answer. Responses must come from approved content and cite it.

Knowing when to stop

The assistant needs a calibrated sense of when it does not know, and a smooth path to a person.

Keeping knowledge fresh

Articles change. The system must show gaps and make fixing them easy.

Many channels, one thread

Email, chat and messaging must feed one conversation view.

Privacy

Customer messages can hold personal data. What is sent to a model must be limited and logged.

06Target audience

Who it is for.

Support agents

Answer many conversations a day across channels.

Support leads

Own quality, staffing and the knowledge base.

Customers

Want a quick, correct answer, or a person.

07User personas

Three people we design for.

Nadia, a support lead

Runs a 6-person team

Goals

  • Cut repetitive questions
  • See where the knowledge base fails

Frustrations

  • Bots that annoy customers
  • No view of unanswered questions

Tomás, an agent

Handles email and chat

Goals

  • Context on every conversation
  • A good first draft to edit

Frustrations

  • Customers repeating themselves
  • Searching for the right article

Priya, a customer

Needs help with her account

Goals

  • A quick answer
  • A person when it is complicated

Frustrations

  • Dead-end bots
  • Waiting without updates
Part 02The approach

What we would build, and in what order.

08Proposed approach

What we would build.

Relay puts a retrieval-based assistant in front of a human inbox. The assistant answers only when its confidence clears a threshold the team controls, shows the source, and otherwise passes the thread to a person with the context attached.

Workflows decide what happens next, such as escalating a frustrated customer, and every rule can be tested on a sample message before it goes live.

Grounded answers

Replies come from your articles and documents, with a source.

Honest handover

Low confidence or negative sentiment routes to a person.

Rules you can test

Workflows show exactly what they would do on any message.

09Product strategy

How we would decide.

  1. Retrieval before generationStart by finding the right passage. Add generation only to phrase it, never to invent it.
  2. Confidence is a product featureThe threshold is visible and adjustable, so teams choose their own trade-off.
  3. Close the loop on gapsEvery unanswered question becomes a suggestion to improve the knowledge base.
  4. Humans stay in chargeAgents see, edit and send. The assistant drafts.

10Core features

What it does.

AI chatbotAI

Answers with citations, and hands over when unsure.

Knowledge base

Articles that the assistant and agents both use.

RAG answersAI

Retrieval over articles and uploaded documents.

Document ingestion

Upload text, chunk it and index it instantly.

Three-panel inbox

Conversations, thread and context in one view.

Human handover

A smooth transfer with the full thread.

Workflow automation

Rules on sentiment, intent, confidence and keywords.

Sentiment and analyticsAI

Flag frustration and report on intents and channels.

11Feature prioritisation

What comes first, and why.

FeaturePriorityEffortReason
Inbox with threads and assignmentMustLThe agents' daily tool.
Knowledge base and retrievalMustLPowers every answer.
Chatbot with citations and handoverMustLThe headline capability.
Confidence thresholdMustSControls the main risk.
WorkflowsShouldMAutomates routing safely.
Knowledge gap reportShouldSKeeps content fresh.
AnalyticsShouldMProves value to leads.
Voice channelCouldLA different problem space.

Effort is a relative size (S, M, L), not a time estimate. A real plan would size work after discovery.

12User journeys

A day in the product.

Priya, a customerGet help with a password

  1. Open the chatTypes her question.
  2. Get a sourced answerThe reset steps arrive with the article name.
  3. Follow up if neededAsks something unusual.
  4. Reach a personThe assistant says so and hands over the thread.

Tomás, an agentResolve a handed-over case

  1. Open the inboxSees the queue ordered by urgency.
  2. Read the contextSentiment, intent and suggested articles are shown.
  3. Draft with helpRequests a sourced reply and edits it.
  4. ResolveMarks done or creates a ticket.
Part 03Design

Structure, wireframes and the working prototype.

13Information architecture

How the product is organised.

  • Relay Support
    • Customer
      • Chat widget
      • Email and messaging
    • Workspace
      • Overview
      • Inbox
      • Tickets
    • Build
      • Chatbot builder
      • Knowledge base
      • Ingestion
      • Workflows
    • Manage
      • Team
      • Analytics
      • Integrations

14Wireframes

Layout before style.

Low-fidelity sketches settle structure and priority before colour and type enter the discussion.

Three-panel inboxList, thread and context side by side.
Chatbot builderSettings on the left, a live preview on the right.
Workspace overviewQueue and knowledge gaps up front.
Knowledge baseArticles with topic, searchable and editable.

15UI/UX design process

Idea to launch, in six steps.

  1. 1
    Discover

    Interview support agents and leads, map their day, and agree what the first release must prove.

  2. 2
    Define

    Write the product plan, the data model and the rules. Decide how we will handle accuracy, confidence and escalation before any screen is drawn.

  3. 3
    Design

    Sketch wireframes, build the design system, and test a clickable prototype with real users.

  4. 4
    Build

    Ship in weekly cycles, each ending in something a user can try.

  5. 5
    Launch

    Onboard a small group first. We watch how often the assistant hands over, and why and fix what confuses people before widening access.

  6. 6
    Scale

    Add integrations and intelligence once real usage shows where they pay off.

16Final interface

Click through it.

This is the working prototype, not a picture. Pick a screen, resize the preview, and use the controls. 12 screens are connected, and every filter, form and chart responds.

Open full screen
Relay Support three-panel inbox with conversations, a thread and customer context

The product page, with a direct route into the chatbot and the inbox.

Sample data only. Everything you change stays in your browser.

17Design system

Rules the interface follows.

  • Density with clarity: built for people who live in it all day.
  • AI output is always labelled, with its source.
  • Colour carries meaning: mint for the assistant, violet for actions, amber for attention.
  • Keyboard first: every action has a shortcut.
Violet#8b7bffPrimary actions and selection
Mint#34d399The assistant and success
Amber#fbbf24Needs a human
Red#f87171Negative sentiment and urgent
Night#0b0b14Default background

Type. A compact sans at 13px for dense lists, with clear weight changes. Dark by default, with a light theme.

  • Conversation row
  • Message bubble with source chip
  • Context panel
  • Confidence indicator
  • Rule builder
  • Chunk preview
  • Command palette
Part 04Engineering

The stack, the architecture and how it scales.

+Technology choices

Why these tools.

Each choice follows from what this product needs. We do not use a tool because it is fashionable.

LayerChoiceWhy
FrontendNext.js, React, TypeScript, Tailwind CSSA fast, keyboard-friendly app with a separate small widget bundle.
API and real timeNode.js with REST and WebSocketsEvent-driven work suits live conversations.
DatabasePostgreSQLReliable records for conversations, rules and audits.
Vector searchpgvector or a managed vector indexSemantic retrieval, kept close to the data.
AIClaude and OpenAI through a gatewayPick per task, compare quality and cost, and add redaction and logging in one place.
CloudAWS with Docker and CI/CDIndependent scaling of web, real time and ingestion.

18Frontend architecture

The client.

A Next.js application with a real-time layer for new messages and typing indicators. The three-panel inbox is built for keyboard use and long sessions.

The chat widget is a separate lightweight bundle that customers load on their site.

  • WebSocket updates for conversations and presence
  • A virtualised conversation list for very large queues
  • A tiny, isolated widget bundle with no dependency on the app
  • Keyboard shortcuts and a command palette
  • Streaming responses in the widget

19Backend architecture

The service.

A Node.js service handles conversations, workflows and channel integrations. A retrieval service owns ingestion, chunking and search, so it can scale on its own.

Every model call goes through one gateway that adds logging, limits and redaction.

  • Channel adapters for email, chat and messaging
  • A workflow engine that evaluates rules per message
  • A model gateway with redaction, logging and fallback
  • A retrieval service with its own queue for ingestion
  • Event-driven updates to the inbox

20Database architecture

The data.

PostgreSQL stores conversations, messages, tickets and rules. A vector index, using pgvector or a dedicated service, stores embeddings of article and document chunks.

Each answer stores which chunks it used, so it can be audited later.

conversations

  • id
  • channel
  • customer_id
  • status
  • owner_id
  • priority

messages

  • id
  • conversation_id
  • author_type
  • body
  • cited_chunk_ids
  • confidence

articles

  • id
  • title
  • body
  • topic
  • updated_at

chunks

  • id
  • source_id
  • text
  • embedding

The embedding powers semantic search

workflows

  • id
  • condition
  • action
  • active

knowledge_gaps

  • id
  • question
  • count
  • last_seen

21API structure

The contract.

A REST API plus a WebSocket channel for live updates. Widget requests are authenticated with a public key and rate limited.

  • POST/v1/chat/messagesSend a customer message and get an answer or a handover
  • GET/v1/conversationsList conversations with filters
  • POST/v1/conversations/:id/repliesSend an agent reply
  • POST/v1/conversations/:id/suggestDraft a sourced reply
  • POST/v1/knowledge/documentsIngest a document
  • GET/v1/knowledge/searchTest retrieval for a query
  • PATCH/v1/workflows/:idChange or toggle a rule
  • GET/v1/analytics/containmentBot and human outcomes

22AI integrations

Where AI helps, and where it stops.

Retrieval-augmented answers

The question is embedded, the closest chunks are retrieved, and the model phrases an answer using only those chunks. In the prototype, keyword scoring stands in for embeddings.

Guardrail. If confidence is below the threshold the assistant does not answer. Every answer shows its source.

Sentiment and intent

A classifier labels each message so workflows can route frustrated or billing-related customers. The prototype uses a transparent word list.

Guardrail. Labels are shown to agents and never used to deprioritise a customer.

Agent reply drafting

The same retrieval produces a draft reply for an agent to edit.

Guardrail. Agents always review and send. Drafts cite their source.

23Security considerations

Built in from the start.

Authentication

Single sign-on for agents and signed, short-lived tokens for the widget.

Authorization

Roles for admin, agent and viewer, with per-queue access.

Data minimisation for AI

Personal data is redacted before a prompt is built, and only needed fields are sent to a model provider.

Prompt injection

Retrieved text is treated as data, not instructions, and the model has no tools that can act without review.

Input validation and XSS

Customer messages are escaped everywhere they are displayed.

Audit

Every model call and every cited source is logged for review.

Tenant isolation

Knowledge bases and conversations are strictly separated between customers.

24Infrastructure and deployment

How it would run.

Containers on AWS with separate scaling for the web app, the real-time gateway and the ingestion workers. A model gateway sits between the platform and AI providers.

This is the proposed design. Nothing is running.

  1. Channels
    • Chat widget
    • Email
    • Messaging apps
  2. Edge
    • CDN
    • WAF
    • Load balancer
  3. Application
    • Next.js app
    • Node.js API
    • Real-time gateway
    • Workflow engine
  4. AI
    • Model gateway
    • Retrieval service
    • Embedding workers
  5. Data
    • PostgreSQL
    • Vector index
    • Redis
    • Object storage

25Scalability strategy

Grow without rewriting.

  1. First teamsOne region, a shared retrieval service and a managed vector index.
  2. GrowthPer-tenant indexes, queue-based ingestion and a cache for common answers.
  3. ScaleRegional deployments, evaluation pipelines for answer quality, and cost controls on model use.
Part 05Roadmap

How it would ship, and what comes after.

26Development roadmap

Four phases.

Phase 1: Inbox

  • Conversations and assignment
  • Knowledge base
  • Tickets

Phase 2: Assistant

  • Retrieval and citations
  • Confidence threshold
  • Human handover

Phase 3: Automation

  • Workflows
  • Sentiment and intent
  • Knowledge gap report

Phase 4: Intelligence

  • Embedding-based search
  • Agent reply drafting
  • Quality evaluation

Phases show order, not dates. A real plan would add timing after discovery.

27Future improvements

After launch.

  • Voice and call summaries
  • Multilingual answers
  • Customer-facing article suggestions
  • Automatic knowledge base drafts from solved tickets
  • Quality scoring and training insights

Build something similar with Startiffy.

Tell us the idea. After a 30-minute call you get a written product plan within an hour.