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 choose a model “Flash” of Gemini, because they are the ones that consume the least credits. Then, display the field messagesand then the Item 1which is where we are going to work. Whom Role choose the option User.
Now comes the complex part. In the module text you have to write the following:
“You are an efficient personal assistant. Here is my list of events for today: (Insert the Aggregator ‘Text’ variable here). Give me a brief, motivating summary and tell me if I have any important free time or if I am very tight on time.”


Here, you have to make sure that where I put you (Insert the Aggregator ‘Text’ variable here) add the option from the options window text belonging to the text aggregator. Thus, when Make converts all the appointments obtained from the calendar into text, it will be this content that you send to Gemini.
4. Have the bot send you the summary


Before adding the Telegram module, click on Run eleven in the automation to check that everything is fine, and generate results that you can later add. Now adds the Telegram module called Send a Text Message or a Replyand link it to your bot using the token.
Now, in Chat ID you have to write your user ID within Telegram. You can obtain this through specific bots such as IDBot, UserInfoBot and the like. With this you will make your Telegram bot send the message to you.
Now comes the important part. Click on textand in the options related to Google Gemini that appear in the window that opens, browse by opening the folders Candidates, Content and Parts clicking on the down arrows to the left of each one, and inside choose the option text. By doing so, a route will be configured Candidates(): Content: Parts(): Text.


Now, press the button again Run Once that you have below to execute all the automation. When you do it, you will have to receive a Telegram message where you are given a summary of everything you have written down on the day you execute it. Obviously, make sure you have added things to the calendar even if it is a trial.
5. Configure when the automation is executed


When you have made sure that everything works well, click where it says Every 15 minutes next to the button Run eleven. To activate the option, click on the text to open a window with the configuration of when to schedule it.
Now, choose the option Daily so that the automation runs every day or once a day, and set the time the one you want to do it. You can add more hours if you want it to do it more times each day. When you have it, simply click on Save. That’s it, you have a secretary bot created.
In Xataka Basics | 64 free courses for AI with Claude, ChatGPT, Gemini and Copilot created by your own companies



GIPHY App Key not set. Please check settings