SHIPIT by Dzhura · Telegram

Reminders and automations

Guide 4 of 6 · no server of your own
Overview · Why Telegram, and why this one · Kinds of bots and what you can do yourself · Your first bot: from an idea to /start · Reminders and automations · Talking to an agent in Telegram · Where the bot lives and why it is silent

An automation is a “bot” that listens to nothing. It simply writes to you in Telegram when something happens: an event in your calendar is near, an important email arrived, the morning came.

Bot or automation

BotAutomation
Who writes firstA person presses a button, the bot answers.A script writes to you on its own, on an event or a schedule.
Who it is forFor customers and for you.Mostly for you.
What it needsA token and code that runs continuously.A token and a chat id. The script can run on a schedule.

Ready-made scenarios

ScenarioWhat happens
Calendar remindersBefore each Google Calendar event, a reminder arrives in Telegram. You choose how early: 15 minutes, an hour or a day.
Morning summaryEvery morning a short list: today’s events and tasks from a sheet.
Important emailsWhen Gmail receives a message from certain people or with a certain word in the subject, you get a short message.
Birthday greetingsOn the birthday of a person in a sheet, a greeting goes to them by email and a reminder comes to you in Telegram.
Sheet row → calendar eventA new row with a date, time and name becomes an event in Google Calendar. Telegram is not needed here.

How it works without a server

The builder asks the agent to choose the simplest option without your own server:

The agent explains in one sentence why it chose that.

What you need to provide

For any Telegram scenario

The bot and the chat id

An automation writes through your bot, so you need the token from @BotFather (see the first bot) and your chat id: the number of the chat to send to. The agent shows how to find it. The easiest way is to ask it to add a command to the bot that replies with your chat number.

So the bot can write to you in private, first open it and press Start.

Three steps the agent finishes with

The agent ends its answer with exactly three setup steps that you do yourself. For Apps Script they look roughly like this:

  1. Open script.google.com and paste the code.
  2. Fill in the token and the chat id.
  3. Turn on the trigger and run a test.

For each step the agent says what to press and what should appear on the screen.

What is built into the task

Try it

Open the builder, choose Automation and the first scenario. It is the easiest path to your first Telegram notification.

← Your first bot: from an idea to /startTalking to an agent in Telegram →