How to create a Telegram bot that summarizes your Google Calendar appointments every morning with AI

We are going to tell you how to create a Telegram bot that summarize your Google Calendar appointments and events each daymaking him a personal secretary who gives you a summary every morning. To do this, we will make the bot use artificial intelligence as Gemini, ChatGPT, Claude or whatever you prefer. To carry out this task we are going to use two third-party services. First we will use BotFather from Telegram to create the bot, and then we will go to 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, just one warning. This method is very easy and useful, but in the end you will be giving your calendar information to third parties. Google already has it, but you will also be sharing it on the Make platform, and that is something you should always keep in mind. First you must create the bot The first thing you should do is create a bot on Telegram with 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. Once the bot is created you must enter and run it with the /Start command so that it remains active, even if doing so does not respond to anything. Now get the API of an AI Now you need the API of an AI. We will use the Free Gemini APIwhich although it has some limits in its use, is more than enough for a little use. To get it go to the website aistudio.google.com and sign in with your Google account. When you do, go to Dashboard and click on API keys. in here, click on the option Create API key which you have at the top right. 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 “Secretary Bot”. When you create the project, you can now create the API. And by the way, if you want something more advanced, We have also explained payment alternatives to the Google API. In Basics you have articles where you can see the prices and how to get the ChatGPT APIthe Claude APIthe DeepSeek API wave Qwen API. Now create the workflow Now it’s time to create your workflow. For this, you will have to enter Make.com, and create a new scenario. This will take you to a screen where you just have to click on the add button to add the first module, and then to the right of each module click on + to add another adjacent one. But to do this, you will have to configure each module before chaining the next one. We are going to guide you and explain to you the four modules you should add and how to configure themas well as then scheduling the scenario to run every day at the time you want. 1. Add the calendar module To start, you have to create a new module. On the screen that opens, choose Google Calendarand in the options click on the module Search Events. You will have to sign in with your Google account. In the configuration window, you will have to add the following elements that we are going to list: Calendar ID: Choose the primary calendar or the one where you have the data of the meetings or elements that you want to summarize. Start Date: Paste the following: {{formatDate(now; “YYYY-MM-DD”)}}T00:00:00Z End Date: Paste the following: {{formatDate(now; “YYYY-MM-DD”)}}T23:59:59Z Single Events: In this field, choose the option Yes. When you have everything, click on Save. If you want, click below Run eleven so that Make takes a look at your calendar, and so in the next module you can put options related to the results obtained. 2. Add the text aggregator Now you have to add a next module chained with the calendar. In the applications press Toolsand inside click on Text Aggregator. Now, enter the module, and in the field text you will have to choose the options 1.Summary and 1.Start. If you get confused, just by clicking on the text field a window with suggestions will appear. In it, search for Google Calendar suggestions, and in the results click on the options Summary and startso that when filled in they appear with the number 1. If they do not appear, first do a Run eleven with the calendar module alone so that they appear when creating the Text Aggregator. 3. Add Gemini into the equation With what we have done so far, the automation analyzes your calendar and obtains the events. Now it’s the turn of send it all to Gemini so that it then generates the response. For this, choose the module Geminiand link the AI ​​using the API we obtained before. Once you have done it, it’s time to configure the module. In AI Model you have to … Read more

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.