<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by JayBhatt  on Medium]]></title>
        <description><![CDATA[Stories by JayBhatt  on Medium]]></description>
        <link>https://medium.com/@jayb96114?source=rss-f0af7fcb7cb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EKD4XV4RLH--gOtT</url>
            <title>Stories by JayBhatt  on Medium</title>
            <link>https://medium.com/@jayb96114?source=rss-f0af7fcb7cb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:53:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayb96114/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Build a WhatsApp AI Agent Using n8n and Groq]]></title>
            <link>https://medium.com/@jayb96114/i-build-a-whatsapp-ai-agent-using-n8n-and-groq-07321efb862e?source=rss-f0af7fcb7cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/07321efb862e</guid>
            <dc:creator><![CDATA[JayBhatt ]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 14:28:42 GMT</pubDate>
            <atom:updated>2026-03-06T14:28:42.744Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial Intelligence agents are becoming a powerful way to automate conversations with customers. One of the most useful implementations is connecting an AI agent to <strong>WhatsApp</strong>, allowing businesses or developers to create automated assistants that can answer questions, provide support, or perform tasks in real time.</p><p>In this blog, we will explore how to build a <strong>WhatsApp AI Agent using n8n and Groq Chat Model</strong>. This setup allows you to create an automated AI workflow where messages received on WhatsApp are processed by an AI model and then automatically responded to.</p><h3>What I Am Building</h3><p>I will create a simple automation workflow:</p><ol><li>A user sends a message on <strong>WhatsApp</strong></li><li><strong>n8n WhatsApp Trigger</strong> receives the message</li><li>The message is sent to an <strong>AI Agent</strong></li><li>The AI Agent processes it using a <strong>Groq Chat Model</strong></li><li>The generated response is sent back to the user via <strong>WhatsApp</strong></li></ol><p>This creates a <strong>fully automated WhatsApp AI chatbot</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XfquWM7Vwt2WShhgLXlrag.png" /><figcaption>Agent Workflow</figcaption></figure><h3>Architecture Overview</h3><p>The workflow shown in the image consists of four main components:</p><p><strong>1️⃣ WhatsApp Trigger → 2️⃣ AI Agent → 3️⃣ Groq Chat Model → 4️⃣ Send Message</strong></p><p>Each component plays a specific role in the automation pipeline.</p><h3>Workflow Diagram Explanation</h3><p>The workflow structure is:</p><pre>WhatsApp Trigger<br>       ↓<br>    AI Agent<br>       ↓<br>  Groq Chat Model<br>       ↓<br>  Send Message (WhatsApp)</pre><h3>1. WhatsApp Trigger</h3><p>The <strong>WhatsApp Trigger</strong> node is responsible for receiving messages sent to your WhatsApp number.</p><p>When a user sends a message like:</p><pre>Hello</pre><p>The trigger captures:</p><ul><li>Sender phone number</li><li>Message text</li><li>Timestamp</li><li>Message ID</li></ul><p>This node acts as the <strong>entry point</strong> of the automation.</p><p>Typical use cases include:</p><ul><li>Customer support automation</li><li>AI assistants</li><li>Lead generation bots</li><li>FAQ automation</li></ul><h3>2. AI Agent Node</h3><p>The <strong>AI Agent</strong> node is the core intelligence of the workflow.</p><p>It acts as the controller that:</p><ul><li>Receives user input</li><li>Sends it to the AI model</li><li>Processes the AI response</li><li>Sends the output to the next node</li></ul><p>The AI Agent can also support additional features such as:</p><ul><li><strong>Memory</strong> — remembering past messages</li><li><strong>Tools</strong> — calling external APIs</li><li><strong>Functions</strong> — performing actions like checking databases</li></ul><p>In this workflow, the AI Agent is connected to:</p><ul><li><strong>Chat Model</strong></li><li>Optional <strong>Memory</strong></li><li>Optional <strong>Tools</strong></li></ul><p>This makes the agent expandable for more advanced automation.</p><h3>3. Groq Chat Model</h3><p>The <strong>Groq Chat Model</strong> is used as the AI brain.</p><p>Groq provides extremely fast inference for large language models like:</p><ul><li>openai/gpt-css-safeguard-20b (Used in Workflow)</li></ul><p>Advantages of Groq:</p><p>✔ Very fast response time<br>✔ Free API tier available<br>✔ High throughput<br>✔ Easy integration with n8n</p><p>When the AI Agent receives a message, it sends the text to the <strong>Groq model</strong>.</p><p>Example:</p><p>User message:</p><pre>What is artificial intelligence?</pre><p>Groq model response:</p><pre>Artificial Intelligence (AI) is the simulation of human intelligence in machines that are programmed to think and learn.</pre><p>This response is then passed back to the AI Agent.</p><h3>4. Send Message Node</h3><p>The <strong>Send Message</strong> node sends the AI-generated response back to the user on WhatsApp.</p><p>This completes the conversation loop.</p><p>Example flow:</p><p>User sends:</p><pre>Hi</pre><p>AI Response:</p><pre>Hello! How can I help you today?</pre><p>The Send Message node delivers the response instantly to the user’s WhatsApp chat.</p><h3>Step-by-Step Setup Guide</h3><h3>Step 1 — Install n8n</h3><p>You can install n8n locally using:</p><pre>npm install n8n -g<br>n8n start</pre><p>Or run using Docker:</p><pre>docker run -it --rm \<br>-p 5678:5678 \<br>n8nio/n8n</pre><p>Open the n8n dashboard:</p><pre>http://localhost:5678<br></pre><p>Use Direct On Website:</p><p><a href="https://n8n.io/">https://n8n.io/</a></p><p>Step 2 — Setup WhatsApp Integration</p><p>To connect WhatsApp, you can use:</p><ul><li>Facebook Developer Account(FDA)</li><li>Facebook Business Account</li><li>In FDA you create new app and choose whatsapp</li><li>Then after 24hr you get your test number</li><li>And then generate access token</li></ul><p>Create credentials inside n8n and connect them to the <strong>WhatsApp Trigger</strong> node.</p><h3>Step 3 — Add AI Agent Node</h3><p>In the workflow editor:</p><ol><li>Add <strong>AI Agent node</strong></li><li>Connect it to the <strong>WhatsApp Trigger</strong></li><li>Configure the agent instructions</li></ol><p>Example prompt:</p><pre>You are a helpful WhatsApp assistant that answers user questions clearly and politely.</pre><h3>Step 4 — Connect Groq Chat Model</h3><p>Create a <strong>Groq API key</strong>.</p><p>Then:</p><ol><li>Add <strong>Groq Chat Model node</strong></li><li>Enter the API key</li><li>Select a model</li></ol><p>Recommended model:</p><pre>llama3-8b-8192</pre><p>Connect the model to the <strong>AI Agent Chat Model input</strong>.</p><h3>Step 5 — Add Send Message Node</h3><p>Finally:</p><ol><li>Add <strong>Send Message</strong></li><li>Connect it to the AI Agent</li><li>Map the output message from AI</li></ol><p>The response generated by the model will be sent automatically to WhatsApp.</p><h3>Example Conversation</h3><p>User message:</p><pre>What is Python?</pre><p>AI Response:</p><pre>Python is a popular programming language used for web development, AI, automation, and data science.</pre><p>User message:</p><pre>Can you help me learn coding?</pre><p>AI Response:</p><pre>Yes! I can guide you through programming concepts and provide examples. What language would you like to start with</pre><p>You can choose default or define by your question answer Agent.</p><p><strong>In this Agent You Need:</strong></p><ul><li>Facebook Developer Account</li><li>Facebook Buisness Account</li><li>Chat Model API</li></ul><h3>Benefits of This Setup</h3><p>Using <strong>n8n + Groq + WhatsApp</strong> provides many advantages:</p><ul><li>Fast AI responses</li><li>Free or low-cost APIs</li><li>Easy automation integration</li><li>AI-powered conversations</li><li>Direct communication on WhatsApp</li></ul><h3>Conclusion</h3><p>Building a <strong>WhatsApp AI Agent using n8n and Groq Chat Model</strong> is a powerful way to automate conversations and build intelligent assistants.</p><p>This workflow allows you to:</p><ul><li>Receive messages from WhatsApp</li><li>Process them using AI</li><li>Send smart responses automatically</li></ul><p>With additional integrations like <strong>memory, databases, and APIs</strong>, you can transform this simple chatbot into a <strong>full AI assistant for business automation</strong>.</p><p>You Can Download json file from here:</p><p><a href="https://github.com/jaybhatt124/N8N-WhatsappAgent/">https://github.com/jaybhatt124/N8N-WhatsappAgent/</a></p><p><strong>Real Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*-Y5ggX-U7IlOmbSG3uzuPg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07321efb862e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Voice-to-Voice Translator Using AssemblyAI and ElevenLabs]]></title>
            <link>https://medium.com/@jayb96114/building-a-voice-to-voice-translator-using-assemblyai-and-elevenlabs-8430d098b9c7?source=rss-f0af7fcb7cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8430d098b9c7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-workflow]]></category>
            <category><![CDATA[eleven-labs]]></category>
            <category><![CDATA[ai-workflow-automation]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[JayBhatt ]]></dc:creator>
            <pubDate>Sun, 14 Dec 2025 09:37:25 GMT</pubDate>
            <atom:updated>2025-12-14T10:10:46.844Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I’m sharing my experience building a <strong>Voice-to-Voice Translator</strong> using modern AI tools like <strong>AssemblyAI</strong>, <strong>ElevenLabs</strong>, and <strong>Python</strong>. The goal of this project is simple:<br> <strong>Speak in one language and hear the translated voice in another language.</strong></p><p>This project combines speech recognition, language translation, and AI voice generation into one smooth workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5Azc3VPfPgOFBqPWwmIFw.png" /><figcaption>gradio voice-to-voice translator</figcaption></figure><h3>What Is a Voice-to-Voice Translator?</h3><p>A voice-to-voice translator is an application that:</p><ol><li>Takes <strong>voice input</strong> from the user</li><li>Converts speech into text</li><li>Translates the text into another language</li><li>Converts the translated text back into <strong>natural-sounding speech</strong></li></ol><p>This type of system is useful for:</p><ul><li>Language learning</li><li>International communication</li><li>Accessibility</li><li>Travel and global business</li></ul><h3>Technologies Used</h3><h3>AssemblyAI</h3><p>AssemblyAI is used for <strong>speech-to-text conversion</strong>.<br> It accurately converts spoken audio into readable text and supports multiple languages.</p><h3>ElevenLabs</h3><p>ElevenLabs is used for <strong>text-to-speech generation</strong>.<br> It creates realistic, human-like voices that sound clear, warm, and natural.</p><h3>Python</h3><p>Python is the main programming language for this project.<br> It handles:</p><ul><li>API integration</li><li>Audio processing</li><li>Translation logic</li><li>File handling</li></ul><h3>Gradio</h3><p>Gradio is used to build a <strong>simple and interactive web interface</strong>.<br> It allows users to:</p><ul><li>Upload or record audio</li><li>Choose target language</li><li>Listen to the translated voice instantly</li></ul><h3>Supporting Libraries</h3><ul><li><strong>translateuuid</strong> — to manage unique translation sessions</li><li><strong>pathlib</strong> — for clean and safe file handling</li><li><strong>Requests &amp; OS modules</strong> — for API communication and system tasks</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKYvzzEFdHLOq6EUt2tZSA.jpeg" /><figcaption>Workflow</figcaption></figure><h3>How the System Works</h3><p>Here’s the step-by-step workflow:</p><ol><li>️ User records or uploads voice input</li><li>AssemblyAI converts voice into text</li><li>The text is translated into the selected language</li><li>ElevenLabs converts translated text into speech</li><li>️ The translated voice is played back to the user</li></ol><p>All of this happens inside a <strong>Gradio interface</strong>, making the app easy to use even for non-technical users.</p><h3>Key Features</h3><ul><li>Real-time voice translation</li><li>Natural and clear AI voice</li><li>Simple web interface</li><li>Supports multiple languages</li><li>Fast and accurate transcription</li><li>Built entirely with Python</li></ul><h3>Why I Built This Project</h3><p>I wanted to explore how different AI services can work together to solve real-world problems.<br> This project helped me to learn:</p><ul><li>API integration</li><li>Audio processing</li><li>AI speech technologies</li><li>Building user-friendly AI apps</li></ul><p>It also shows how powerful AI can be when combined correctly.</p><h3>Future Improvements</h3><p>In the future, I plan to:</p><ul><li>Add more language support</li><li>Improve translation accuracy</li><li>Enable real-time live conversation mode</li><li>Add voice selection options</li><li>Deploy the app online for public use</li></ul><h3>Conclusion</h3><p>Building a <strong>Voice-to-Voice Translator</strong> using AssemblyAI and ElevenLabs was an exciting and educational experience. With Python and Gradio, it’s possible to create powerful AI applications with minimal effort.</p><p>This project proves that AI-powered voice translation is no longer futuristic — it’s achievable today.</p><p><strong>FULLCODE Repository on GitHub</strong></p><p><a href="https://github.com/jaybhatt124/voice-to-voice-teranslator">https://github.com/jaybhatt124/voice-to-voice-teranslator</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8430d098b9c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Array vs Linked List: Key Differences and When to Use Them]]></title>
            <link>https://medium.com/@jayb96114/array-vs-linked-list-key-differences-and-when-to-use-them-a0b7efd50947?source=rss-f0af7fcb7cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0b7efd50947</guid>
            <category><![CDATA[linked-list-program]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[datastrucutre]]></category>
            <category><![CDATA[arrays]]></category>
            <dc:creator><![CDATA[JayBhatt ]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 16:23:50 GMT</pubDate>
            <atom:updated>2025-07-02T16:23:50.531Z</atom:updated>
            <content:encoded><![CDATA[<h3>🧠 Introduction</h3><p>When learning data structures, two of the most common and foundational types are <strong>arrays</strong> and <strong>linked lists</strong>. They both store collections of data, but they do it in very different ways. Understanding how they work — and when to use each — is key for writing efficient code and acing technical interviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*icdMAmbLRTd3yqtA4J3Fwg.jpeg" /><figcaption>array list and linked list</figcaption></figure><h3>📦 What Is an Array?</h3><p>An <strong>array</strong> is a collection of elements stored in <strong>contiguous memory locations</strong>. Each element is accessed using an <strong>index</strong>.</p><p>ex:</p><p>#include &lt;stdio.h&gt;</p><p>int main() {<br> int arr[4] = {10, 20, 30, 40};<br> printf(“Element at index 2: %d\n”, arr[2]);<br> return 0;<br>}</p><h3>✅ Key Features:</h3><ul><li>Fixed size</li><li>Fast random access (O(1))</li><li>Stored in a single memory block</li></ul><h3>🔗 What Is a Linked List?</h3><p>A <strong>linked list</strong> is a linear data structure where each element (called a <strong>node</strong>) contains data and a pointer to the <strong>next node</strong>.</p><p>ex.</p><p>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;</p><p>struct Node {<br> int data;<br> struct Node* next;<br>};</p><p>int main() {<br> struct Node* head = malloc(sizeof(struct Node));<br> struct Node* second = malloc(sizeof(struct Node));</p><p>head-&gt;data = 10;<br> head-&gt;next = second;</p><p>second-&gt;data = 20;<br> second-&gt;next = NULL;</p><p>printf(“Second node data: %d\n”, head-&gt;next-&gt;data);<br> return 0;<br>}</p><h3>✅ Key Features:</h3><ul><li>Dynamic size</li><li>Slower access time (O(n))</li><li>Each node stored at different memory locations</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3184UjKJgmWnadzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f3t4Vei49onj_r0Z.png" /></figure><h3>🔧 When to Use an Array</h3><p>Use an array when:</p><ul><li>You <strong>know the size</strong> in advance</li><li>You need <strong>fast access by index</strong></li><li>You are doing <strong>more reading</strong> than inserting/deleting</li></ul><p><strong>Example use-cases</strong>:</p><ul><li>Static lists (days of week, months)</li><li>Matrix representations</li><li>Lookup tables</li></ul><h3>🔧 When to Use a Linked List</h3><p>Use a linked list when:</p><ul><li>You don’t know the size in advance</li><li>You need to <strong>insert/delete frequently</strong></li><li>Memory fragmentation is acceptable</li></ul><p><strong>Example use-cases</strong>:</p><ul><li>Music playlist queues</li><li>Browser history (stack/linked list)</li><li>Dynamic memory allocators</li></ul><h3>🏁 Conclusion</h3><p>Both arrays and linked lists have strengths and weaknesses. Arrays are simple and fast for fixed-size data. Linked lists are flexible and great for dynamic data. The best choice depends on your use case.</p><blockquote><strong><em>Tip for Interviews</em></strong><em>: Always mention time complexity and memory trade-offs when comparing these structures!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0b7efd50947" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>