<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jing Bai</title>
    <description>The latest articles on DEV Community by Jing Bai (@andybai2000).</description>
    <link>https://dev.to/andybai2000</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3962167%2F2619fe34-f549-4712-8aeb-92e07d91c376.png</url>
      <title>DEV Community: Jing Bai</title>
      <link>https://dev.to/andybai2000</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andybai2000"/>
    <language>en</language>
    <item>
      <title>How I Built an AI Sales Advisor Using DeepSeek + Vercel — and What I Learned from 30 Years of B2B Deals</title>
      <dc:creator>Jing Bai</dc:creator>
      <pubDate>Mon, 01 Jun 2026 07:19:21 +0000</pubDate>
      <link>https://dev.to/andybai2000/how-i-built-an-ai-sales-advisor-using-deepseek-vercel-and-what-i-learned-from-30-years-of-b2b-3d0m</link>
      <guid>https://dev.to/andybai2000/how-i-built-an-ai-sales-advisor-using-deepseek-vercel-and-what-i-learned-from-30-years-of-b2b-3d0m</guid>
      <description>&lt;p&gt;I remember a deal I lost in 2018 — a $2M automation project in Guangzhou. I had the best product, the best price, and I lost it. Not because of the competition. Because I never figured out that the real decision maker wasn't the VP of Engineering — it was the CFO who sat in on only one meeting and never spoke. That loss cost me six months of work. Cliento was born from that loss.                             &lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem I Kept Seeing
&lt;/h2&gt;

&lt;p&gt;After 30+ years closing complex B2B deals in industrial automation, robotics, and enterprise software, I kept watching the same thing happen:&lt;/p&gt;

&lt;p&gt;Talented sales reps losing deals they should have won.&lt;/p&gt;

&lt;p&gt;Not because of lack of effort. But because at 9pm before a critical meeting, there was no senior advisor to call. No one to help diagnose why a deal went cold. No framework to figure out who the real decision maker was.&lt;/p&gt;

&lt;p&gt;So I built Cliento — an AI Sales Advisor that puts 30 years of real deal experience into the hands of every B2B sales rep.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Cliento Does
&lt;/h2&gt;

&lt;p&gt;Cliento is a conversational AI coach for B2B account executives navigating complex, multi-stakeholder deals.&lt;/p&gt;

&lt;p&gt;Ask it anything about a live deal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"How do I find my real target customers?"&lt;/li&gt;
&lt;li&gt;"Who is the internal champion in this account?"&lt;/li&gt;
&lt;li&gt;"Why did this deal suddenly go cold?"&lt;/li&gt;
&lt;li&gt;"How do I prepare for a meeting with the CFO?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every response follows a structured format:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Core Issue&lt;/strong&gt; — what's really going on&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sharp Questions&lt;/strong&gt; — what you need to ask yourself&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Direction&lt;/strong&gt; — what to do next&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;Single-page HTML/CSS/JS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Model&lt;/td&gt;
&lt;td&gt;DeepSeek (deepseek-chat)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API Proxy&lt;/td&gt;
&lt;td&gt;Vercel Serverless Function&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hosting&lt;/td&gt;
&lt;td&gt;Vercel (free tier)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Total infrastructure cost: near zero.&lt;br&gt;
Deployment time: under 5 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why DeepSeek?
&lt;/h2&gt;

&lt;p&gt;I chose DeepSeek for three reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cost&lt;/strong&gt; — fraction of GPT-4 pricing for similar output&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed&lt;/strong&gt; — fast response times for conversational use&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reasoning quality&lt;/strong&gt; — surprisingly strong at structured sales reasoning when given the right prompts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The secret isn't the model. It's the prompt engineering built on 30 years of real sales frameworks.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://api.deepseek.com/chat/completions&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;POST&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Authorization&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`Bearer &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;DEEPSEEK_KEY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;deepseek-chat&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;body&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;messages&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simple. Secure. No API key exposed to the client.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 10 Questions Cliento Answers
&lt;/h2&gt;

&lt;p&gt;These are the real questions that win or lose B2B deals:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How do I find my target customers?&lt;/li&gt;
&lt;li&gt;How do I uncover real pain points?&lt;/li&gt;
&lt;li&gt;What background questions confirm a real opportunity?&lt;/li&gt;
&lt;li&gt;How do I ask diagnostic questions?&lt;/li&gt;
&lt;li&gt;Who is the internal champion?&lt;/li&gt;
&lt;li&gt;How do I prepare for the key decision maker?&lt;/li&gt;
&lt;li&gt;What's my logic for saying this deal is 75% likely to close?&lt;/li&gt;
&lt;li&gt;How do I handle last-minute negotiation obstacles?&lt;/li&gt;
&lt;li&gt;How do I reach a win-win agreement?&lt;/li&gt;
&lt;li&gt;How do I debrief what I won and lost?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Building this taught me something unexpec&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqh8rw3ddxmlrcb56yv67.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqh8rw3ddxmlrcb56yv67.png" alt=" " width="800" height="634"&gt;&lt;/a&gt;ted: &lt;strong&gt;the hardest part wasn't the code. It was distilling 30 years of sales intuition into structured prompts.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every framework, every diagnostic question, every coaching sequence had to be precise enough that an AI could deliver it consistently — and honest enough that a senior sales leader would recognize it as real.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://cliento-sales-advisor.vercel.app" rel="noopener noreferrer"&gt;https://cliento-sales-advisor.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/andybai2000/Cliento-sales-advisor" rel="noopener noreferrer"&gt;https://github.com/andybai2000/Cliento-sales-advisor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's free. Open source. Deploy your own in 5 minutes.&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the sales methodology, the prompts, or the tech. Ask me anything below. 👇&lt;/p&gt;

&lt;p&gt;A note for B2B sales teams in Asia: the decision chain in Chinese enterprise accounts is often invisible on the org chart. Cliento helps you map it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
