How to Create and Sell an AI Chatbot for 24/7 Customer Support
    NoCode

    How to Create and Sell an AI Chatbot for 24/7 Customer Support

    Gianro Compagno
    2026-01-07
    5 min read
    Customer service is evolving, and companies are seeking agile solutions to communicate with their users through common channels like WhatsApp and Telegram. Today, we show you how to create a functional and simple AI chatbot that you can offer to businesses via subscription, facilitating their transition to automation. Is it complicated to set up this system? Not at all. Tools like n8n allow you to automate processes and connect services without the need for programming. Additionally, services like Hostinger's VPS simplify the installation of n8n, enabling you to deploy an instance in minutes without technical complications. n8n is an automation platform that allows you to create workflows by connecting different services through modules or nodes. This way, you can build autonomous systems without relying on complex developments or external infrastructures. With n8n installed on your server, you can set up your own AI customer service agent. The first step is to obtain the API keys for WhatsApp and Telegram so that the chatbot can send and receive messages on both platforms. The WhatsApp process is a bit more detailed, but in a few minutes, you'll have both integrations ready. For WhatsApp, access the Meta developer portal, log in, and create a new application, assigning it a name and a contact email. Select the app type aimed at connecting with customers via WhatsApp and link it to your business page. After verifying the requirements, configure the API by adding a phone number, verifying the received code, and noting the number ID and Business ID. Generate the access token and define the API permissions. Copy and securely store this data. In n8n, add a new credential for the WhatsApp API by pasting the token and Business ID. The system will automatically check the connection. You can also create a credential of type "WhatsApp OAuth account" using the application ID and secret key. For Telegram, the process is even simpler and free. Use BotFather to create a new bot, choose a name, and obtain the corresponding token. We recommend disabling privacy mode with the command "/setprivacy" to ensure the bot responds to all messages. Add the token in n8n and verify the connection. With both platforms ready, it's time to create the AI agent. In n8n, create a new workflow and add a trigger for WhatsApp Business, configuring the credential type and the received message event. You can add a "Switch" module to analyze the message content and redirect it to the appropriate agent based on the case. If you want to integrate Telegram, you can duplicate the flow and change the trigger, or manage both channels in a single workflow using another "Switch" to send the response through the originating channel. Configure the AI module, for example, ChatGPT, specifying the model, the prompt, and linking the received message. Add a node to send the response back to the user through the corresponding channel. The basic flow would be: the user sends a message, the bot receives it, the AI generates the response, and the bot sends it back. If the user sends images or files, you can set up additional nodes to manage them, integrating services like Google Drive or ticket systems like Jira. This system allows for 24/7 support and can be customized according to each company's needs. Additionally, with Hostinger, you can have your private instance of n8n starting at €4.99 per month, a more economical alternative compared to n8n's basic plan, which costs €20 monthly. The possibilities for these agents are enormous and represent an opportunity to venture into the automation and AI sector. Source: softzone.es
    Gianro Compagno

    Gianro Compagno

    CTO

    Gianro aporta una gran experiencia en gestión de proyectos tecnológicos en entornos multinacionales. Su experiencia técnica combinada con un MBA y una maestría en Psicología Investigativa crea un enfoque único para las soluciones tecnológicas. Como Experto en IA y Automatización, aplica conocimientos psicológicos para diseñar sistemas más intuitivos y centrados en el ser humano. Su enfoque orientado al detalle y mentalidad positiva aseguran que nuestras soluciones no solo sean innovadoras y confiables, sino que también se alineen con cómo las personas piensan y trabajan naturalmente.