step by step creating the bot and adding artificial intelligence to it

Let’s explain to you how to create your own AI bot on Telegramso you can interact with it at any time. In this way, the bot will be yours and you can put the model of artificial intelligence whatever you want, whether Gemini, ChatGPT, Claude or whatever. To carry out this task we are going to use two services. First we will use BotFather of Telegram to create the bot, and then we will use the service Make to create a workflow or workflow that adds an AI, which in the case of our step by step will be Gemini, but you can use any other. But before we start, I must remind you that even if the bot is yours, everything you write will be sent to the Make servers to process the workflow and the AI ​​you choose. Therefore, be careful with writing personal details that may violate your security or privacy, because you will be giving them to these two companies. First you must create the bot The first thing you have to do is create a bot on Telegram using BotFather. To do this, write a message to the bot @BotFather and write to you as if you were a new user. Type the command /newbot to create a new bot, to which you have to give a name to identify yourself and a unique username to access the bot whenever you want. When you do it, it will give you two things, first the username and address of your bot to access it, and second an access token with various figures and letters. You have to save this token to use later. In the message that Telegram will return to you, will also give you a link to the bot you createdwhich will basically be t.me/@botname. This will be important for later. Also you can use BotFather options to customize your botputting a profile image, a description or whatever you want. We have explained all this to you in our post about BotFather. Now get the API of an AI Now we have to get an API from an AI. We will use the Free Gemini APIwhich although it has some limits in its use, will be useful for some tests without spending. To get it go to the website aistudio.google.com and sign in with your Google account. When you do, in the bar on the left at the bottom click on Get API Key. Now you have to click on the option Create API key that appears at the top of the screen you have created. This will open a window where you have to create the project for which you are going to use it in order to identify it, for example “Bot Telegram IA”. When you create the project, you can now create the API. When you have created the API, you will see that it appears in the list of API keys. You just have to click on the left, below where it says Clueand a window with the API will open, starting with “AIza–“. Now create the workflow Now let’s create the workflow or workflow using the service Make. Within this program we are going to create a new scenario. We start by clicking on the initial + for the first step, for which you have to write Telegram and choose the option Watch Updates within the options related to Telegram that will appear. When you do this the first time you will have to create a webhook. Basically, it will be like creating a connection, and by doing so you will be able to give it a name and when establishing the connection, you will only have to type the Telegram bot token that BotFather gave us. Once the connection is established, open the Telegram bot that you created in the app, and click on Start. When you do this, the message /start will be written. When you do this, go back to make.com and, at the bottom, press the button Run eleven. This will simply test the connection with the bot. Now, click on the + button on the right of Telegram Bot to generate a new module, and you will have to choose the module to generate an AI response. Simply type the name of the AI ​​you have a token for, in our case Gemini, and choose the option that means generating a response. A window will open to configure your AI. In it, you have to establish a connection using the APIwhich is what we have done above. You will also be able to choose the model you want to use. Keep in mind that the more advanced the model, the more credits the AI ​​will use, and your free API will have limited credits. Now comes the most complex part of all. You have to go to the section messages of this window, and in Item 1, in the field Role you have to put User. Now, in Parts you have to fill out Item 1 by putting in Message Type the option textand in text just below choose option 1. Message: Text. As before we have already executed our project with the Telegram bot, when you click on the value you will get suggestions based on the results of the bot. In these suggestions you will see the 1. Message: Text. You will recognize it in the next window because it is where it says /start, which is what we wrote to the bot. Down in System instructions go to Promptsand in the value of Prompt 1 you also have to put 1. Message: Text. Below, in Response Modalities you have to **choose only the option textdeactivating Imagebecause with the API we will not be able to generate images in our country. Now we are going to create the third step, that of sending the AI ​​response to the Telegram bot. To do this, create a new module, look for the Telegram … Read more

How to create a Telegram bot that sends you a summary made by Gemini of each email you receive in Gmail and other emails

