<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AkiliNode]]></title><description><![CDATA[AkiliNode]]></description><link>https://akilinode.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:03:26 GMT</lastBuildDate><atom:link href="https://akilinode.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Build a WhatsApp FAQ Bot with n8n and DeepSeek (~$0.33 per 1,000 replies)]]></title><description><![CDATA[Your customers already ask the same ten questions on WhatsApp every day — opening hours, delivery, prices, payment. This tutorial wires n8n to the DeepSeek…]]></description><link>https://akilinode.hashnode.dev/build-a-whatsapp-faq-bot-with-n8n-and-deepseek-0-33-per-1-000-replies</link><guid isPermaLink="true">https://akilinode.hashnode.dev/build-a-whatsapp-faq-bot-with-n8n-and-deepseek-0-33-per-1-000-replies</guid><category><![CDATA[n8n]]></category><category><![CDATA[whatsapp]]></category><category><![CDATA[Deepseek]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[api]]></category><dc:creator><![CDATA[johnwilson0924]]></dc:creator><pubDate>Tue, 17 Nov 2026 18:54:15 GMT</pubDate><content:encoded><![CDATA[<p>Your customers already ask the same ten questions on WhatsApp every day — opening hours, delivery, prices, payment. This tutorial wires n8n to the DeepSeek API so those questions answer themselves, for about <strong>USD 0.33 per 1,000 replies</strong>. The workflow is three nodes, and you can import it ready-made.</p>
<p>I run <a href="https://akilinode.com">AkiliNode</a>, an OpenAI-compatible API gateway for DeepSeek, GLM and Qwen priced for African developers, and this is the setup our users ask for most.</p>
<h2>What you need</h2>
<ul>
<li><strong>n8n</strong> — self-hosted or n8n Cloud; the free self-hosted version is fine.</li>
<li><strong>A WhatsApp Business number</strong> — via the Meta WhatsApp Cloud API, which n8n's WhatsApp nodes connect to. A test number from Meta works for this tutorial.</li>
<li><strong>An AkiliNode API key</strong> — <a href="https://akilinode.com/sign-up">sign up free</a>, USD 0.10 test credit included; top up later with M-Pesa if you are in Kenya. AkiliNode is OpenAI-compatible, which is why the setup below is just a URL and a key.</li>
</ul>
<h2>How it works</h2>
<p>Three nodes, in a line:</p>
<ol>
<li><strong>WhatsApp Trigger</strong> — fires whenever a customer messages your business number.</li>
<li><strong>HTTP Request → DeepSeek</strong> — sends the customer's message, plus a system prompt containing your FAQ, to <code>https://api.akilinode.com/v1/chat/completions</code> with model <code>deepseek-flash</code>.</li>
<li><strong>WhatsApp (Send Message)</strong> — sends the model's answer back to the same customer.</li>
</ol>
<h2>Step 1 — Get your AkiliNode API key</h2>
<p>Create a free account, verify your email, then open the console's token page and create a token. Keep it handy — it goes into the workflow in Step 3. Full walkthrough in the <a href="https://akilinode.com/docs/quickstart.html">quickstart</a>.</p>
<h2>Step 2 — Import the workflow</h2>
<p>Download the ready-made workflow: <a href="https://akilinode.com/guides/n8n-whatsapp-faq-bot.json">n8n-whatsapp-faq-bot.json</a>. In n8n, open <strong>Workflows → ⋯ → Import from File</strong> and select it. You will see the three nodes plus a sticky note with the same setup steps.</p>
<h2>Step 3 — Connect WhatsApp and paste your key</h2>
<ul>
<li>In the <strong>WhatsApp Trigger</strong> node, create a credential with your Meta WhatsApp app details. n8n shows a webhook URL for the trigger — paste it into your Meta app's webhook settings so incoming messages reach n8n.</li>
<li>In the <strong>Ask DeepSeek</strong> node, replace <code>YOUR_AKILINODE_API_KEY</code> in the Authorization header with your token from Step 1.</li>
<li>In the <strong>Send WhatsApp Reply</strong> node, connect the same WhatsApp credential. The recipient and text are already wired by expressions: the customer who just messaged you, and the model's answer (<code>choices[0].message.content</code>).</li>
</ul>
<p>This is the exact request the middle node sends — the custom base URL is the whole trick, and it works because AkiliNode is OpenAI-compatible:</p>
<pre><code class="language-text">POST https://api.akilinode.com/v1/chat/completions
Authorization: Bearer YOUR_AKILINODE_API_KEY
Content-Type: application/json

{
  "model": "deepseek-flash",
  "messages": [
    { "role": "system", "content": "You are the WhatsApp assistant for ... Answer using ONLY the FAQ below. ..." },
    { "role": "user", "content": "&lt;the customer's WhatsApp message&gt;" }
  ]
}
</code></pre>
<h2>Step 4 — Write your FAQ into the system prompt</h2>
<p>The system prompt in the workflow ships with sample questions (hours, delivery, payment, returns). Replace them with yours. Two rules that matter:</p>
<ul>
<li><strong>Tell the model to answer only from the FAQ</strong> and to hand off to a human (with a real contact) when the answer is not there. This keeps a small model from inventing prices or policies.</li>
<li><strong>Keep the FAQ short.</strong> It is sent with every single request, so a bloated FAQ is a recurring cost on every reply. Ten crisp Q&amp;As beat two pages of prose.</li>
</ul>
<h2>Step 5 — Test, then go live</h2>
<p>Send your business number a WhatsApp message ("What time do you close?") and watch the execution in n8n. Check the field paths in the expressions against your trigger's output — WhatsApp payload shapes vary slightly between setups. When the reply lands, switch the workflow to <strong>Active</strong> and swap the test webhook for the production one.</p>
<blockquote>
<p><strong>WhatsApp's 24-hour rule:</strong> you can only send free-form replies within 24 hours of the customer's last message. A FAQ bot always replies inside that window, so it is unaffected — but don't reuse this workflow for proactive broadcasts; those need approved template messages.</p>
</blockquote>
<h2>What it costs</h2>
<p>With <code>deepseek-flash</code> at AkiliNode prices (USD 0.33 input / USD 1.32 output per 1M tokens), a typical FAQ exchange — about 400 tokens in (FAQ + question) and 150 tokens out — costs roughly USD 0.00033:</p>
<table>
<thead>
<tr>
<th>Volume</th>
<th>Model cost on AkiliNode</th>
</tr>
</thead>
<tbody><tr>
<td>1,000 replies</td>
<td>≈ USD 0.33</td>
</tr>
<tr>
<td>10,000 replies</td>
<td>≈ USD 3.30</td>
</tr>
<tr>
<td>One USD 5 top-up</td>
<td>≈ 15,000 replies</td>
</tr>
</tbody></table>
<p>WhatsApp conversation fees and n8n hosting are separate and depend on your setup. If some questions are too hard for Flash, route just those to <code>deepseek-v4-pro</code> (USD 1.45 / 4.36 per 1M) — same workflow, one word changed.</p>
<hr />
<p>More examples (Python, Node, LangChain): <a href="https://github.com/johnwilson0924/akilinode-examples">github.com/johnwilson0924/akilinode-examples</a>
Full tutorial on our site: <a href="https://akilinode.com/guides/n8n-whatsapp-deepseek">Build a WhatsApp FAQ Bot with n8n and DeepSeek</a></p>
]]></content:encoded></item></channel></rss>