How to build a Telegram AI bot with n8n – Step-by-step tutorial

preview_player
Показать описание
In this video, we’ll guide you through the workflow that integrates with Telegram to create an AI-powered chatbot. It uses OpenAI's Chat Model and Dall-E 3 to understand and respond to user messages, correct errors, and generate and send images based on user queries.

Get the workflow template for free:

More workflows and documentation for the OpenAI Chat Model integration in n8n:

About n8n
n8n is a source-available workflow automation tool designed for technical users, and with over 300 pre-built integrations and a general HTTP Request connector for anything with an API, n8n enables you to connect anything to everything.

With n8n you can move beyond simple one-step integrations to build multi-step workflows that integrate your tools exactly the way you want. Thanks to its fair-code distribution model, n8n will always have visible source code, be available to self-host, is free to use.

Рекомендации по теме
Комментарии
Автор

Thanks for the tutorial! The concept of these sub-workflows baffles me. There is no unique ID that identifies the second chain. How does the program know how to trigger that? And can it support multiple sub workflows?

envivomedia
Автор

Thanks for the tutorial although I'm hella confused. At 5:52 when I start typing, I don't get the option for the value :(

MyFukinBass
Автор

Hello I have used your tutorial to create a bot, but I have a question, can this bot be added to group chats and be used by the group chat users ?

CoinShiller
Автор

Why doesn't this system work when I send a message from Telegram, but only responds when I press 'test workflow'? How can I fix this?

tarikalpat
Автор

What about the reliability of the data?

Ceatoleiii