Turn Telegram into a Lead Machine: Simple Chatbot Setup with OpenAI!

  Рет қаралды 5,351

Leon van Zyl

Leon van Zyl

Күн бұрын

#openai #gpt #flowise #telegram #chatbot
In this comprehensive tutorial, I'll take you through the process of adding a powerful OpenAI chatbot to Telegram. This chatbot, designed for customer support, not only answers queries about products and services but also efficiently generates leads. Watch as I demonstrate the chatbot in action, handling real-time conversations and capturing leads. Furthermore, I'll guide you through setting up your Telegram bot using BotFather and integrating it with OpenAI's API using Make.com. If you're looking to enhance your customer engagement on Telegram with AI capabilities, this video is a must-watch! Don't forget to like, share, and subscribe for more insightful content.
☕ Buy me a coffee:
www.buymeacoffee.com/leonvanzyl
📑 Useful Links:
Telegram Desktop App: desktop.telegram.org
Telegram BotFather: telegram.me/BotFather
OpenAI: platform.openai.com
Make.com: www.make.com/en/register?pc=l...
💬 Chat with Like-Minded Individuals on Discord:
/ discord
🧠 I can build your chatbots for you!
www.cognaitiv.ai
🕒 TIMESTAMPS:
00:00 - Intro
00:20 - Demonstration
01:15 - Telegram Setup
02:30 - Adding an OpenAI Chatbot to Telegram
02:58 - Setting up Make.com
04:53 - Adding OpenAI Chat Completion Module
08:26 - Adding a Flowise Chatbot to Telegram
11:27 - Change Telegram Bot Profile Pic