Let’s explain to you how to create a Telegram bot that sends you a summary of your emails emails, such as Gmail. Thus, when you receive a new email, whether from anyone or from specific senders or topics, an artificial intelligence will make a summary and send it to you. All this without knowing how to program nor have technical knowledge. This is not something you can do simply by asking artificial intelligence, and we are going to need a program that generates workflows or work flows. We will use Make.com, because it is very complete and easy to use. Besides, Make.com It has a free version that is perfect for taking the first steps, although with some limitations. In Make we will have to link any artificial intelligence, although we have opted for Gemini because it is easy to obtain a free API for it. And then, We have chosen Telegram because creating bots is easyand it only takes a few minutes. In the end, what you will need is an API from an AI, a Token key from a Telegram bot, and creating the workflow chain on Make.com. In the examples we have used Gmail because it is also easy to link to it. Get your Gemini API first The first thing we are going to do is get a google api to be able to use Gemini in our project. For that, go to the website aistudio.google.com and sign in with your Google account. When you do, in the bar on the left at the bottom click on Get API Key. Now you have to click on the option Create API key that appears at the top of the screen you have created. This will open a window where you have to create the project for which you are going to use it in order to identify it, for example Gmail Gemini. When you create the project, you can now create the API. When you have created the API, you will see that it appears in the list of API keys. You just have to click on the left, below where it says Clueand a window with the API will open, starting with “AIza–“. Set up the Telegram bot The first thing you have to do is create a bot on Telegram. For that you have to look for the “@BotFather” tool and write to it as if it were a new user. Use the /newbot command to create a new bot, giving it a name to identify yourself and a unique username to access the bot whenever you want. When you do it, it will give you two things, first the username and address of your bot to access it, and second an access token with various figures and letters. You have to save this token to use later. Start creating your project Now you have to go to Make.com and click on the option Create new scenario to create a new project. In the options choose the option Build from scratch to create an automation from scratch. From what we are going to do, you must understand that we will create an automation of several modules, each one of them different. These automations will form a chainso that the action of the first leads to the second, and that of the second to the third. Come on, the order in which we put them is important. Add your email module as a trigger You will go to a blank screen with a button with the plus symbol. Here, click on the + button and from the drop-down menu choose Gmail. Inside now click on the option Watch emails to configure the action of reading your emails. This will cause your automation to be activated every time you receive an email in Gmail. It is a trigger, which is the element that will start this automation. Now click on the button Create a connectionwhich will open a screen where you have to name the connection at the top, and at the bottom log in with your Gmail account to link it. You will have to log in and give the website permissions to access your email. Once the action has been added, you can filter the type of emails that this automation executes. Can choose emails from a specific folder or labelas well as other criteria, so that these are launched and read by the AI. You can also set some limits. This screen gives you the possibility to fully customize the experience depending on What type of emails do you want the AI ​​to summarize for you?. It is an important step, especially because you will be able to make it only perform this action with certain types of emails. For example, they can be from senders related to your work or a specific project. If you open the advanced settings either Advanced settingsyou can specify even more. For example, you can configure so that only runs with emails from a certain senderwith a certain subject, and many other characteristics. Now you can configure from what moment do you want the data to be processed. For example, you can choose From now on so that they are processed from the emails you start receiving from now on. You can also link other emails. For this, instead of the Gmail module you can use the Email module, which will allow you to connect with Google, with Microsoft for Outlook, or with others through IMAP. Outlook also has its own module. Now add the Gemini module Now it’s time to add the second module. To do this, click on the + button to the right of Gmail, and on the screen that opens choose the option Gemini. In the options that appear in the module that opens, choose where to put Generate a response. This will now open a key module, where you simply have to write the Gemini API Key that we have generated at … Read more

Two 19 -year -old kids put Spanish national security with a bot and a telegram channel. The reason: they bored themselves

It happened a few days ago. The National Police had arrested two young people by the Data filtration of Pedro Sánchez and other high positions of the State. A massive filtration that, In police wordsis a “very serious threat to national security.” Behind all this there is no large group of perfectly coordinated hackers, only two 19 -year -old Canarian kids and a bot that they sold on Telegram. @Akkaspace and @pakito. They are the nicks of the two authors of the filtration. Yoel (Akkaspace), the main responsible, is a computer student and was arrested at his home on July 1. Next to him also stopped Pakito (Cristian), who was aware of his friend’s activities and would have participated in helping him promote them. Yesterday July 3 They were releasedalthough they are being investigated for an alleged crime of terrorism and will have to appear in the played twice a month. A bot. It is the tool they have used to extract the data. The bot was in charge of tracking previously compromised databases. That is, they have taken advantage of existing vulnerabilities in companies and institutions. In Declarations to Eldiariosecurity expert Rafael López, says they have used OSINT, OR INTELLIGENCE OF OPEN SOURCESand it has not been a hacking as such. Yoel himself said in an interview he gave on Twitch with his face covered: With a bot that I have, with which I have taken everything basically. I take databases, Indexo, and people, if you buy the bot, searching for a full name, a phone number or a ID, you can access all the information. This is how I have done politicians. Filtration. The investigation began weeks ago in Telegram. @Akkaspace and @pakito used a channel with more than 90,000 members to start spreading personal data from public figures, although later they were closed and used other more minority channels. In the beginning it only affected seven personalities, but little by little they were filtering more data, getting to involve the president of the Government himself. The data contained in the filtration includes birth dates, telephones, ID numbers and even homes, although some were apparently outdated. Motivation. “We are two boring kids,” said Yoel on Twitch, which denies that there is an ideological motivation behind the filtration. “And as the issue of corruption is being uncovered lately, why don’t we get the information from those politicians and publish it? It is a lesson,” he said. Although it is not clear what led him to filter the data, everything indicates that there would be an economic motivation. Yoel sold the databases and the bot itself with which it extracted the data, which it charged in Bitcoins. An undercover agent. This is how they hunt. The National Audience car includes that an undercover agent “has managed to buy from the investigated access to the database that sold for 60 euros that have been paid in Bitcoins. “The second investigated, Cristian or @Pakito would be in charge of managing the cryptocurrency portfolio where they received the payments, although it has not transcended how much they won. Images | National Police in X In Xataka | Alcasec is not any youth hacker: he set up a Spanish criminal infrastructure that even had customer service bot

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.