<?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: Ligaya IA Systems</title>
    <description>The latest articles on DEV Community by Ligaya IA Systems (@ed_palicpic_1ccded2150647).</description>
    <link>https://dev.to/ed_palicpic_1ccded2150647</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4266846%2Fe6602dbc-6e55-4c73-a816-225996e698b9.png</url>
      <title>DEV Community: Ligaya IA Systems</title>
      <link>https://dev.to/ed_palicpic_1ccded2150647</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ed_palicpic_1ccded2150647"/>
    <language>en</language>
    <item>
      <title>How I built a WhatsApp AI receptionist for clinics with n8n (free template)</title>
      <dc:creator>Ligaya IA Systems</dc:creator>
      <pubDate>Thu, 26 Nov 2026 12:11:58 +0000</pubDate>
      <link>https://dev.to/ed_palicpic_1ccded2150647/how-i-built-a-whatsapp-ai-receptionist-for-clinics-with-n8n-free-template-1l1e</link>
      <guid>https://dev.to/ed_palicpic_1ccded2150647/how-i-built-a-whatsapp-ai-receptionist-for-clinics-with-n8n-free-template-1l1e</guid>
      <description>&lt;p&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4yhqzxaiht2unrjyqq11.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4yhqzxaiht2unrjyqq11.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;Clinics lose patients for a very simple reason: nobody answers WhatsApp at 9:30 pm. A patient asks how much a cleaning costs, gets no reply, and books with the clinic down the street.&lt;/p&gt;

&lt;p&gt;So I built an AI agent in n8n that answers at that hour the way the front desk would. Here's how it's put together and what it took to make it feel natural.&lt;/p&gt;

&lt;h2&gt;
  
  
  The architecture
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Input:&lt;/strong&gt; an Evolution API webhook receives every WhatsApp message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filter:&lt;/strong&gt; own messages (&lt;code&gt;fromMe&lt;/code&gt;) and group messages (&lt;code&gt;@g.us&lt;/code&gt;) are dropped, otherwise the agent ends up talking to itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent:&lt;/strong&gt; an n8n AI Agent node with GPT-4.1 mini and &lt;strong&gt;Postgres Chat Memory&lt;/strong&gt;, keyed by phone number, so each patient keeps their own conversation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Message splitter:&lt;/strong&gt; long replies are split into 2–3 short messages with a short pause between them. This is the single biggest thing that stops it feeling like a bot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output:&lt;/strong&gt; messages go back out through Evolution API.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Three things I learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The prompt matters more than the model.&lt;/strong&gt; Organising the system prompt into sections (identity, tone, hard "never do" rules, the clinic's FAQs) improved answers more than switching to a pricier model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Health questions always get referred.&lt;/strong&gt; The agent never diagnoses or comments on treatments; it offers to put the patient in touch with a professional. That's what makes it acceptable for a real clinic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. In the EU it has to say it's an AI.&lt;/strong&gt; Article 50 of the EU AI Act (applicable since 2 August 2026) requires that people know they're talking to an AI system. The agent introduces itself as a virtual assistant in the first message and confirms it if asked. A lot of bots out there are designed to deny it.&lt;/p&gt;

&lt;h2&gt;
  
  
  It's bilingual
&lt;/h2&gt;

&lt;p&gt;It detects whether the patient writes in Spanish or English and replies in the same language — useful on the Spanish coast, where many patients are expats.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;I've published the basic version for free: the workflow, system prompts in Spanish and English, and a 15–20 minute setup guide.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/Maria00-1/n8n-whatsapp-ai-agent-clinics" rel="noopener noreferrer"&gt;https://github.com/Maria00-1/n8n-whatsapp-ai-agent-clinics&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You'll need n8n (self-hosted or cloud), Evolution API with a WhatsApp number, an OpenAI key, and a small PostgreSQL database.&lt;/p&gt;

&lt;p&gt;The full version adds real Google Calendar booking (checks free slots and creates the appointment), a Notion CRM, and Telegram alerts to the team when a human is needed: &lt;a href="https://palicpic6.gumroad.com/l/uoewg" rel="noopener noreferrer"&gt;https://palicpic6.gumroad.com/l/uoewg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about the Evolution API setup or the prompt structure? Ask in the comments.&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>ai</category>
      <category>automation</category>
      <category>whatsapp</category>
    </item>
  </channel>
</rss>