Пікірлер: 46
@historybufs
@historybufs 7 ай бұрын
This guy is awesome. what a fluent way he does everything. Always wait for the next tutorial. Thanks Leon
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you very much for the compliment 🙏
@vykintasglodenis6986
@vykintasglodenis6986 7 ай бұрын
I appreciate your free tutorials (keep it up!) but, I'm sorry, for this one I have to give you critical feedback for misleading people. This workflow is missing the key component-saving and passing on the GPT Assistant thread ID. Without the thread ID-the assistant responds to every message as if it's the first message in the conversation without being able to take the conversation context into account. Such assistants are pretty useless without such functionality. Nevertheless, I'm grateful to you for showing how to overall connect to Telegram.
@leonvanzyl
@leonvanzyl 7 ай бұрын
Ah yes, you are right. This solution can definitely be enhanced to store and pass around the Thread ID as well 👍.
@vykintasglodenis6986
@vykintasglodenis6986 7 ай бұрын
​@@leonvanzyl , yes! What I found out afterwards is that Flowise allows to pass on any value as the Flowise chat ID by just updating the HTTP POST Request content to: { "question": "{{1.message.text}}", "chatId": "{{1.message.chat.id}}" } This makes it so much easier than working with GPT Assistants directly as GPT Assistant thread IDs can be created just by OpenAI itself based on their pre-defined ID structure (meaning that you need to establish an extra database matching GPT Assistant Thread IDs with chat IDs from your channels (e.g. Outlook Email Thread ID, Messenger Sender PSID, Telegram Chat ID etc.). So this Flowise feature alone is gold. Thanks once again for your tutorial!
@user-yz1no3fo4c
@user-yz1no3fo4c 5 ай бұрын
@@leonvanzyl Leon I too have run into the same problem. When asking the bot questions in telegram, it treats each message as a new dialog. And then it turns out that the Telegram bot is absolutely useless. Please tell me how to fix it. Please give me recommendations, or better yet, a step-by-step instruction.
@omarabutouq2755
@omarabutouq2755 5 ай бұрын
Thanks a lot, Leon, you are basically the leader in KZfaq when it comes to Flowise learning. I really appreciate every minute you put in to help us in this journey. Will you create a video on how we can build AI persona chatbots? Who have functions like - Effective QnA - Link retrieval - Strategy recommendations?
@leonvanzyl
@leonvanzyl 5 ай бұрын
Thank you very much for the kind words 🙏
@agihub
@agihub 2 ай бұрын
amazing! thanks man
@RobertoFabrizi
@RobertoFabrizi 6 ай бұрын
Love it
@leonvanzyl
@leonvanzyl 6 ай бұрын
You're welcome
@user-yz1no3fo4c
@user-yz1no3fo4c 7 ай бұрын
Leon thank you for your videos, they are very useful. And a big request, please make a video instruction how the Flowise bot transmitted customer data to Telegram and Email. I will be very grateful to you if you make such a video.
@leonvanzyl
@leonvanzyl 7 ай бұрын
Great idea, thank you 👍
@noobicorn_gamer
@noobicorn_gamer 6 ай бұрын
How can we add a stripe paywall as well as adding saving and passing thread Id so it can run indefinitely to potential customers and cushioning the costs as well?
@leonvanzyl
@leonvanzyl 6 ай бұрын
I doubt that you'll be able to add a paywall within the chat prompt itself. It is definitely possible reuse the same thread, but the setup for this is quite complex. We could still use Make.com for this, or something like Voiceflow, where we first fetch the thread for the user from a database (like Airtable), and if a thread does not exist, we first need to create it. And then pass the thread to Flowise / OpenAI.
@BadBite
@BadBite 7 ай бұрын
awesome!!
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you 🙏
@mateussoutolima7876
@mateussoutolima7876 4 ай бұрын
Hi Leon, first of all I'd like to say thank you. As I'm a not a tecnical person, this videos are giving very powerful tools to make useful applications. I'd like to ask you a question about this video. I'm following your video step-by step and when I try to add the zoho node in my make application it doesnt show the same fields that appears in your video, actually it doesnt show any fields at all! Just the dropdown connection and the "show advanced settings" do you know whats happening? Do I have to make any configuration in Zoho before applying in make platform? Once again, thanks a lot!
@leonvanzyl
@leonvanzyl 4 ай бұрын
You actually need to trigger the flow once in order for the data to appear.
@makeaiua
@makeaiua 3 ай бұрын
Can i connect Instagram?
@PositiviG
@PositiviG 6 ай бұрын
Great thanks a lot. Do you plan to make more Videos about Flowise? Can you maybe show how to Update Flowise in Amazon AWS or in general? Would be great!
@leonvanzyl
@leonvanzyl 6 ай бұрын
Absolutely, I'm actually creating an updated series on Flowise. A lot has changed since I released the first crash course.
@hansvanwyk5740
@hansvanwyk5740 5 ай бұрын
Why do I get this error "RuntimeError [400] Bad Request: chat not found" is it possible to help?
@leonvanzyl
@leonvanzyl 5 ай бұрын
That means the Flowise chatflow does not exist.
@jbhearing6392
@jbhearing6392 7 ай бұрын
Absolutely love the videos as usual! Is there any way to add multiple choice selections/buttons in a chat flow?
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you 🙏. Unfortunately not at the moment.
@simonraj
@simonraj 7 ай бұрын
Thanks
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you very much 🙏
@navidslt6217
@navidslt6217 7 ай бұрын
Many thanks for the great work Leon! Is it possible to integrate an assistant API build in the playground using this method? 🙏🙏🙏
@leonvanzyl
@leonvanzyl 7 ай бұрын
It is possible, but incredibly complicated as it involves calling multiple API endpoints. Flowise makes it easy since we only have to call a single endpoint.
@user-yz1no3fo4c
@user-yz1no3fo4c 5 ай бұрын
I appreciate your free tutorials (keep it up!) but, I'm sorry, for this one I have to give you critical feedback for misleading people. This workflow is missing the key component-saving and passing on the GPT Assistant thread ID. Without the thread ID-the assistant responds to every message as if it's the first message in the conversation without being able to take the conversation context into account. Such assistants are pretty useless without such functionality. Nevertheless, I'm grateful to you for showing how to overall connect to Telegram. Leon I too have run into the same problem. When asking the bot questions in telegram, it treats each message as a new dialog. And then it turns out that the Telegram bot is absolutely useless. Please tell me how to fix it. Please give me recommendations, or better yet, a step-by-step instruction.
@leonvanzyl
@leonvanzyl 5 ай бұрын
You're 💯 correct. Sometimes I need to be selective in my tutorials on what I can realistically include without the video becoming to long. If there's a demand, I'll gladly do longer form videos. I would definitely store and retrieve threads based on the user 👍
@user-yz1no3fo4c
@user-yz1no3fo4c 5 ай бұрын
Leon and here in the comments can you tell me how to fix this problem. Not later in the next videos. And in the comment in text tell me how to fix this error. I think it will be useful to many people who will do further on this lesson. I will be very glad if you answer here how to fix this error. @@leonvanzyl
@ziayounasch
@ziayounasch 7 ай бұрын
I really like your content and the way you explain everything... I am stuck in deploying flowise on AWS EC2... Can you please make a video on that or can you please guide me... I really appreciate it... Thanks
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you! For interest sake, what issue are you having with EC2?
@ziayounasch
@ziayounasch 7 ай бұрын
@@leonvanzyl I am getting the following error: TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
@khalidkifayat
@khalidkifayat 7 ай бұрын
very useful video... why u deleted openai module and added flowise module, how does it effect tokens cost back and forth from models used.
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you 🙏. You can build some pretty cool chatbots with Flowise. It can add some custom functionality to OpenaAI (like the lead generation example I showed at the beginning). Also, many people would want to use Open Source models for this, especially for roleplay and persona chatbots. Again, this is very easy to build with Flowise.
@khalidkifayat
@khalidkifayat 7 ай бұрын
@@leonvanzyl oh ok i thought the reason of deletion was that Flowise is opensource and free to deploy while openai module is not.
@zainzahid3290
@zainzahid3290 6 ай бұрын
sir can we do it with gemini pro or any other opensource llm?
@leonvanzyl
@leonvanzyl 6 ай бұрын
You can definitely use different models. Although function calling is still limited to OpenAI, but you can still answer questions from vector stores using Open Source models.
@zainzahid3290
@zainzahid3290 6 ай бұрын
@@leonvanzyl thanks
@WellPiresAI
@WellPiresAI 7 ай бұрын
Nice job, mate! Are you considering to teach WhatsApp deployment too?
@leonvanzyl
@leonvanzyl 7 ай бұрын
Thank you! For sure, just trying to find an easier way to do it.
@dhirajkahol
@dhirajkahol 7 ай бұрын
Amazing@@leonvanzyl Really looking forward to WhatsApp integration, thanks 👍
@KhanhLe-pu5wx
@KhanhLe-pu5wx 3 ай бұрын
I mean stop using no code pls, it's suck
Integrating OpenAI Assistants with Websites using FlowiseAI
27:03
Leon van Zyl
Рет қаралды 25 М.
How To Create a GPT-4 Vision Chatbot For a Real Business ($5000)
27:22
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
Building an AI Sales Bot to Call Leads For Me LIVE
26:00
Liam Ottley
Рет қаралды 61 М.
How to Get ChatGPT to Make Phone Calls For You (Custom GPT Tool)
8:06
This AI Agent can Scrape ANY WEBSITE!!!
17:44
Reda Marzouk
Рет қаралды 45 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 551 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 519 М.
Лазер против камеры смартфона
1:01
NEWTONLABS
Рет қаралды 242 М.