In this categoryAutomation · 38
- How to Self-Host n8n with Docker for AI WorkflowsStart
- How to Extract Structured Data from PDFs with n8n
- How to Add OpenAI Credentials to n8n
- How to Connect Anthropic Claude as the Model in n8n Workflows
- How to Build an AI Messaging / Chatbot Automation (No Code)
- How to Build an AI Agent with Tools in n8n
- How to Build an n8n Workflow That Summarizes New Emails with AI
- How to Build a RAG Chatbot Over Your Docs in n8n
- How to Auto-Classify and Route Support Tickets with AI in n8n
- How to Schedule Daily AI Content Generation in n8n
- How to Extract Structured Data from PDFs with AI in n8n
- How to Add Error Handling and Retries to n8n AI Workflows
- How to Transcribe and Summarize Audio with AI in n8n
- How to Summarize Incoming Emails with AI in Make.com
- How to Auto-Classify Support Tickets with AI in Make.com
- How to Turn RSS Headlines into AI Blog Drafts in Make.com
- How to Build an AI Telegram Chatbot in Make.com
- How to Answer Questions from Your Docs with AI in Make.com
- How to Auto-Transcribe Audio Files with Whisper in Make.com
- How to Extract Invoice Data from PDFs with AI Vision in Make.com
- How to Generate Images from a Spreadsheet with AI in Make.com
- How to Run AI Sentiment Analysis on New Reviews in Make.com
- How to Auto-Translate Content into Multiple Languages in Make.com
- How to Handle AI Errors and Rate Limits in Make.com Scenarios
- How to Build Your First Zap with an AI Step
- How to Use Your Own OpenAI API Key in Zapier
- How to Auto-Summarize Form Submissions and Post Them to Slack
- How to Auto-Generate Social Media Captions From New Blog Posts
- How to Extract Structured Data From Emails Using a Zapier AI Step
- How to Call the Claude API From Zapier Using Webhooks
- How to Build a Simple AI Chatbot with Zapier Interfaces and Tables
- How to Build a Multi-Step AI Research Agent in Zapier
- How to Auto-Categorize and Route Support Tickets with AI and Paths
- How to Cut AI Task Usage in Zapier With Filters and Formatter
- How to Debug AI Steps in Zapier Using Zap History
How to Build an AI Messaging / Chatbot Automation (No Code)
Wire a chat trigger to an AI model and reply automatically, using n8n or Make, with no code and one short prompt.
An AI messaging automation is three pieces: a trigger that fires when a message arrives, an AI node that reads it and writes a reply, and an action that sends the reply back to the same chat. You can build the whole loop in n8n or Make without writing code. This guide uses n8n's AI Agent node as the main path and notes the Make equivalent at each step.
- An n8n account (cloud or self-hosted), or a Make.com account
- A messaging channel to listen on (Telegram, Slack, WhatsApp, or a plain webhook)
- A bot token, for Telegram this comes from @BotFather
- An OpenAI API key (or another supported model provider)
Step 1: Choose the messaging trigger
| Channel | n8n trigger node | What you need |
|---|---|---|
| Telegram | Telegram Trigger | Bot token from @BotFather |
| Slack | Slack Trigger | A Slack app with event subscriptions |
| WhatsApp Trigger | A Meta WhatsApp Business number | |
| Anything else | Webhook | A URL you POST messages to |
Step 2: Create the bot and add the trigger
In Telegram open @BotFather, send /newbot, and follow the prompts to name the bot and pick a username ending in bot. BotFather returns an API token. In n8n add a Telegram Trigger node, create a credential with that token, and set the update type to Message so the workflow fires on each new incoming message.
Step 3: Add the AI Agent node
Add an AI Agent node after the trigger. Click the plus under its Chat Model connection and pick OpenAI Chat Model, then add your API key (gpt-4o-mini is a safe, low-cost default). Map the incoming Telegram message text into the agent's input, and write a system prompt that sets the bot's scope so it stays on topic. The flow is short: Telegram Trigger to AI Agent to a Send Message action.
You are a helpful assistant for Setuproll users. Answer briefly and clearly in plain language. If a question is outside automation or no-code topics, say so politely and offer to help with something related. Never invent facts you are not sure about.Step 4: Reply, test, and go live
Add a Telegram node set to Send Message. Map the chat ID from the trigger so the reply goes to the right person, and map the AI Agent output into the Text field. Run the workflow once, message your bot, and confirm a reply lands within a few seconds. When it works, toggle the workflow Active so it runs around the clock.
Result: a live chatbot that reads each incoming message, drafts an on-brand answer with your chosen model, and replies in the same chat, all built from three connected nodes and one prompt with no code to maintain.
Related guides
How to Extract Structured Data from PDFs with n8n
Read a PDF in n8n, send the text to an LLM with a fixed schema, and write clean JSON rows to Google Sheets or a database.
How to Build a Simple AI Chatbot with Zapier Interfaces and Tables
Create a hosted chatbot trained on your own content using Zapier Chatbots, no website code needed.
Watch related tutorials
25:00
60:00
27:30
31:18
32:08
21:45New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.